Your SlideShare is downloading. ×

JOnAS Addons, OW2con 2011, Nov 24-25, Paris

305

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
305
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. JOnAS AddonsFlorent Benoit, BULL [ @florentbenoit ] A new packaging for SaaS applications OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 2. JOnAS Today● JOnAS : Java EE 5 & Java EE 6 features● Two assemblies : – Full (211 MB) – µJOnAS (10 MB)● Difficult to have custom assemblies for users (profiles) ● Camel profile, Java EE web profile OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 3. User needs : Modular assemblies● Assemblies with the right size● Easy to download/build custom assemblies FULL CUSTOM OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 4. User needs : Deploy more than only Java EE applications● Application configuration files● « Connectors » – Allow to create new HTTP/AJP/... connectors – JDBC connections – Mail factories – JMS topics, queues, etc.● Shell scripts that can be added to the µJOnAS platform OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 5. Addon : A new deployable● New archive that can embed many “deployables” ● Java EE applications (WAR/EAR/EJB-JAR/RAR) ● OSGi bundles ● Configuration files ● Deployment plans : ordered deployment and links to m2 repository for downloading archives ● HTTP Connectors ● ... OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 6. Addon Metadata● Metadata for the JOnAS addons ● META-INF/jonas-addon.xml● Defines name of the addon● Defines Required JOnAS version range ● [5.3.0,5.4.0)● Provides / Requirement● Properties (for a JOnAS service) OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 7. JOnAS Addon resolver Addon Resolver Resolved / Missing dependencies● Addon wont be deployed if required dependencies are not available → Ability to download these dependencies OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 8. SaaS and AddonsAddon example which provides :● Application / OSGi bundle● JDBC datasources OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 9. EAR and JDBC SaaS AddonMETADATA File content : <jonas-addon> <name>EarAndJDBCConf</name> META-INF/jonas-addon.xml deploy/javaee5-earsample.ear <description>EAR And Conf Addon</description> deploy/jdbc-ds.xml <author>The JOnAS Team</author> <licence>LGPL</licence> <jonas-version>[5.3.0-M6-SNAPSHOT]</jonas-version> <autostart>true</autostart> <jvm-version>[1.5,1.7]</jvm-version> <!--provides and requirements property for the resolver--> <provides/> <requirements/></jonas-addon> OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 10. Demo● Start a µJOnAS assembly● Add addon in the current JOnAS ● Test features provided by the addon● Remove addon● Restart JOnAS● JOnAS with application + JDBC configuration OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 11. JOnAS Addons Roadmap● JOnAS 5.3 will be Addons based → Several profiles available for download – Addons can be tested since JOnAS 5.3 M5 – Final version H1 2012● µJOnAS will be reduced ● More lightweight● Work in progress on JOnAS and PaaS ● Following work of Java EE 7 ● 4CaaSt european project ● Compatible One project OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.

×