Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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

922 views

Published on

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

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

  1. 1. REST API for PaaSBenoit Pelletier - BullJOnAS REST API for a JavaEE/OSGi PaaS OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  2. 2. 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.
  3. 3. JOnAS PaaS Overview ● Java EE & OSGi application ● IaaS agnostic OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  4. 4. 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.
  5. 5. JOnAS PaaSProvisioning < OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  6. 6. 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.
  7. 7. 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.
  8. 8. 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.
  9. 9. 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.
  10. 10. 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.
  11. 11. Questions ?Thanks for your attention OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.

×