2013/04/18

In
the previous Part1 , I have introduced how to integrate Apache Aries
Application(EBA) into Glassfish. And in the Part1, I used a simple sample to
demonstrate such an integration. However, in a real world, an user’s
application can be very complex and typically be made up of EJB, JPA,Servlet,CDI,JAX-RS….
So, you can ask me whether I can use these skills in an EBA and deploying the
EBA into Glassfish successfully?

The
answer is Yes!

Firstly,
an EBA can be made up of EJB Bundles, an WAB, other OSGi Bundles.

Secondly,
by using hybrid OSGi-JavaEE(EJB Bundles and WAB) , an user can use powers from
both JavaEE and OSGi.

Thirdly,
we can deploy such an EBA with JEE capability into Glassfish successfully.

Next,
let us see an concrete example. As a prerequisite, please building a glassfish
with Aries Application Bundles based on Part1.

Then,
we can build such a EBA with JEE based on Fighterfish UAS Sample[1] .