-
1. Re: Entity Bean Finder methods
minamoto Aug 20, 2002 2:42 AM (in response to skidvd)> However, I did not see any calls to the ejbLoad
> method that would allow me to see how/when this is
> ocurring?
The ejbLoad is called when you access the bean.
Finders return proxies of beans to clients.
Invoking a method to a proxy on cilent side, the proxy invokes the ejb container on server side.
Then one of the container interceptors may load the ejb record if necessary.
You could see what's happening in the jboss server by adding next lines in the conf/log4j.conf:
After executing your sample, see the log/server.log.
You will see client-container interactions in detail.
It would be helpful if your bean prints a mark so that you can easily find the place in the server log.
public void ejbLoad() {
System.out.println("********************** ejbLoad");
}
Miki