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
Joined: Jun 08, 2004
I think petstore is using something like a "command pattern", and not facade pattern !!
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
Joined: Jun 15, 2005
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) �����������������