Diploma Thesis Santiago Gómez Sáez - IAAS
Diploma Thesis Santiago Gómez Sáez - IAAS
Diploma Thesis Santiago Gómez Sáez - IAAS
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.3. SQL Support Architectural Overview<br />
avoid errors in the data content if the data is transformed to string, and structured in XML<br />
format.<br />
5.3. SQL Support Architectural Overview<br />
In this section we provide an overview of a preliminary, and final architectural approaches<br />
designed in this diploma thesis, in order to support a transparent data access to backend<br />
SQL databases. We first expose the integration approaches we should consider, and the main<br />
problems found when implementing the first approach which led us to design a second<br />
architectural approach.<br />
5.3.1. Integration<br />
As described in Chapter 4, we build the new components in ServiceMix-mt following the OSGi<br />
compliance. However, these must interact with components which follow the JBI specification.<br />
The integration between components built for different containers in ServiceMix-mt must be<br />
done at two levels: messaging, and resources sharing. The ServiceMix-mt NMR API OSGi<br />
bundle exposes a set of operations for sending messages through the NMR to a specified<br />
target endpoint. Hereby we can perform message exchanges between endpoints configured<br />
on OSGi bundles and endpoints configured on JBI components, and provide communication<br />
support between components hosted in the two containers.<br />
JBI Service Assembly <br />
JBI Service Unit 1 <br />
xbean.xml<br />
META-INF<br />
jbi.xml<br />
maven properties and pom<br />
manifest<br />
java classes<br />
OSGi Bundle <br />
JBI Service Unit 1 <br />
xbean.xml<br />
META-INF<br />
jbi.xml<br />
maven properties and pom<br />
manifest<br />
java classes<br />
...<br />
...<br />
JBI Service Unit N <br />
JBI Service Unit N <br />
META-INF<br />
META-INF<br />
Legend<br />
folder / package<br />
file<br />
Zip package<br />
Jar package<br />
Figure 5.3.: ServiceMix 4.x repackaging mechanism for deploying JBI components in OSGi<br />
container.<br />
The resources sharing integration level refers to the deployment of JBI components in the OSGi<br />
container, and the utilization of packages exposed by OSGi bundles in the OSGi container in<br />
a loosely coupled manner. The former is part of the integration between containers provided<br />
in ServiceMix 4.x versions and described in Figure 5.3. The deployment mechanism of a<br />
55