Jairo,

 

Tirado da p�gina da SUN na parte de Architecture Guide:

 

http://java.sun.com/blueprints/code/adventure/1.0/docs/architecture.html

“Adventure Builder will consist of four application modules: a Web site customer application, and three applications for fulfilling an order. This document covers the application's early access release and thus focuses on the Web site application module, plus briefly covers the communication between the Web site and order fulfillment applications. It illustrates how Web-only developers can benefit from the J2EE technologies and demonstrates good Web tier design strategies and patterns. In later releases it will cover more scenarios.

One interesting point to note is that the Web site customer application is a Web-only application and does not have an EJB tier. Does this mean that the EJB technology is not suitable for writing Website applications? That is not the case. Using the J2EE platform, a Website application can be designed in two ways: EJB-centric or Web-centric. The Java Pet Store Application illustrates how to write a Website application in an EJB-centric manner. It is an MVC-based application that makes a heavy use of local enterprise beans to implement the model and the controller. The Adventure Builder application illustrates the other option: how to write a Website application in a Web-centric manner. EJB is a key technology in the J2EE platform, but not all J2EE applications need to use it. Later sections of this document explain the motivations behind this decision in more detail. Also note that the order fulfillment application follows an EJB-centric design. “

Julio Cesar

 

-----Mensagem original-----
De: Jairo Soares [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 28 de julho de 2003 19:44
Para: [EMAIL PROTECTED]
Assunto: [cejug-discussao] Modelo EJB Falho ?

 

A nova aplica��o de demonstra��o da Sun, chamada Adventure Builder, mostra como utilizar a plataforma J2EE 1.4 para desenvolvimento de aplica��es corporativas. A maior curiosidade desta aplica��o � n�o fazer uso de EJBs para a persist�ncia dos dados, mas sim de JDBC atrav�s de DAOs. Alguns acreditam que esta � uma evid�ncia de que a Sun acha o modelo de EJBs falho.

 

Jairo Soares
Sun Certified Programmer Java 2 Platform 1.4
[EMAIL PROTECTED]

Responder a