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.

444Chapter 20Open Source Web <str<strong>on</strong>g>Applicati<strong>on</strong></str<strong>on</strong>g> Servers20.2DOWNLOADING JBOSSJBoss 1 is a complete applicati<strong>on</strong> server. It provides a full, producti<strong>on</strong>-ready, J2EEenvir<strong>on</strong>ment. Be aware that as of this writing JBoss 4.0 has just passed the SunJ2EE certificati<strong>on</strong> tests, but even prior to the certificati<strong>on</strong> JBoss has been <strong>on</strong>eof the most widely used J2EE applicati<strong>on</strong> servers.A great deal of JBoss informati<strong>on</strong> can be found <strong>on</strong> the JBoss Web site. 2Visit the site’s download page 3 to download the product.NOTEVersi<strong>on</strong> 4.0 of JBoss has <strong>on</strong>ly just become available, so you will see us usingthe prior producti<strong>on</strong> stable versi<strong>on</strong>, 3.2.3. By the time you read this, however,versi<strong>on</strong> 4.0 will be the better choice. What we describe should apply equallywell to both.First off, you must choose what form of the product to download. Thechoice is really between a binary and source distributi<strong>on</strong>. Within that choice,you can choose between a number of compressi<strong>on</strong> methods. We will downloadand install a binary. Just click <strong>on</strong> jboss-3.2.3.tgz and save the file. Beforewe install, we need to c<strong>on</strong>sider some issues of management.20.3BE AN ENABLER, OR “LET’S BE CODEPENDENT!”People often give inadequate c<strong>on</strong>siderati<strong>on</strong> to the issues of management ofsoftware systems. This is especially true of Java systems, which are, by their nature,cross-platform. We have the luxury of dealing <strong>on</strong>ly with <strong>Linux</strong> systemshere, so we can make some practical suggesti<strong>on</strong>s most books ignore.1. JBoss is actually a combinati<strong>on</strong> of two distinct projects: JBoss, the EJB c<strong>on</strong>tainer and JMSserver, and Tomcat, the servlet and JSP server. You can install and use Tomcat al<strong>on</strong>e. We w<strong>on</strong>’tbother to do that in this book. We’ll install JBoss and use JBoss for everything. We are alsolazy typists who do not like to keep typing JBoss/Tomcat, so we’ll refer to it merely as JBossfrom now <strong>on</strong>. If you are deploying <strong>on</strong>ly servlets and JSP, then, by all means, download andinstall Tomcat <strong>on</strong>ly. It is part of the Apache Jakarta project.2. http://www.jboss.org/index.html3. http://www.jboss.org/downloads/

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

Saved successfully!

Ooh no, something went wrong!