This content has been marked as final.
Show 2 replies
-
1. Re: Still Need Value Objects with EJB2.0 Local Interfaces
pepe_potamus Sep 18, 2001 5:44 PM (in response to hunterhillegas)If you use a session bean as a facade for your entity beans you still need a value object to pass data to and from your session bean and the client. The facade pattern is very useful to reduce round trips to the server. I suggest you to read EJB Design Patterns on theserverside.com
-
2. Re: Still Need Value Objects with EJB2.0 Local Interfaces
hstech Sep 18, 2001 8:08 PM (in response to hunterhillegas)From a design point of view, you should normally abstract the client code from the server code via a Proxy object. You can then specify the location of the EJB at deployment time to be either local or remote. Following this logic you need to design to cater for both scenarios, which means you should seriously consider using the Value Object pattern.
Hope this helps,
Aaron.