xml file. Execute ant as shown in
the following commands:
cd ch08\BindEjb\03_AxisClient
ant
This will generate the required Axis client-side stubs and compile the client classes.
Now to run the client, execute the following command:
ant run
Reconciling EJB Resources
This chapter demonstrated how to engineer with ServiceMix, hence we can consider
EJB component services equivalent to normal web services so the same rules can
be applied from a consumer perspective. This will have greater impact in today's
solution infrastructure. This is because in the last one decade or so, we saw the rise
of EJB component-based programming. Setting aside (if) any drawbacks, EJB gave
us a lot of support for cross cutting concerns like transaction management and
instance pooling. For the same reason, lots of solution artifacts are still available and
remaining hosted in the form of EJB services. Using an ESB, we are no longer forced
to throw away all those investments, instead leverage them in a services ecosystem
environment. I am sure I will have an easy time convincing my CTO that I don't need
to scrap all my EJB investments, instead I can reuse them in the best possible manner.
Pages:
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234