Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 947669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:07:00+00:00 2026-05-15T23:07:00+00:00

can we replace Glassfish with Tomcat/OpenEJB for lighter applications? What is the performance of

  • 0

can we replace Glassfish with Tomcat/OpenEJB for lighter applications?
What is the performance of OpenEJB comparing to glassfish as EJB container.

What is the restrictions of OpenEJB instead of glassfish?

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:07:00+00:00Added an answer on May 15, 2026 at 11:07 pm

    I guess the question is about the runtime environment but still, I don’t understand what lighter application does mean. Memory footprint? Startup time? Deployment time? What problem do you actually have? And please define light.

    For what it’s worth, I consider GlassFish 3 as a light runtime and my experience with it is very positive. From the product data sheet:

    Oracle GlassFish Server 3 implements the OSGi runtime, which allows features to be dynamically added to the Java server as needed, and for the smallest possible Java stack to be deployed to support applications. This helps to keep the footprint as small as possible by loading only the modules required to service deployed applications—improving startup time and reducing resource utilization.

    Second, I personally don’t like the Frankenstein approach, I believe that the glue between all parts that you get with a real application server is part of the added value, that’s actually why I use an app server.

    Third, I never benched OpenEJB, I used it for testing only and never planned to use it for production, mostly because of its bad reputation. See this comment about Geronimo’s performances on TSS (from Hani Suleiman, don’t be surprised if it’s caustic):

    I’d imagine that saying that the EJB
    tier is ‘acceptable’ is about the
    nicest thing you could say.

    From what I know, geronimo’s ejb code
    is based off openEJB, which has,
    historically, bean the worst container
    you could possibly find. You’d have to
    look pretty hard to find it too, only
    to be filled with various degrees of
    regret/rage once you achieve that
    dubious goal.

    It’s not surprising that G’s
    performance will always be sub-par.
    The frankenstein approach of software
    building is a great recipe for bad
    performance. Sure, you’ll have lots of
    pretty diagrams, great looking
    dependency graphs, and loose coupling.
    All of which are fairly irrelevant to
    users who want a coherent appserver
    that they can treat as a black box.

    Things might have changed, OpenEJB has probably improved, at least a bit, but still:

    • OpenEJB doesn’t fully support EJB 3.1.
    • Tomcat + OpenEJB is still not a full Java EE implementation, you might still have to add some pieces to your creature (not even mentioning Java EE 6).
    • And what about the administration, clustering, etc?
    • If you don’t need the full Java EE 6 profile, there is the Java EE 6 web profile
    • I’m happy with GlassFish 3, I don’t find it “heavy” (and I suggest to try it).
    • I know it can perform well.

    For all these reasons, I wouldn’t consider Tomcat+OpenEJB instead of GlassFish, especially if there is no problem to solve.

    Related questions

    • Which technologies does Tomcat support
    • What is an Enterprise Java Bean really?
    • Real world comparisons of Glassfish and JBoss 5?

    See also

    • GlassFish 2 vs. Tomcat 6
    • Putting GlassFish v3 in Production: Essential Surviving Guide
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can replace values as array by replace in javascript. I want done replace
How can replace arabic number with latin number as that doesn't change number into
How i can replace any character except 0-9 a-z and and array of some
so 1GvG:s/..../g can replace over an entire buffer However, suppose I have multiple vim
How i can replace some characters when user type a sentence in EditText? For
I need to know how I can replace the last s from a string
I was wondering if there is any way that I can replace substrings within
Can I replace the maxlength attribute with something in CSS? <input type='text' id=phone_extension maxlength=4
How can I replace caracters on the fly when using sed ? Example :
How can I replace all the occurrences of the $keyword within a string without

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.