Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about Petstore ������

 
Jose Jim�nez
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ??
 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think petstore is using something like a "command pattern", and not facade pattern !!
 
Jose Jim�nez
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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) �����������������
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic