This content has been marked as final.
Show 1 reply
-
1. Re: Local Interface getEJBLocalHome()
bman917 Feb 27, 2003 11:50 AM (in response to aeros405)
Local beans cannot be accessed by remote clients. They cannot be returned from a method either. So all accesses to a local entity bean should be done through a session bean. It is best to make a wrapper object. This wrapper object should have all the fields that a local entity bean should have. In a session bean you should put all the persisted values of your entity to this wrapper and pass this wrapper to the client.