Lightweight
Lightweight components are POJO components implementing the required JBI
interfaces. They don't follow standard JBI packaging; hence, do not support SU
deployments. Due to this reason, they cannot normally be deployed at run time. In
case we need to deploy them at run time, we can deploy them on the servicemixlwcontainer
(lightweight container). Lightweight components normally inherit the
ComponentSupport class directly or indirectly, and are mainly in the servicemixcomponents
module. We normally use the servicemix.xml static configuration file
when we want to run a single application for testing purposes, or when we embed
ServiceMix in a web application, for example.
A Few examples are shown in the following list:
JDBC component
Quartz component
XSLT component
Packaging and Deployment Sample
We will now create SUs and SAs, and deploy them into the ServiceMix JBI container.
The whole process can be divided into two phases, with multiple steps in each phase.
The two phases in the process are the following:
Component development
Component packaging
??? ??? ??? ??? ??? ??? ??? ??? ???
JBI Packaging and Deployment
[ 128 ]
Phase One??”Component Development
This phase includes coding and building the code base.
Pages:
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192