J2EE EJB UML Diagrams


EJB UML Diagrams
back to HOME
Last update : 07/01/2003
EJB UML Diagrams
PAGE
Introduction
The goal of this article is to illustrate with UML diagrams EJB programming applying J2EE design patterns. Work in
Progress ...
Contents :
1. EJB Class diagrams
2. ServiceLocator
3. Links about presentations and tutorials about EJB.
4. Credits - about the author of this article and to know if you can use the diagrams in your project
To print the figures of this article, configure your printer in landscape mode.
back to Top
1. EJB Class diagrams
EJB Class Diagram
Note : All the names of the classes are followed by a number because the tool I use does not authorize to use the
existing names of EJB classes. The final version of diagrams will be "clean".
Class Diagram of the example
http://rollerjm.free.fr/pro/EJB_UML.html (1 de 4) [23/02/2003 23:07:18]
EJB UML Diagrams
Description
InterestAction is a Struts class, an open source framework. InterestAction is Controller servlet which processes
the client request and interacts with the Business logic layer
BusinessDelegate is based on the Business Delegate Design Pattern, it encapsulates business services
InterestVO is a Value Object, encapsulates the business data which interface the Presentation Tiers to the
Business Tiers
ServiceLocator is used to abstract all JNDI usage and to hide the complexities of initial context creation and the
EJB home object lookup
InterestHome is the Home Interface
Interest is the Remote Interface
InterestBean is the Stateless Session Bean
back to Top
2. Service Locator
http://rollerjm.free.fr/pro/EJB_UML.html (2 de 4) [23/02/2003 23:07:18]
EJB UML Diagrams
Messages Description
1 The Business Delegate calls the ServiceLocator to get a reference on the Home Interface
The Service Locator does the following actions :
1.1 gets a JNDI context
1.2 looks up a reference on the EJB Home Interface
1.3 narrows the reference to get a remote reference to the Home Interface
2 The Home Interface returns a reference on the Remote Interface with create method
back to Top
back to Top
3 Links
Struts framework : http://jakarta.apache.org/struts
The J2EE design patterns : http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/
back to Top
4 Credits
Author
I am a French developer who lives in London (CV).
Copyrights
The diagrams are free ! However, if you want to use it for commercial purposes, please send me an e-mail.
Otherwise, you can use it if you add the following credits :
Diagrams by Jean-Michel Garnier on July 2002. Based on article by Jean-Michel Garnier in the http://rollerjm.free.fr
web site.
back to Top
http://rollerjm.free.fr/pro/EJB_UML.html (3 de 4) [23/02/2003 23:07:18]
EJB UML Diagrams
For any comments / suggestions :Jean-Michel
Garnier
http://rollerjm.free.fr/pro/EJB_UML.html (4 de 4) [23/02/2003 23:07:18]


Wyszukiwarka

Podobne podstrony:
UML Diagramy
uml diagramy klas
Tutorial How To Make an UML Class Diagram In Visio
Diagramy w UML
03 Diagramy UML
Wyklad 5 Techniki modelowania?zy?nych diagramy ER i UML
Diagramy UML
07 Diagram sekwencji
UML 20 w akcji Przewodnik oparty na projektach
building web applications with the uml?2EDDA8
Phase Diagram of Ultrafine Carbon
Toyota Supra? Wiring Diagrams
01 Podstawy języka UML 2 0

więcej podobnych podstron