| 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: jrebel
|
|
subject: Doubt about Petstore ������
|
|
|