nuxeo web engine - embedding gfv3

9

Click here to load reader

Upload: eduardo-pelegri-llopart

Post on 05-Dec-2014

1.301 views

Category:

Technology


0 download

DESCRIPTION

Embedding GlassFish v3 Prelude into the Nuxeo WebEngine

TRANSCRIPT

Page 1: Nuxeo Web Engine - Embedding GFv3

Nuxeo Nuxeo WebEngineWebEngine

Bogdan Stefanescu - 05 Nov. 2008

Page 2: Nuxeo Web Engine - Embedding GFv3

OverviewOverview

• Who Am I?Who Am I?• Embedding GlassFishEmbedding GlassFish

• Why?Why?

• How?How?

• Nuxeo WebEngineNuxeo WebEngine

• What is?What is?

• How it works?How it works?

• Pleasant codingPleasant coding

Page 3: Nuxeo Web Engine - Embedding GFv3

Who Am I?Who Am I?

• Bogdan StefanescuBogdan Stefanescu

• mailto:[email protected]:[email protected]

• Lead Architect at NuxeoLead Architect at Nuxeo

• http://www.nuxeo.orghttp://www.nuxeo.org

• Team Leader on Apogee ProjectTeam Leader on Apogee Project

• http://apogee.nuxeo.orghttp://apogee.nuxeo.org

• Team Leader on WebEngine ProjectTeam Leader on WebEngine Project

• http://www.nuxeo.org/webenginehttp://www.nuxeo.org/webengine

Page 4: Nuxeo Web Engine - Embedding GFv3

Embedding GlassFishEmbedding GlassFish

• Why Embedding An Application Server?Why Embedding An Application Server?

• Light packaging for enterprise applications.Light packaging for enterprise applications.

• Leverage J2EE features in standalone applications.Leverage J2EE features in standalone applications.

• Why GlassFish?Why GlassFish?

• Powerful component model.Powerful component model.

• Very easy to embed.Very easy to embed.

• Fast startup time.Fast startup time.

• Easily configurable through custom domain.xml file.Easily configurable through custom domain.xml file.

Page 5: Nuxeo Web Engine - Embedding GFv3

How?How?

Page 6: Nuxeo Web Engine - Embedding GFv3

Nuxeo WebEngine – What is?Nuxeo WebEngine – What is?

• A framework to build RESTful web applications on top of the A framework to build RESTful web applications on top of the Nuxeo ECM Platform. Nuxeo ECM Platform.

• http://www.nuxeo.org/webenginehttp://www.nuxeo.org/webengine

• Features:Features:

• Built on top of JAX-RS model. Built on top of JAX-RS model.

• Content Management through Nuxeo PlatformContent Management through Nuxeo Platform

• Groovy Scripting: supports Groovy JAX-RS ressourcesGroovy Scripting: supports Groovy JAX-RS ressources

• Hot Deploy of ApplicationsHot Deploy of Applications

• Powerful Object Model – supports Groovy objects too.Powerful Object Model – supports Groovy objects too.

• Flexible Template Engine - based on FreemarkerFlexible Template Engine - based on Freemarker

• Embeds GlassFish v3 as an OSGi bundle.Embeds GlassFish v3 as an OSGi bundle.

Page 7: Nuxeo Web Engine - Embedding GFv3

Nuxeo WebEngineNuxeo WebEngine

• Modular and Extensible.Modular and Extensible.

• OSGi as the deployment model.OSGi as the deployment model.

• Extension points to easily extend existing modules or add new Extension points to easily extend existing modules or add new features.features.

• Web Applications can be extended from other Web Applications.Web Applications can be extended from other Web Applications.

• Can be used to build any content oriented web application.Can be used to build any content oriented web application.

• Powerful Object Model.Powerful Object Model.

• WebEngine Objects are JAX-RS resources.WebEngine Objects are JAX-RS resources.

• Any HTTP request is resolved against a resource.Any HTTP request is resolved against a resource.

• Resources can be manipulated through HTTP methods: GET, Resources can be manipulated through HTTP methods: GET, POST, PUT, DELETE, HEAD etc.POST, PUT, DELETE, HEAD etc.

• Intuitive and pleasant when coding.Intuitive and pleasant when coding.

Page 8: Nuxeo Web Engine - Embedding GFv3

WebEngine – Pleasant CodingWebEngine – Pleasant Coding

Page 9: Nuxeo Web Engine - Embedding GFv3

Thank you!Thank you!

[email protected]@nuxeo.com — www.nuxeo.com/en — www.nuxeo.com/en