Linked by Tony Arcieri on Thu 15th May 2003 00:46 UTC
Internet & Networking When you think of platforms upon which you would deploy a Java Application Server, FreeBSD probably isn't the first one that comes to mind. However, I hope to show in this tutorial how easy it is to deploy Apache Tomcat on a FreeBSD system, complete with a native build of the JDK.
Permalink for comment
To read all comments associated with this story, please click here.
Re: bsdrocks
by Bascule on Thu 15th May 2003 01:42 UTC

Just wondering why do you choice FreeBSD over Linux for the Java Server?

I wrote this article partly because FreeBSD gets such a bad rap in the area of Java support. We have been developing a JSP web site with a number of other groups around the country which allows volunteers to enter precipiation data they've collected. The data is then stored in a MySQL backend accessed via JDBC, then the data can be accessed or analyzed either from web pages or SOAP services.

As for why the server is running FreeBSD, it's simply what I chose as a personal preference. The codeveloped JSP data collection system came about long after I installed the server, but when it came time to deploy Tomcat I was surprised at how remarkably easy it was to do through the ports collection. On a decently fast system you should be able to complete all the steps in this tutorial in under an hour.

If you're looking to build a JSP server from scratch and performance is critical, FreeBSD probably isn't going to be your first choice. We have had no performance issues using FreeBSD as a JSP server (on a dual 866MHz Dell w 512MB RAM) but our site is relatively low traffic (approximately 1500 hits/day)