Presentation is loading. Please wait.

Presentation is loading. Please wait.

Joe Bohn Apache Aries and IBM Original slides created by Graham Charters for OSGi DevCon US 2010, March 22, 2010 with minor updates by Joe Bohn for BarCampRDU.

Similar presentations


Presentation on theme: "Joe Bohn Apache Aries and IBM Original slides created by Graham Charters for OSGi DevCon US 2010, March 22, 2010 with minor updates by Joe Bohn for BarCampRDU."— Presentation transcript:

1 Joe Bohn Apache Aries and IBM Original slides created by Graham Charters for OSGi DevCon US 2010, March 22, 2010 with minor updates by Joe Bohn for BarCampRDU on October 23, 2010 Apache Aries An Open Source project for Enterprise OSGi Applications

2 Apache Aries – Project Overview BarCampRDUOctober 23, 20102 Agenda Background Sample Futures

3 Apache Aries – Project Overview BarCampRDUOctober 23, 20103 Background “Aries” - Apache incubator project created Sept 2009 focused on: Components enabling enterprise OSGi application programming model Community building OSGi Alliance EEG standards http://www.osgi.org/Download/Release4V42 http://www.osgi.org/Download/Release4V42 Experimentation to inform EEG standards Original Proposal: http://wiki.apache.org/incubator/AriesProposal http://wiki.apache.org/incubator/AriesProposal Independent of: OSGi framework provider (Felix, Equinox,...) Integration/server runtime (Geronimo, ServiceMix, WebSphere, …) Initial contribution included the Blueprint container implementation developed originally by the Apache Geronimo community. Web Site for all resources and documentation: http://incubator.apache.org/aries/ http://incubator.apache.org/aries/

4 Apache Aries – Project Overview BarCampRDUOctober 23, 20104 Community Apache Incubator project – discussing graduation Contributors from Ericsson, IBM, JBoss, LinkedIn, Progress, ProSyst, SAP and individuals http://incubator.apache.org/aries/people.html Aries 0.2 Release available 8/31/2010 Aries components used by: Apache Geronimo Apache Felix Karaf JBossOSGi WebSphere Application Server

5 Apache Aries – Project Overview BarCampRDUOctober 23, 20105 Aries Content includes… WAR to Web Application Bundle Converter Blueprint Container JPA integration JTA integration JMX JNDI integration Application Assembly and Deployment Maven Plugin META-INF/services handler Samples, tutorials, documentation, integrator’s guide Source code: http://svn.apache.org/repos/asf/incubator/aries/trunk/http://svn.apache.org/repos/asf/incubator/aries/trunk/

6 Apache Aries – Project Overview BarCampRDUOctober 23, 20106 Aries Samples AriesTrader – Apache Geronimo DayTrader Java EE benchmark application converted to OSGi Application using web, blueprint components, JPA, JTA Objective is to demonstrate best practices Performance benchmarking Blog Sample – New application to demonstrate Aries features The Samples illustrate how to run Aries applications on a standard OSGi f/w (e.g. Equinox) + Aries + dependencies (Derby DB, PaxWeb servlet container). http://incubator.apache.org/aries/samples.html

7 Apache Aries – Project Overview BarCampRDUOctober 23, 20107 A Blog Web Application Web Container (integrating Pax Web) Blueprint Component Model Container-Managed JPA Persistence Application Assembly Container-Managed JTA Transactions

8 Apache Aries – Project Overview 8 Example “Blog” Application Architecture Blogging Service Blog Persistence Service blog-web Web application bundle MetaPersitstence WEB-INF/ web.xml OSGI-INF/blueprint/ blueprint.xml OSGI-INF/blueprint/ blueprint.xml JNDI META-INF/ persistence.xml blog.eba blog-biz blog-persistence blog-api

9 Apache Aries – Project Overview BarCampRDUOctober 23, 20109 Blog Web Application Bundle WAB: A WAR with OSGi Bundle Configuration Supports Servlets and JSPs Automatic WAR to WAB conversion Access to OSGi Services Via servlet context Via JNDI Demo uses Pax Web + Aries for conversion Blogging Service blog-web Web App Bundle WEB-INF/ web.xml JNDI blog-api

10 Apache Aries – Project Overview BarCampRDUOctober 23, 201010 Blog Biz Blueprint Bundle Blueprint Container POJO Assembly Service Registry Integration Life-cycle Management Standardized Spring Conventions POJO + DI = Simple Unit Test Extensible Container JPA Handler JTA Handler Blogging Service Blog Persistence Service OSGI-INF/blueprint/ blueprint.xml blog-biz blog-api Blog Comment Service (optional)

11 Apache Aries – Project Overview BarCampRDUOctober 23, 201011 Blog Persistence Bundle JPA Persistence Service PersistenceUnit for application-managed PersistenceContext for container-managed Blueprint XML extension Demo uses OpenJPA Blog Persistence Service META-INF/ persistence.xml OSGI-INF/blueprint/ blueprint.xml EM blog-persistence blog-api <blueprint … xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0" xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0"http://aries.apache.org/xmlns/transactions/v1.0.0 default-activation="lazy"> <bean id="persistenceImpl" class="org.apache.aries.samples.blog.persistence.BlogPersistenceServiceImpl">... <blueprint … xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0" xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.0.0"http://aries.apache.org/xmlns/transactions/v1.0.0 default-activation="lazy"> <bean id="persistenceImpl" class="org.apache.aries.samples.blog.persistence.BlogPersistenceServiceImpl">...

12 Apache Aries – Project Overview BarCampRDUOctober 23, 201012 Blog Application Manifest-Version: 1.0 Application-ManifestVersion: 1.0 Application-Name: Apache Aries Blog Sample EBA Application-SymbolicName:org.apache.aries.samples.blog.jpa.eba Application-Version: 1.0 Application-Content: org.apache.aries.samples.blog.api;version="1.0.0", org.apache.aries.samples.blog.persistence;version="1.0.0", org.apache.aries.samples.blog.web;version="1.0.0", org.apache.aries.samples.blog.biz;version="1.0.0" Manifest-Version: 1.0 Application-ManifestVersion: 1.0 Application-Name: Apache Aries Blog Sample EBA Application-SymbolicName:org.apache.aries.samples.blog.jpa.eba Application-Version: 1.0 Application-Content: org.apache.aries.samples.blog.api;version="1.0.0", org.apache.aries.samples.blog.persistence;version="1.0.0", org.apache.aries.samples.blog.web;version="1.0.0", org.apache.aries.samples.blog.biz;version="1.0.0" blog-persistence blog-biz blog-web Blog Application blog-api Lists bundles key to application Unique to the application Requiring unique configuration Managed as a single unit Can share common bundles with other applications (not shown) Archive:.eba Blog Persistence Service Blogging Service

13 Apache Aries – Project Overview BarCampRDUOctober 23, 201013 Future Ideas / Work in Progress There are many new application-centric features that Aries may develop including: application isolation message-driven blueprint components and services declarative role-based security for blueprint components annotation-based alternative to XML configuration resource-reference metadata and bindings Interested in giving it a go? http://incubator.apache.org/aries/ Interested in getting involved? http://incubator.apache.org/aries/gettinginvolved.html

14 Apache Aries – Project Overview BarCampRDUOctober 23, 201014 Questions?


Download ppt "Joe Bohn Apache Aries and IBM Original slides created by Graham Charters for OSGi DevCon US 2010, March 22, 2010 with minor updates by Joe Bohn for BarCampRDU."

Similar presentations


Ads by Google