views:

164

answers:

2

My app have this architecture:

  • struts
  • spring
  • dwr
  • hibernate

Now we use apache tomcat 5.5.28. We wanna switch to Glassfish for performance.

My question are:

  • anyone know if there are problem for porting using this 4 framework?

  • anyone know a guide for porting? or ... there are an official guide for porting from tomcat to glassfish?

A: 

Deploy the app (WAR / EAR) on glassfish. You're done. There shoudln't be a need to modify something.

Which container specific things are you using? JNDI Connections...? You have to redefine this settings in glassfish. Read the documentation, this should be easy to solve.

Martin K.
+5  A: 

Now we use apache tomcat 5.5.28. We wanna switch to Glassfish for performance.

Don't misinterpret me, I really like GlassFish but... while Grizzly seems to behave very well (see here, here or here), are you really sure you'll get that better performances? Most of time, performance problems are in the applications and changing the application server won't magically solve them.

Anyone know if there are problem for porting using this 4 framework?

I didn't experiment this myself but well, porting J2EE stuff shouldn't be a problem unless you are doing non standard things.

Anyone know a guide for porting? or ... there are an official guide for porting from tomcat to glassfish?

Because you are asking for, have a look at the Migrate2Glassfish page, they have a migration guide (couldn't access it tonight so I can't say anything about it). But, creating the resources your application requires (e.g. DataSource) and deploying the war shouldn't be that complicated.

Pascal Thivent