Documente Academic
Documente Profesional
Documente Cultură
Ingmar Rtzler
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 1
Outline
Introduction
Implementing services
Communication
Synchronous with session beans
Web services
Asynchronous communication
Loose Coupling
Persistence
Conclusion
Sources
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 2
EJB Technology
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 3
Enterprise JavaBeans
Standardized components
Portable
Deployed in any compliant J2EE application server
Flexibility in distributing the components of an application
Reusable
May be used in multiple business applications
Managed
EJB container provides system-level services, e.g. transactions, security
Developer free to concentrate on application logic and data aspects
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 4
Required services:
Order Processing System
Customer Relationship Management
Billing System
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 5
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 6
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 7
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 8
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 9
Asynchronous communication
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 10
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 11
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 12
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 13
Conclusion
Drawbacks
No metadata description of services (only business interface)
No central service repository (no automatic discovery)
Dependency on heavyweight EJB container
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 14
Sources
Sun Microsystems. EJB 3.0 Specification Final Release
http://java.sun.com/products/ejb/docs.html
HPI, Seminar System Modeling SS2006 Implementing SOA with EJB 3.0 / 15