See correction below
Web services promise a brave new world of easy software integration using XML and the Web. Because they’re based on XML, Web services have the potential to serve as platform-independent glue between applications coded in different programming languages and running on disparate operating systems. Many describe this ability as the Holy Grail of distributed computing. Not even Java in its purest form can match the ease of integration and distributed data interchange that Web services offer.
IT organizations have no shortage of ways to implement Web services. Open source offers dozens of tools to do it, including Apache, Perl, Python, and PHP. Microsoft provides the .Net framework. And Java shops, of course, can implement Web services on the same platform they’re using to run their current Web applications, the J2EE application server.
For Java developers the evolution to Web services simply seems the next logical step. Not surprisingly, then, commercial J2EE platform vendors have also jumped on the bandwagon, weaving special Web services capabilities into their development tools and application servers. How important are these features in smoothing the creation and deployment of Web services? How real are their advantages over open source? Which J2EE application server is the best platform for Web services?
To find out, we rounded up the two leading commercial J2EE servers, BEA Systems’ WebLogic and IBM’s WebSphere, plus a solid also-ran, Sybase’s EAServer, and the most popular open source J2EE server, JBoss, and we put them to the test. Deploying Web services on each of these platforms, we evaluated their related management capabilities as well as their support for the core Web services standards, SOAP, XML-RPC (Remote Procedure Call), WSDL, and UDDI. We also looked for flexible configuration and a set of features, such as support for JMX (Java Management eXtensions), JNDI (Java Naming and Directory Interface), JMS (Java Messaging Service), and JTA (Java Transaction API), that we would expect in any enterprise-class Java platform.
In our test scenario, we implemented a multitier supply chain composed of four Web services. One service allowed a retail customer to buy a product from a retailer. A second service allowed the retailer, in turn, to purchase wholesale goods from a supplier. A third allowed the wholesaler to purchase raw materials from a parts supplier. Finally, a fourth service allowed all of these parties to track their shipments. We coded all of the business logic in Java, and created adapters to implement each component as a Web service.
The chief benefit of Web services is flexibility — allowing application logic to be changed without altering the service interface and disrupting business partners. Deploying, modifying, redeploying, and ensuring that your Web services are always available are the key ingredients of a successful Web services recipe. Therefore, our test focused on how smoothly our four solutions handled these tasks. For more details, see the “How We Tested” sidebar that accompanies this article at infoworld.com/testcenter.
The Open Source Alternative
To compete with the commercial contenders, our open source solution would need several elements. We chose JBoss 3.2.1 as our application server because it’s generally considered the most popular and most feature-rich open source J2EE application server available. Apache Tomcat 5.0 served as our servlet engine, and Apache Axis as the SOAP implementation.
| Test Center Scorecard | ||||||
|---|---|---|---|---|---|---|
| 30% | 25% | 25% | 10% | 10% | ||
| JBoss 3.2.1/Apache Tomcat 5.0 | 6 | 7 | 9 | 7 | 8 |
7.3
Good
|
| 30% | 25% | 25% | 10% | 10% | ||
| Sybase EAServer 4.2 | 7 | 8 | 8 | 8 | 8 |
7.7
Good
|
| 30% | 25% | 25% | 10% | 10% | ||
| IBM WebSphere Application Server 5.0 | 9 | 8 | 9 | 8 | 8 |
8.6
Very Good
|
| 30% | 25% | 25% | 10% | 10% | ||
| BEA WebLogic Server 8.1 | 8 | 8 | 8 | 9 | 7 |
8.0
Very Good
|
This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.
Download now »Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.
Download now »
The emergence of WLANs has created a new breed of security threats to enterprise networks.
Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation
Effectively address data protection challenges, implementing solutions that help store and protect businesscritical data while cutting costs and improving efficiency and reliability.
Download now »
Sign up to receive Architecture Resource Alerts
