Presentation is loading. Please wait.

Presentation is loading. Please wait.

Graham Charters Apache Aries and IBM Apache Aries An Open Source project for Enterprise OSGi Applications.

Similar presentations


Presentation on theme: "Graham Charters Apache Aries and IBM Apache Aries An Open Source project for Enterprise OSGi Applications."— Presentation transcript:

1 Graham Charters Apache Aries and IBM Apache Aries An Open Source project for Enterprise OSGi Applications

2 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 20102 Agenda Background Sample Futures

3 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 20103 Background “Aries” - Apache incubator project created Sept 2009 focused on: Components enabling enterprise OSGi application programming model Community building Implement OSGi EEG standards Experimentation to inform EEG standards Original Proposal: http://wiki.apache.org/incubator/AriesProposalhttp://wiki.apache.org/incubator/AriesProposal Independent of: OSGi framework provider (Felix, Equinox,...) Integration/server runtime (Geronimo, ServiceMix, WebSphere, …)

4 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 20104 Contributors and Consumers Contributors from Ericsson, IBM, JBoss, LinkedIn, Progress, ProSyst, SAP and individuals http://incubator.apache.org/aries/people.html Aries SNAPSHOT builds available right now Aries 0.1 Release under discussion Aries components used by: Apache Geronimo Apache Felix Karaf JBossOSGi WebSphere Application Server

5 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 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 http://svn.apache.org/repos/asf/incubator/aries/trunk/ Advert: BoF on “OSGi DevCon BoF”, Mon 19:15

6 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 20106 A Blog Web Application Web Container (integrating Pax Web) Blueprint Component Model Container-Managed JPA Persistence Application Assembly Container-Managed JTA Transactions

7 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 20107 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

8 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 20108 Blog Biz Blueprint Bundle Blueprint Container POJO Assembly Service Registry Integration Lifcycle 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)

9 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 20109 Blog Persistence Bundle JPA Persistence Service PersistenceUnit for application-managed PersistenceContext for container-managed Blueprint XML extension Demo uses OpenJPA Blog Persistence Service OSGI-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">... Advert: “Using JPA in OSGi”, Tue 16:15

10 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 201010 Blog Application Manifest-Version: 1.0 Application-ManifestVersion: 1.0 Application-Name: Blog Application Application-SymbolicName: com.ibm.ws.eba.example.blog.app Application-Version: 1.0 Application-Content: com.ibm.ws.eba.example.blog.api;version="1.0.0", com.ibm.ws.eba.example.blog.persistence;version="1.0.0", com.ibm.ws.eba.example.blog.web;version="1.0.0", com.ibm.ws.eba.example.blog;version="1.0.0" Manifest-Version: 1.0 Application-ManifestVersion: 1.0 Application-Name: Blog Application Application-SymbolicName: com.ibm.ws.eba.example.blog.app Application-Version: 1.0 Application-Content: com.ibm.ws.eba.example.blog.api;version="1.0.0", com.ibm.ws.eba.example.blog.persistence;version="1.0.0", com.ibm.ws.eba.example.blog.web;version="1.0.0", com.ibm.ws.eba.example.blog;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 Advert: BoF on “Application Models for OSGi”, Wed 19:15 Advert: “Composite Bundles -...”, Wed 14:30

11 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 201011 Future Ideas 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

12 Apache Aries – Project Overview OSGi DevCon US 2010 Graham Charters March 22, 201012 Questions?


Download ppt "Graham Charters Apache Aries and IBM Apache Aries An Open Source project for Enterprise OSGi Applications."

Similar presentations


Ads by Google