[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss Web vs Tomcat?

PeterJ do-not-reply at jboss.com
Mon Jan 15 10:30:28 EST 2007


A few answers:

1) I don't know.

2) Yes. If you look at JBoss AS 5.0 beta 1, you will see JBoss Web in use (look for the notification that it could not find the shared object and is thus not running Apache Portable Runtime).

3) As noted in #2, JBoss Web is part of JBoss AS starting in 5.0. Though you can run dual servers, with Web handling static, JSP and servlet content and AS handling EJBs.

4) Since there is only one server, you place things in the deploy directory as usual.  If running dual server, the war files go into the deploy directory under Web and EJB jar files go into the deploy directory under AS. You, of course, have to properly configure the JNDI in your web applications in Web to look up the EJBs in AS. Also, you would want to move war files out of ear files so they can be separately deployed. Finally, if you have supporting/utility jar files, they might have to go into both locations depending on which classes use them. Note that this is no different that what you would currently have to do if you decided to front end JBoss AS with Tomcat (or Jetty) running on a separate system. (While this is possible, I do not know of anyone actually doing this.)

5) I don't know.

For the questions I don't have the answers to, you might want to ask on the JBoss Web forum.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001819#4001819

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001819



More information about the jboss-user mailing list