All,

I have now added support for EJB 2.0 Home methods in jBoss. 

What does this mean? 

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

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

regards,
  Rickard

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

-- 
Rickard �berg

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

Reply via email to