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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

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

509

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
509
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
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. 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. 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. JOnAS PaaS Overview ● Java EE & OSGi application ● IaaS agnostic OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 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. JOnAS PaaSProvisioning < OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.
  • 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. 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. 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. 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. 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. Questions ?Thanks for your attention OW2Con 2011, November 23-24, Orange Labs, Paris. www.ow2.org.

×