Java Reference
In-Depth Information
20.5.4
Another piece of software you might want to look at is JBoss-IDE, 15 an Eclipse
plug-in for JBoss. The software is not downloadable from the footnoted Web
site, it is available only from the Eclipse Install/Update manager, so run your
copy of Eclipse and install it. We will not cover JBoss-IDE here, but if you use
Eclipse as your development platform, JBoss-IDE is very useful for managing
and deploying EJB's, servlets, and JSP.
IDE Integration
20.6
D ISPOSITION OF F ORCES
Not to go all Sun-Tzu on you or anything, but if you want to win the war, you
must control the initiative. In other words, move only when you are ready.
Deploying software into JBoss could not be easier if you get everything ready
before you begin.
You see, the key is to create a correctly configured WAR file, as a
build.xml file from our project does (Example 20.6).
If you look at the deploy task, you will see that it simply copies the WAR
file to a particular directory under the Web server 16 and, it turns out, that is all
you need to do to deploy to JBoss. JBoss will notice the new WAR file, stop
any existing version, and start the new one. It all depends on getting the WAR
file right.
20.7
A PACHE G ERONIMO
An up-and-coming alternative to JBoss is Apache Geronimo. Part of the Apache
Software Foundation's set of projects, Geronimo is an Open Source, Apache-
licensed 17 implementation of the J2EE specification. Furthermore, Geronimo
aims to be an Open Source J2EE implementation that is J2EE-certified by
15. http://www.jboss.org/developers/projects/jboss/jbosside
16. Note that that's normal for development. For integration and production, either someone
authorized will run the same build on the target, or (more likely) the WAR file will be “formal-
ly” built, tagged, and copied to the test or production server. We'll talk more about that when
we get to application maintenance issues.
17. Most notably, it doesn't require anyone to open the source of their changes or customiza-
tions if they improve on an Apache software project, unlike the GPL which does.
Search WWH ::




Custom Search