Possible Duplicate:
How to EJB 3.1 Deployment in Tomcat 5.5.x

Blockquote

Any buddy please help me i have an web space with apache tomcat 5.0 jsp 2.0 and jvm 1.6 and i want to use ejb in my project so please tell me what should i do that i can use ejb 3.1 in my web space which have these resources listed below

i) Tomcat - 5.5.xSupport
ii)JDK - 1.6.x Support
iii)JSP/servlet - 2.0 Support

so how can i use EJB with web application with this available resources i mean what should i do to these things

Please Help me...!!!

有帮助吗?

解决方案 3

As Bozho says, try OpnEJB, but go for JBoss or Glassfish if you can. Tomcat is a JSP container and therefore not meant to this kind of use. EJB run on Application servers.

其他提示

It's not possible, go download JBoss AS or GlassFish. Tomcat implements just the web container part of Java EE

It's definitely possible and in some cases I prefer the option of using a lightweight container instead of a more heavy weight application server. Having said this though the version of Tomcat your using is too old and won't work anyway without some serious messing about with the container (changing some JARs that come preinstalled with Tomcat), even with that I'm not sure it will work.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top