- This topic has 3 replies, 2 voices, and was last updated 21 years ago by Riyad Kalla.
-
AuthorPosts
-
nalbionMemberHi,
I’m trying to get started in J2EE, and want to deploy an Enterprise Application Project that includes a Web Module Project, and an EJB Module project.
I can deploy a Web Module project okay, but for EJB and Enterprise App projects myEclipse, does not show Tomcat (only JBoss) in the servers in the “Project Deployments” dialog. I think I’d rather use Tomcat than JBoss, as it seems to have a better web-based admin tool (and I’ve still not been able to get Tomcat properly configured on my PC)
Thanks,
Nick
Riyad KallaMembernalbion,
I do not believe that Tomcat supports the necessary J2EE functionality (EJB container?) required for an EAP, which is why I think ME is hiding it from you.
nalbionMemberReally? I’m very confused. I thought that Tomcat was the EJB container that sat on top of Apache?
(It’s very likely that I’m wrong)
Riyad KallaMemberI think we need some background info here.
Apache HTTPD == Apache HTTP server. Used to serve static html pages. Has facilities to provide cgi script execution (for old-school dynamic content) as well as simpler things like server side includes.
Tomcat == A Servlet Container (follows the Servlet 2.3 (Tomcat 4) and Servlet 2.4 (Tomcat 5) specification for hosting Serlvets, don’t forget, JSP’s get compiled to servlets too). This used to be called JServe or JServ something like that, A LONG time ago, and you HAD to link it into Apache and register the file type of “jsp” with it. But now, since Tomcat 3, it has had the ability to host up static HTML pages as well and support SSI. Tomcat is not the best server if you are ONLY serving static content, but it provides these functionalities so it can stand on its own.
JBoss == An J2EE server that follows the J2EE 1.3 specification (I don’t know which ver supports the new 1.4 spec) that is capable of hosting EJBs as well as servlets, jsps, etc. It makes USE of Tomcat or Jetty as its servlet container, but provides the EJB Container functionality around the servlet functionality. There is a lot more to EJBs then there is to simple servlet hosting.
Sooo, when you are in ME and go to deploy your Web Module (Servlet/JSP) it will let you select from any Servlet Container, because that is what a web module contains. But if you go to deploy an enterprise application, that means you will need a server that can handle EJB’s and such, so it will show you JBoss, BEA Weblogic, etc. only.
I hope this made sense. I hope, even more so, that I am correct and didn’t just fill your brain full of garbage 🙂
-
AuthorPosts