You can set
up either of these servers to work with the examples given in this chapter.
Sun Java System Application Server is just a supported version of the
community based GlassFish Application Server and there may not be any
significant differences in the way SOA applications are handled by them.
Creating Partner Services
Before building our sample application, let us understand some basics of NetBeans
SOA modules and UI components. This section builds a simple application depicting
how you can easily build a composite application using NetBeans.
First, we will create a web service and add an itinerary processing operation. From
the New Project wizard select Enterprise | EJB Module.
Building a Sample Application
[ 204 ]
The following screenshot shows the New Project wizard with the required
project highlighted:
Type the Project Name as NorthAirEJB. For the first part of the demo, NorthAirEJB
will have one web service with one operation called processItinerary. This
method gets passenger details from BPEL implementation and sends a confirmation
message back.
You need to select a target Java EE server for your EJB project. You can either select
Sun Java System Application Server or the GlassFish Server.
Chapter 10
[ 205 ]
JAX-WS is an important part of the Java EE 5 platform that simplifies
the task of developing web services using Java technology.
Pages:
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189