|Astrient 101: Java, Tomcat, Linux|
Wed 10/21/2009 6:00PM
HostJ2ME.com and WorldDeveloper.org (CliqCafe hosted) are Java web applications running on Tomcat 6 on Centos. Specifically:Java is stable, has many free and open source libraries and components, has a robust API, and is very easy to use.Linux offers great stability, a small footprint, a familiar command line with great tools for managing processes, resources and files, and has a low cost of maintaining with many hosting options.Tomcat is free, mature, and provides all of the functionality we need. Although we are essentially a Java shop, we do not see the need for complex application frameworks or a soup of XML files.
[root@HostJ2ME ~]$ cat /proc/version
Linux version 2.6.24-19-xen (buildd@king) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Sat Jul 12 00:15:59 UTC 2008
[root@HostJ2ME ~]$ java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
This environment has been stable for years, and we often operate our servers for hundreds of days at a time before rebooting or restarting services. Using Slicehost.com, we are able to clone or backup servers with little effort. Here are the issues that we considered when choosing the technologies for the two aforementioned applications.