-
Book Overview & Buying
-
Table Of Contents
Service Oriented Java Business Integration
In Chapter 4, you have already seen the sample of how to expose a stateless EJB service deployed in an application server. Hence, the consumer can use the SOAP protocol to invoke the EJB service through a HTTP channel. Let us again do a similar demonstration here, but with XFire now. Once you complete this example you will better appreciate the similarity between XFire mechanisms and the process of binding.
The scenario is to expose an EJB component service to external clients through a HTTP channel. The difference between the EJB and SOAP sample in Chapter 4 (Binding—The Conventional Way) is that here we will use XFire classes for service binding. Also, the three previous samples in this chapter have demonstrated the power of XFire in exposing web services. But this sample is more towards binding an external service, which, as you will see very shortly, is more similar to the binding activity we do using a JBI stack.


The code for this...
Change the font size
Change margin width
Change background colour