At 16:22 13.11.00 , you wrote:
>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.
now that's really ugly ;-). Are the spec authors really aware of that? I
mean that does kind of violate sun's own official coding conventions.
looking at the spec your implementation is absolutely correct but somebody
must have missed that. What do you think? Will you contact anyone about
this? Not that it is really important but it's an issue that's so easy to
fix before J2EE developers all over the world have to deal with ugly code
for the next year or 2.
regards,
robert
>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
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Problems?: [EMAIL PROTECTED]
(-) Robert Kr�ger
(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]