13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

464Chapter 20Open Source Web <str<strong>on</strong>g>Applicati<strong>on</strong></str<strong>on</strong>g> Servers20.5.4 IDE Integrati<strong>on</strong>Another piece of software you might want to look at is JBoss-IDE, 15 an Eclipseplug-in for JBoss. The software is not downloadable from the footnoted Website, it is available <strong>on</strong>ly from the Eclipse Install/Update manager, so run yourcopy of Eclipse and install it. We will not cover JBoss-IDE here, but if you useEclipse as your development platform, JBoss-IDE is very useful for managingand deploying EJB’s, servlets, and JSP.20.6DISPOSITION OF FORCESNot to go all Sun-Tzu <strong>on</strong> you or anything, but if you want to win the war, youmust c<strong>on</strong>trol the initiative. In other words, move <strong>on</strong>ly when you are ready.Deploying software into JBoss could not be easier if you get everything readybefore you begin.You see, the key is to create a correctly c<strong>on</strong>figured WAR file, as abuild.xml file from our project does (Example 20.6).If you look at the deploy task, you will see that it simply copies the WARfile to a particular directory under the Web server 16 and, it turns out, that is allyou need to do to deploy to JBoss. JBoss will notice the new WAR file, stopany existing versi<strong>on</strong>, and start the new <strong>on</strong>e. It all depends <strong>on</strong> getting the WARfile right.20.7APACHE GERONIMOAn up-and-coming alternative to JBoss is Apache Ger<strong>on</strong>imo. Part of the ApacheSoftware Foundati<strong>on</strong>’s set of projects, Ger<strong>on</strong>imo is an Open Source, Apachelicensed17 implementati<strong>on</strong> of the J2EE specificati<strong>on</strong>. Furthermore, Ger<strong>on</strong>imoaims to be an Open Source J2EE implementati<strong>on</strong> that is J2EE-certified by15. http://www.jboss.org/developers/projects/jboss/jbosside16. Note that that’s normal for development. For integrati<strong>on</strong> and producti<strong>on</strong>, either some<strong>on</strong>eauthorized will run the same build <strong>on</strong> the target, or (more likely) the WAR file will be “formally”built, tagged, and copied to the test or producti<strong>on</strong> server. We’ll talk more about that whenwe get to applicati<strong>on</strong> maintenance issues.17. Most notably, it doesn’t require any<strong>on</strong>e to open the source of their changes or customizati<strong>on</strong>sif they improve <strong>on</strong> an Apache software project, unlike the GPL which does.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!