GlassFish Open ESB for SOA Development

2,016 views
1,775 views

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,016
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
73
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

GlassFish Open ESB for SOA Development

  1. 1. GlassFish Open ESB for SOA Development Dr.Thanachart Numnonda Business Development Director Software LOB Sun Microsystems (Thailand) 1
  2. 2. What is SOA? Principles and practices for designing shared, reusable, distributed services SOA Attributes: ● Separation of service interface from underlying implementation (loose coupling) ● Promotes service reuse through discoverable and self- describing services ● Services are course-grained, composable, and rely on a standards based infrastructure
  3. 3. The “Move” to Service Orientation Accidental Layered Rigid Extensible Silo-Oriented Service-Oriented
  4. 4. Layering Principle • Shared Network-based Layered Services Access Layer Process Layer Service Layer Resource Layer
  5. 5. SOA Architecture Layers
  6. 6. SOA Architecture Layers • Resources – Operational Resources; e.g. CRM, ERP, HR, Databases – Enterprise components; technologies e.g. Java, .NET, CORBA, PHP • Services – Selected components which have been developed as services – Can implement various way; e.g. Web Services – Normally has well defined interface; e.g. WSDL
  7. 7. SOA Architecture Layers • Business Process – Represent powerful orchestration of one or more services that solve a business problem – Business Process itself is a service of services • Access – Front or User Interface that calls business process – Web Programming, Desktop, Dashboard – Can be implemented to run on various devices
  8. 8. SOA Implementation Build User Interface (Web Programming) Business Process Management (BPEL) Build Re-usable Services (ESB) External/Internal Systems
  9. 9. Why ESB? • In most enterprise, Web Services are not the only middleware solution. – Only SOAP is not adequate for services connection • Other middlewares products, messaging servers, Java EE, ORBs, Databases etc.. – Other binding communication protocols may be need; such as JDBC, JMS, Files, SMTP,MSMQ • ESB acts as an intermediary layer of middleware to communicates between services using various protocols.
  10. 10. What is Open ESB? • Project Open ESB implements an Enterprise Service Bus (ESB) runtime using JBI as the foundation – This allows easy integration of web services to create loosely coupled enterprise class composite applications. • It also provides various tools for the development, deployment, and management of composite applications
  11. 11. GlassFish OpenESB : Features • Provides communication between services via different protocols (Not only HTTP/SOAP) • Message interception capabilities • Routing capabilities • Transformation capabilities • Control over the deployment, usage and maintenance of services • Other important managements
  12. 12. BPEL • Business Process Execution Language • Based on XML • BPEL 2.0 is latest version • Need BPEL Designer tool • Also BPEL Engine to run
  13. 13. NetBeans BPEL Editor
  14. 14. Open Source SOA Framework User Interface NetBeans (Visual JSF), GlassFish Business Process Management (BPEL) NetBeans / BPEL SE (GlassFish) Build Re-usable Services (ESB) – openESB (GlassFish) External/Internal Systems
  15. 15. NetBeans Capability • Testing Web Services • Create Web Services Client • Create Web Services Provider • Create a BPEL Module Project • Create XML Schema • Create WSDL Document • Create BPEL Process • Create a Composite Application Project • Deploy/Test Composite Application Project • Create Web Application as Access Layer
  16. 16. Demo
  17. 17. Demo • Employee Database (Web Application) • e-Services • Twitter Services
  18. 18. ESB: Services communication • Using Web Services Protocols • Database Protocols (JDBC)
  19. 19. Create a Web Service • Create a Web /Java EE Project – Servlet Container – EJB Container • Support Java EE 5 Web Service annotation • Create a New Web Service • Can deploy on GlassFish or Tomcat 6.0
  20. 20. Twitter Web Services
  21. 21. BPEL Process • Create Business Process via services • Example Process – Input Data – Calculate Tax – Insert Employee DB – Update Twitter – Send output
  22. 22. Business Process
  23. 23. Create a BPEL Module Project
  24. 24. Create WSDL Document • Use WSDL Designer (of NetBeans) • Create WSDL files using graphical editor – Refactor across WSDL, XML and BPEL – Support different Binding type
  25. 25. Create BPEL Process • Use BPEL Designer (of NetBeans) • Visually author BPEL 2.0 business processes • Easily Create XPath expressions in the BPEL Mapper
  26. 26. BPEL Designer
  27. 27. BPEL Mapper
  28. 28. Create Composite Application Project
  29. 29. Services Assembly
  30. 30. Develop an Access Layer • Composite Application Project can deploy a BPEL Module which in turn a Web Services • Create a Web Service Client • Using Servlet /JSP • Support JSF / Struts Framework
  31. 31. Visual JSF Designer
  32. 32. Thank you thanachart.numnonda@sun.com www.facebook.com/thanachart twitter.com/thanachart www.thaijavadev.com 32

×