Win a copy of Design for the Mind this week in the Design 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 a getCustomerEJB(), .... methods . This method return EJBObject to client. Don�t is this one bad practise ?? Will more correct that clients communicate with a CustomerFacade for example and this have methods (getCustomer(), getCreditCard(), getDirection() that return ValueObjects ??
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"JJ Captain",

please take a look at our [url=http://www.javaranch.com/name.jsp]Naming Policy] and change your display name accordingly. Thanks!

Regarding your question, I have to admit that I have trouble parsing it. Assuming that others have similar problems, you might want to elaborate to increase your chance of a good answer...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic