[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss Web vs Tomcat?
By the way, to connect Apache to Tomcat, is mod_jk or is mod_proxy_ajp recommended by JBoss? Which is preferrable? What are the tradeoffs or differences between the two, from the perspective of JBoss? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003094#4003094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss Web vs Tomcat?
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=bbop=viewtopicp=4001819#4001819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss Web vs Tomcat?
A couple more questions: 1) Can you still use things like .htaccess in JBoss Web to get the full functionality that Apache offers in terms of its configuration power and flexibility? Or is .htaccess not possible in JBoss Web? 2) Does JBoss Web replace jbossweb-tomcat55.sar, or does it simply connect to it? (i.e. Will jbossweb-tomcat55.sar be necessary in the deploy directory of a JBoss configuration that's using JBoss Web?) 3) The following page says JBoss Web is a standalone web server. It looks like you start it up separately, you deploy things to its own deploy directory...if it's so standalone, do you front JBoss AS with JBoss Web (sort of like how you from Tomcat wth Apache), or do you have two distinct servers running simultaneously - JBoss AS and JBoss Web? I hope it's the former option because of my next question... http://labs.jboss.com/file-access/default/members/jbossweb/freezone/install/index.html 4) If currently I deploy EARs to JBoss AS that contain JARs and WARs, how would I make it work if the WARs now need to be put in the JBoss Web deploy dir rather than the JBoss AS deploy dir, if there are two separate servers running? 5) If there are not two separate servers running and you in fact connect JBoss Web to intercept requests to JBoss AS or something like that, what's the benefit to connecting JBoss Web to JBoss AS, versus connecting Apache to jbossweb-tomcat55.sar? The performance graph on the JBoss Web homepage only compares JBoss Web to Tomcat alone...I wonder where Apache+Tomcat would lay on that graph...probably up there with JBoss Web? I say this because Apache+Tomcat is supposed to seriously outperform Tomcat alone when serving static content...so what's the benefit to connecting JBoss Web to JBoss AS, versus connecting Apache to jbossweb-tomcat55.sar? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4001598#4001598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss Web vs Tomcat?
JBoss Web is the new web server based on the Apache Portable Runtime. This web server handles not only servlets/JSPs, but can also be configured to run PHP (I've done that) and .Net (I haven't done this yet). The jbossweb-tomcat55.sar is a version of Tomcat 5.5 used by JBoss to handle static and dynamic web content (html, css, gifs, jsps, servlets, etc). This is not JBoss Web. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992472#3992472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss Web vs Tomcat?
See the jbossweb section in the jboss.org projects for more info as well. http://labs.jboss.com/portal/jbossweb/?prjlist=false View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992476#3992476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user