Network Computing is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Sun's Java Application Server 8.1: Page 2 of 3





Application management in Sun's DAS



Click to Enlarge

Using Sun's latest version of NetBeans, version 4.1, I was able to quickly develop a J2EE application that utilized JSP and JSTL (Java Server Tag Library) to communicate with a custom EJB (Enterprise Java Bean) handling communication with NWC Inc.'s inventory stored in an Oracle 9i database. I was able to easily deploy the application to the cluster using DAS.

Testing HADB was a simple process. I deployed a simple JSP, which printed out information regarding the server it had come from (test4, test2) and session data. Via the same JSP, I was able to add session data after deploying it to the cluster. After adding unique session data, I stopped the instance of 8.1 running on test2. I then tried to add more session data to on the page accessing test2 and was immediately served by test4, but session data was intact, proving that HADB was working correctly.

Also cool and new in AS 8.1 is support for JMX (Java Management eXtensions) Mbeans. While running the JMX Console that comes with J2SE 5.0, I was able to monitor all instances of the application server. Although not very useful in the lab environment, in a larger J2EE-based infrastructure, JMX is a powerful mechanism for monitoring multiple J2EE-based applications and technologies and is supported by most of the J2EE application server vendors as well as some J2EE-specific applications.

In older versions of Sun's application server, load balancing and HADB were only available in the enterprise edition (EE). With the new pricing structure of Application Server 8.1, load balancing capabilities have been moved into the Standard Edition (SE), while HADB capabilities remain an EE feature. At an easy to swallow $2,000 per CPU for SE, that's a lot of power, and the $10,000 per CPU for EE is still only a third of a comparable offering from IBM.