yegor256
yegor256

Reputation: 105193

Glassfish or Tomcat+OpenEJB? Which variant is better for a small application?

I have a small Java2EE application, which is planning to grow in time (not very soon). Now I'm trying to select the optimal free open-source production environment for it. I have two variants so far:

The second variants looks more lightweight for me, moreover I use embedded OpenEJB for automated testing. What would you recommend for me? Am I going the right way?

Upvotes: 1

Views: 316

Answers (2)

yegor256
yegor256

Reputation: 105193

It turned out that Tomcat+OpenEJB (with OpenJPA) is much easy-to-configure variant than GlassFish. Especially in a test-intensive project, like mine.

Upvotes: 1

Eugene Kuleshov
Eugene Kuleshov

Reputation: 31795

Tomcat + Spring. Just skip the EJBs. It will save you some development time, because you won't have to deploy your code to the app server in order to run tests.

Upvotes: 1

Related Questions