Hi Ram The entity beans home business methods can return anything( that is RMI-IIOP compliant). That is one of the(primary) adv. of these methods We can use these methods to get things like information on all the customers
You've got some methods that give you back a reference to the component interface (or a collection of them), and you have other methods that can give you back anything rmi-able. The former (create, finders, selects) are good for one thing, and the latter (home business methods) are good for another thing. If you want to get information about a group of entities, but don't need to operate on each of them, a home business method may be in order. --Dale--
GIRIJA Thanks for the response! Component Interface is RMI-IIOP and hence ejbHome<method> can return it(??). DALE SNEG Thanks for the response! I got your point. I just wanted to make sure that can ejbHome<method> return Component Interface.
Hi Santosh Returning component interface[ if that is what u want to do, generally u use them to over come the overhead of making remove calls to the bean(s)] should not be a problem as it is RMI-IIOP compliant. May be ur home method calls a find (or create) and returns the returned value from the find (or create) Thanks
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop