Hi Rickard,

That's great!
I dreamed about ejbHome method support in jBoss right today.
Dreams come true...

Best regards,
 Oleg 

Rickard �berg wrote:
R�> All,

R�> I have now added support for EJB 2.0 Home methods in jBoss.=20

R�> What does this mean?=20

R�> Basically, in EntityBeans you can have arbitrary methods in your home
R�> interface. When you call them the container will pick an anonymous bean
R�> instance and invoke the method "public <result> ejbHome<name>(<args)"
R�> where result, name, and args relate to the home method. This allow you
R�> to put "static" methods for the bean in the home interface.=20

R�> Note that the name of the method in the bean will be quite ugly. If your
R�> home method is called "doStuff" the bean method will be "ejbHomedoStuff"
R�> which isn't very pretty IMHO. Just FYI.

R�> regards,
R�>   Rickard

R�> ps. funny note: the implementation of this feature required the massive
R�> amount of about 10 lines in EntityContainer... geeez, that was hard...

R�> --=20
R�> Rickard =D6berg

R�> Email: [EMAIL PROTECTED]
R�> http://www.telkel.com
R�> http://www.jboss.org
R�> http://www.dreambean.com



Reply via email to