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 fre开发者_Go百科e open-source production environment for it. I have two variants so far:
- GlassFish v3
- Tomcat + OpenEJB
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?
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.
It turned out that Tomcat+OpenEJB (with OpenJPA) is much easy-to-configure variant than GlassFish. Especially in a test-intensive project, like mine.
精彩评论