This content has been marked as final.
Show 1 reply
-
1. Re: Referencing the home interface from the home interface..
jamesstrachan Nov 11, 2003 11:07 AM (in response to wesleyhall)Well,
Both the first business method and ejbFindByPriomaryKey will be present as code within the entity bean.
So you can call the ejbFind.. or any other method from your business method.
But it feels a bit incestuous.
Why not use a stateless session bean as a facade that can (a) invoke the business method on the home interface of the entity bean and then (b) invoke other methods depending on the results returned by the first method ?
James