Chapter 1. Installing and Running JBoss
Note
In this chapter:
We will start by installing JBoss and getting the server up and running. You’ll be surprised by how easy it is to work with JBoss. It doesn’t matter whether you’re on Linux, Mac, or Windows; you can get the full JBoss application server running in just a few minutes. So, let’s get going.
Installing the Server
Installing JBoss is so easy that new users often think they are missing something. But don’t mistake this simplicity for lack of power or configurability. Before we get started, you’ll need to make sure you have either Java 1.4 or Java 1.5 installed on your machine. That’s the only prerequisite for JBoss 4, so if you are all set we’ll get started.
How do I do that?
You can download the latest JBoss version, currently 4.0.2, from the JBoss download page at http://www.jboss.org/downloads/index. Once you choose the version of the JBoss application server you want, you’ll be taken to the SourceForge.net page to do the actual download. When you get there select one of the prebuilt binary distributions. For JBoss 4.0.2 look for a file named jboss-4.0.2.zip. You’ll also see jboss-.4.0.2.tar.gz and jboss-4.0.2.tar.bz2 archives. If either of those formats works better for your platform, feel free to use it instead.
Note
We use Java 1.4 in most examples, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access