JOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris
Upcoming SlideShare
Loading in...5
×
 

JOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris

on

  • 854 views

 

Statistics

Views

Total Views
854
Views on SlideShare
854
Embed Views
0

Actions

Likes
0
Downloads
4
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

JOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris JOnAS REST API for PaaS, OW2con11, Nov 24-25, Paris Presentation Transcript

  • REST API for PaaSBenoit Pelletier - BullJOnAS REST API for a JavaEE/OSGi PaaS OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • OW2 JOnAS / JASMINe● JOnAS ● JavaEE5 application server, first OSGi based ● JavaEE6 web profile under development● JASMINe : monitoring framework for java application ● Targets distributed java applications (JavaEE/OSGi) JOnAS based OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • JOnAS PaaS Overview ● Java EE & OSGi application ● IaaS agnostic OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • JOnAS PaaS Architecture● Controller ● Provisions and supervizes the environments● Manager ● User interface ● REST APIs● Agent ● Leverages JOnAS/JASMINe for ● Managed element internals Wrapper OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • JOnAS PaaSProvisioning < OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • REST APIs (agent level) JOnAS Provisioning● JOnAS instance creation (JONAS_BASE)POST /provision/server/{name}/domain/{domain}  Parameters : topology.xml // describes the conf● JOnAS instance controlPOST /provision/server/{name}/[start|stop]● JOnAS instance statusGET /provision/server/{name}● JOnAS instance deletionDELETE /provision/server/{name} OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • REST APIs (agent level) Apache/Jk Provisioning● Worker definitionPOST /jkmanager/worker/{worker}/loadbalancer/{lb}/  Parameters : port,host,lbfactor● Apache reloadPOST /jkmanager/reload● And inverse operations ... OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • REST APIs (agent level) Application Deployment● Application deployment (on JOnAS instance)POST /deploy/app/{appname}/server/{name}Parameters : application module● Jk mount point definitionPOST /jkmanager/mount/{lb}Parameters : path OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • Demo● Provisions a JOnAS distributed configuration ● 2 instances : demo_weba1 & demo_weba2 ● 1 apache/jk with 2 workers● Deploy MyStore application ● Deployment on JOnAS ● Jk mount point def OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • Next● Implements the provisioning logic ● Solver to establish the configuration plan ● Resource allocation (IaaS) ● Container/Router allocation● Implements the End-User REST-API ● Get a comprehensive environnement in one instruction OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • Questions ?Thanks for your attention OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.