You cannot use a local interface remotely.
JBoss implements the remote/local interface
(the EJB Container). This container handles some
of the methods and passes other to your bean.
The bean lives inside the container, the container
implementation creates a remote object for use
by the client.
It is usually a bad idea to directly expose entity
beans to clients.
Each getSomething() and setSomething() results
in a network request and probably a new transaction.
This is very slow.
These books are probably what you are looking for?
Hello. I had the same problem when I began to study J2EE.
For me, in this case, if you're managing an account, usign an EntityBean like AccountBean, and you wish to obtain a Collection, or vector of accounts, it's better to do it, in the AccountBean, and not in the CustomerBean. The way to do it is receiving in your AccountBean a parameter, like the Id, or number of the customer.
Thanks guys/gals...you gave me a great place to start.