Meaningless Drivel is fun!*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Doubt about Petstore ������ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Doubt about Petstore ������" Watch "Doubt about Petstore ������" New topic
Author

Doubt about Petstore ������

Jose Jim�nez
Ranch Hand

Joined: Jun 15, 2005
Posts: 101
In petstore application ShoppinClientController act how proxy and have a handleEvent method to process events, my doubt is that have getCustomerEJB(), .... methods . This method return EJBObject to client. Don�t is this one bad practise ?? Will more correct that client communicate whith a CustomerFacade for example and this have method that return ValueObject ??


SCEA<br />SCWCD<br />SCJP
Giju George
Ranch Hand

Joined: Jun 08, 2004
Posts: 333
I think petstore is using something like a "command pattern", and not facade pattern !!


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
Jose Jim�nez
Ranch Hand

Joined: Jun 15, 2005
Posts: 101
Use ShoppingClientFacadeLocal.class. You need read the documents about petStore because yes use facade pattern �������

Too the views needs retrieval information from server so that I think that it need use bussinessDelegate + facade

How retrieval data with command patern from a view (jsp) �����������������
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt about Petstore ������
 
Similar Threads
autoCommit doubt
Doubt
Doubt about PetStore �������
Doubt...
SCWCD prep Doubt