Nuxeo WebEngine and GlassFish v3

1,823 views

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
1,823
On SlideShare
0
From Embeds
0
Number of Embeds
93
Actions
Shares
0
Downloads
35
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Nuxeo WebEngine and GlassFish v3

  1. 1. Nuxeo WebEngineNuxeo WebEngine Embedding GlassFish v3Embedding GlassFish v3 Bogdan Stefanescu - bs@nuxeo.com | http://www.nuxeo.org
  2. 2. Overview ● About Nuxeo ● Deployment ● Embedding Glassfish ● Why? ● How? ● WebEngine ● What's WebEngine? ● Examples ● What's Next?
  3. 3. Nuxeo A leading open source software vendor, which develops a complete Enterprise Content Management (ECM) software platform. ● Nuxeo Enterprise Platform – an open source platform to build ECM applications. ● Products based on Nuxeo EP may be deployed in several flavors: ● EAR, WAR, RCP or standalone applications.
  4. 4. Nuxeo EP - Requirements ● Applications are made from components. ● Be able to assemble new applications from specific set of components. ● Be able to add / remove components into an (optionally running) application. ● Be able to deploy and run modules in any OSGi framework. ● Provide an extension mechanism for components.
  5. 5. Nuxeo EP – Deployment
  6. 6. Embedding GlassFish - Why? ● Why Embedding An Application Server? ● Light packaging for enterprise applications. ● Leverage JEE features in standalone applications. ● Powerful component model through HK2 ● HK2 is the foundation for GlassFish v3. ● OSGi compatible modules. ● Dependency Injection. ● Lazy Loading – very fast startup time. ● Very easy to embed.
  7. 7. Embedding GlassFish - How?
  8. 8. WebEngine – What Is? A framework to build RESTful Web Applications on top of the Nuxeo Platform. ● Features ● Built on top of JAX-RS model. ● Content Management through Nuxeo Platform ● Full Groovy scripting support ● Hot Deploy of Web Modules. ● Flexible Template Model - based on Freemarker ● Embeds GlassFish v3 as an OSGi bundle.
  9. 9. WebEngine – What Is? ● A platform to build any kind of content oriented Web Applications including ● Content oriented Web sites or REST applications. ● Rich front ends based on AJAX frameworks like GWT. ● Powerful Object Model ● WebEngine Objects are JAX-RS resources. ● Any HTTP request is resolved against an object. ● Objects can be manipulated through HTTP methods: GET, POST, PUT, DELETE, HEAD etc.
  10. 10. Examples – JAX-RS
  11. 11. Examples – Web Module
  12. 12. Examples – Web Object
  13. 13. Examples – Templates
  14. 14. What's next? ● Rewriting Nuxeo micro-kernel on top of HK2. ● HK2 fulfills all the requirements as the foundation for Nuxeo EP. ● HK2 provides dependency injection and other cool features. ● Contribute to HK2 an extension point mechanism. ● Use GlassFish as the default application server for the Nuxeo EP EAR deployment.
  15. 15. Extension Points Serializers Views Actions Editors MyExtensionPoint
  16. 16. Thank you!Thank you!

×