The method name 'getIsModified' is redundant, at least in JavaBean terms,
where the prefix 'is' refers the the getter/accessor of a boolean property.
Why not just use isModified()?  The above would result in a property named
'isModified', not 'modified', which basically means the same thing, one is
just a bit more passive than the other.

If you must, like Burkhard mentioned... define both, preferably having
getIsModifed() call isModified() so the JBoss version runs it faster =)

--jason


On Fri, 13 Jul 2001, Syed wrote:

> Is there anyway to configure the name of the method "isModified".
>
> Currently we are using weblogic and weblogic has a tag to indicate the name
> of this method.
> So our method name is "getIsModified" and if we want to use our ejbs in
> JBoss, we would have to modify our
> source code to change the method name to "isModified".
>
>
>
>             Thanks & Best Regards,
>          Mustaffa Syed Meerkasim.
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to