Ok, I have downloaded JBoss on a SUSE Linux machine. I also downloaded Apache & Tomcat. Do I need Apache and/or Tomcat for JBoss? The web page says it comes with Jetty as the Web Engine. But the Instructions say how to install with a Tomcat installation already active. Maybe I am just not understanding what an application server does as far as servlets/jsp, http, etc. But I want to learn, that is why I downloaded Jboss, to give it a go.
If you already have JBoss installed you may as well get rid of Tomcat IMO. That from the POV that Jetty is known for having better performance than Tomcat. As to what you need, that depends on what you want to do. If you want to couple a high-performance http server serving static pages with the JBoss J2EE server, why not add Apache into the equation? But JBoss will run quite happily without either Tomcat or Apache. As to understanding what the app server does, I'm not sure whether you want to find out about J2EE or whether you want to find out about how JBoss does what it does, but either way I would recommend paying for and downloading the documentation from jboss.org .
I haven't even installed JBoss. I wanted to wait because I have downloaded Apache, Tomcat and JBoss, and didn't want to install something that would cause problems with something else. So I decided to wait until I found out what I wanted to do, and then install what I needed. I won't be able to work on it until later tonight because it is my home PC. But I will keep you posted.
The one I downloaded said this: (includes HTTP server, JSP/Servlet, EJB, CMP2.0, JCA, IIOP, Clustering, JTS, JMX and more) Is the HTTP Server Jetty and what part of that equation handles Servlet and JSP requests? Is Jetty the container?
Joined: Feb 22, 2002
I think the package I downloaded was JBoss ejb container and Jetty web container. What I think is cool is they're both in the same JVM. I think Apache is a C program and Tomcat is ( pardon my language ) kludged on. Tomcat runs in a JVM. [ September 18, 2002: Message edited by: Rufus BugleWeed ]
Joined: Sep 26, 2000
The Jetty web container has been amalgamated into JBoss 3.x - which is why I don't see it as necessary to use a separate Tomcat with it (unless of course you really really like Tomcat). I think the JBoss built-in web container (nee Jetty) does a magnificent job.
If you are new to JBoss and EJB, I suggest this tutorial that I wrote. It has been ported to JBoss, Resin and WebLogic. 5 part tutorial series JBOSS Port Here is what people think:
Achim from Germany writes: "I read your white papers "Introducing EJB-CMP/CMR" part 1 and part 2.... These papers are the best start for EJB.... Now I'm very interested in part 3 (and 4), but I can't find them on the developerWorks Homepage ..." (They are out and ported to JBoss and WebLogic.) Pete from North Carolina writes: "I've been working through your "Introducing EJB-CMP/CMR" tutorials. Great stuff. Well presented - simple and straight forward. Really learning a lot. " Patrick from the U.S.A. writes: "Great Job on part 1 and 2 of your tutorial on CMP/CMR and EJB QL. When will part 3 and 4 be out.? Will it be able to run on JBoss Resin, and Orion." (It is done! Part 3 and 4 works with WebLogic and JBoss. I got the examples working with WebLogic and Peter got them working with JBoss. --Rick) Chintan writes �...thank you for putting out fabulous quality CMP/CMR tutorial. This is the best tutorial I have ever seen. Complete, concise and clear. (Where is the source?) (The source code is at the bottom of this page.)� Paul Kavanagh writes "I've just read through your (excellent) CMR tutorial..." Rahul Pawar writes "Thanks Rick for such a fine tutorial. It was great to learn from your writing. Keep writing so that many of us can benefit from your articles." Martin Kempkes from Germany writes "thanks for your tutorial on EJB CMP/CMR. I read them all and was able to program my first simple application within a few days. Nice work!"