27.03.2013 Views

JBoss Enterprise Application Platform Common Criteria Certification ...

JBoss Enterprise Application Platform Common Criteria Certification ...

JBoss Enterprise Application Platform Common Criteria Certification ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

22 Chapter 5. Microcontainer<br />

Chapter 5. Microcontainer<br />

<strong>JBoss</strong> <strong>Enterprise</strong> <strong>Application</strong> <strong>Platform</strong> 5.0 uses the Microcontainer to integrate enterprise services<br />

together with a Servlet/JSP container, EJB container, deployers and management utilities in order to<br />

provide a standard Java EE environment. If you need additional services, you can deploy these on top of<br />

Java EE to provide the functionality you need. Likewise any services that you do not need can be<br />

removed by changing the configuration. You can even use the Microcontainer to do this in other<br />

environments such as Tomcat and GlassFish by plugging in different classloading models during the<br />

service deployment phase.<br />

Since <strong>JBoss</strong> Microcontainer is very lightweight and deals with POJOs, it can also be used to deploy<br />

services into a Java ME runtime environment. This opens up new possibilities for mobile applications<br />

that can now take advantage of enterprise services without requiring a full JEE application server. As<br />

with other lightweight containers, <strong>JBoss</strong> Microcontainer uses dependency injection to wire individual<br />

POJOs together to create services. Configuration is performed using either annotations or XML<br />

depending on where the information is best located. Unit testing is made extremely simple thanks to a<br />

helper class that extends JUnit to setup the test environment, allowing you to access POJOs and<br />

services from your test methods using just a few lines of code.<br />

Note<br />

For detailed information regarding the Microcontainer architecture, refer to the Microcontainer<br />

User Guide hosted on docs.redhat.com.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!