Similar to what we did in this sample, at times we need to tunnel or redirect services
through intermediaries either due to protocol or format mismatches or due to some
other reasons.
All these activities are concerns apart from your business logic coding and need
to be addressed at your application framework-level. In this chapter too, we have
performed it in the same manner, but we have done a lot of steps to configure
the web server with Apache SOAP. Later, when you go through the JBI and ESB
samples you will realize that the same functionality can be achieved by selecting and
configuring suitable JBI components.
ESB implementations like ServiceMix make use of new generation SOAP frameworks
which bind binary services such as EJB and POJO to the JBI bus to make it
SOA-compliant.
In the next chapter, we will delve more into such a SOAP framework namely XFire
and look at some very useful mediation features of it. In the later chapters, we will
leverage similar features from the JBI bus straightaway.
Some XFire Binding Tools
JBI advocates that XML data based on a WSDL model should be flowing through
the NMR.
Pages:
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157