This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Downloaded JBoss, Now what? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Downloaded JBoss, Now what?" Watch "Downloaded JBoss, Now what?" New topic
Author

Downloaded JBoss, Now what?

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.


GenRocket - Experts at Building Test Data
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
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 .
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Thanks George. That helps out a lot. I will probably pay for some docs.
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
I'm about the same place as you Greg, have you installed the template project? I haven't.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9048
    
  10
When you download JBoss, you should download JBoss with Tomcat or JBoss with Jetty. That should be sufficient to get started.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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?
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
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 ]
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
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.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Thanks George. I guess I am good to go now. ). Although I probably will install Tomcat and just run it when I want for educational purposes. No reason not to know everything.
Rick Hightower
Author
Ranch Hand

Joined: Feb 20, 2002
Posts: 350
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!"


If you have a hard time getting started with JBoss, you might want to try Resin EE. I wrote a step by step (very detailed and easy to follow) as a supplement to the first four parts.
The step by step tutorial utilizes XDoclet.
Be sure to check it out....
http://java-tools.eblox.com/index.php?ResinCMPCMRXDocletTutorial


Rick Hightower is CTO of Mammatus which focuses on Cloud Computing, EC2, etc. Rick is invovled in Java CDI and Java EE as well. linkedin,twitter,blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Downloaded JBoss, Now what?