I am working with both stateless and stateful sesssion beans within Visual age for
Java. I was wondering if anyone could give me a general overview of the proper way to invoke/use these beans. I was told it was best to cache the EJBHome object and continually call the create() method to obtain the remote object when working with stateless beans.
Meanwhile, if maintaining state for a single user with stateful beans it is best to cache a remote object unique to that user. Does the developer rely on a session to cache this object or is an id sent to the bean each time? Is any of this information accurate....if not what is the best practice?
Thanks a lot,
Travis