| By Kevin Schmidt, Gopalan Suresh Raj, Prabhu Balashanmugam | Article Rating: |
|
| April 9, 2007 09:30 AM EDT | Reads: |
28,129 |
Testing
The need to write a client application
just to test a newly deployed composite application can be daunting.
NetBeans eliminates this need by providing a powerful test facility.
This facility is automatically added under the Composite Application
projects. The users can create any number of test cases to test various
functions of the deployed composite application and specify the success
criteria for these tests. The input and output messages for the test
cases are also automatically generated when the user selects the WSDL
that corresponds to the business process to be tested. The user can
then customize the messages as needed in the editor shown in Figure 7.
The test facility also maintains a log of all the test results. In case
of system errors, the server and application logs can be viewed from
NetBeans. This facility allows users to immediately test just-deployed
composite applications.
The user adds a test case for the application discussed in the article. The output message can be customized before the first run or the output message from the first run of the test case can be used as the expected output message.
Okay, What's Next?
Java EE 5 SDK provides the
complete set of tools and environments required for composing services
using WS-BPEL. Invoking all services as SOAP/HTTP Web services could
bring out the obvious concern about performance. WS-BPEL can be used to
directly invoke Enterprise JavaBeans to compose functionality from Java
EE applications. Java EE 5 SDK can be used to model business processes
that can invoke internal and external Web services and Enterprise
JavaBeans directly, as shown in Figure 8.
Business processes can invoke the services available in those technologies including REST Style Web services. If you are interested in finding out what other options are available for composing services and processing business events, check the following open source projects.
- NetBeans: http://netbeans.org/
- GlassFish: http://glassfish.dev.java.net/
- Open ESB: http://open-esb.dev.java.net/
The source code for the sample projects used in this article can be downloaded from the online version of this article at http://jdj.sys-con.com.
Summary
This article has discussed and shown the
many capabilities in the Java EE 5 SDK Tools Bundle for delivering
composite applications using Java, WS-BPEL, and SOA technologies.
First, this article discussed the benefits of these two technologies and how they can work together to enable the development of next-generation applications.
Second, this article demonstrated how NetBeans provides a truly integrated development environment that allows users to extend existing Java services, create new Java services, and compose Java services with a business process. This article has also shown how NetBeans can be used to iteratively develop, build, deploy, and test composite applications seamlessly, thereby reducing the overall turnaround time and effort required to deliver composite applications.
Resources
- Java EE 5 SDK: http://java.sun.com/javaee/downloads/
- NetBeans IDE & Enterprise Pack: www.netbeans.org/
- Project Open ESB: http://open-esb.dev.java.net/
- WS-BPEL 2.0 Specification:
www.oasis-open.org/committees/download.php/ 14616/wsbpel-specification-draft.htm - Technical Blog: http://blogs.sun.con/gopalan/
- Technical Blog: http://blogs.sun.com/kevinschmidt/
- Technical Blog: http://blogs.sun.com/theaquarium/
Published April 9, 2007 Reads 28,129
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Kevin Schmidt
Kevin Schmidt is the director of product management for SOA and business integration software at Sun Microsystems, Inc. He has 17 years of experience in the software industry in roles that include product management, professional services, pre-sales, and development. Most recently he has focused on composite applications using Java, Web services, SOA, BPM, and related technologies.
More Stories By Gopalan Suresh Raj
Gopalan Suresh Raj, a senior analyst at Compuware Corporation, is a contributing author to Enterprise Java Computing - Applications and Architecture and The Awesome Power of JavaBeans. His expertise spans enterprise component architectures and distributed object computing. He can be reached at www.execpc.com/~gopalan
More Stories By Prabhu Balashanmugam
Prabhu Balashanmugam is a Product Manager for SOA and Business Integration software at Sun Microsystems. He is currently responsible for managing Business Process Management, Event Processor, and Data Integrator products. He has more than 10 years of experience in the software industry in roles that include product management, development, pre-sales, and technology consulting.
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- Is Cloud Computing Like Teenage Sex?
- Industry Experts Discuss the State of Cloud Computing
- Performance Tuning Essentials for Java
- Confessions of a Ulitzer Addict
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- It's the Java vs. C++ Shootout Revisited!
- Cloud Computing Can Revitalize Your Career as Software Developer
- IBM Could "Reinvent" Java: Mills
- Oracle & Cloud Computing: Exclusive Q&A with SVP Richard Sarwal
- A Brief History of Cloud Computing
- Kindle 2 vs Nook
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Why IBM’s Server Chief Got Busted
- Is Cloud Computing Like Teenage Sex?
- Industry Experts Discuss the State of Cloud Computing
- Performance Tuning Essentials for Java
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- i-Technology Predictions for 2007: Where's It All Headed?





































