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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

466Chapter 20Open Source Web <str<strong>on</strong>g>Applicati<strong>on</strong></str<strong>on</strong>g> ServersSun. 18 We will take a quick walk through the installati<strong>on</strong> of the ApacheGer<strong>on</strong>imo Java applicati<strong>on</strong> server. Ger<strong>on</strong>imo not <strong>on</strong>ly runs servlets and JSP,but it is also, as we shall see in later chapters, a J2EE EJB c<strong>on</strong>tainer, so theinstallati<strong>on</strong> part of this chapter is important for using the examples andtechnologies covered in the remaining chapters.Ger<strong>on</strong>imo is a complete applicati<strong>on</strong> server. It provides a full, producti<strong>on</strong>ready,J2EE envir<strong>on</strong>ment. It is the stated goal of the Ger<strong>on</strong>imo project to passthe Sun J2EE certificati<strong>on</strong> tests. Such certificati<strong>on</strong> will, in all probability,quickly make Ger<strong>on</strong>imo <strong>on</strong>e of the most widely used J2EE applicati<strong>on</strong> servers.A great deal of Ger<strong>on</strong>imo informati<strong>on</strong> can be found <strong>on</strong> the Ger<strong>on</strong>imoWeb site. 19NOTEAs of this writing, the project was just nearing the certificati<strong>on</strong> process. Only themilest<strong>on</strong>e releases were available for downloading. By the time you read this,however, a fully certified versi<strong>on</strong> will likely be producti<strong>on</strong>-ready. There may beslight differences in the download and installati<strong>on</strong> procedures. Be sure to followthe instructi<strong>on</strong>s from the Web site and any readme files for the most up-to-dateinformati<strong>on</strong>.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 two compressi<strong>on</strong> methods, zip or tar/gzip. While thefirst is typical for Windows distributi<strong>on</strong>s and the sec<strong>on</strong>d for <strong>Linux</strong>, you canchoose either, as <strong>Linux</strong> has utilities for decompressing both. More importantly,the binaries are Java JAR files so they are not tied to a particular operating system.We will download and install a binary. Just click <strong>on</strong> the tar.gz filenameand save the file.If you haven’t read the previous secti<strong>on</strong>s because you were going to skipJBoss and just use Ger<strong>on</strong>imo, please go back and read Secti<strong>on</strong> 20.3. It dealswith administrati<strong>on</strong> and privileges for setting up your installati<strong>on</strong>, and you’llwant to know that for this chapter’s installati<strong>on</strong> discussi<strong>on</strong>, too.18. As of this writing, there was still a legal hurdle to overcome, since Sun requires derivativeworks to be branded and compatible, whereas the Apache license places no such requirements<strong>on</strong> its derivative works. This may be resolved by the time you are reading this.19. http://ger<strong>on</strong>imo.apache.org/

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

Saved successfully!

Ooh no, something went wrong!