-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm stuck with the behaviour of XDoclet 1.2 regarding EJB inheritance. I
have two beans:

abstract class AbstractBean
~ implements EntityBean // or SessionBean, whatever
{
// does not have business methods
}

class ConcreteBean
~ extends AbstractBean
{
// does have business methods
}

I want to put AbstractBean in a library (.jar) that will be common to
all my EJB projects. I'm using inheritance to encapsulate common
behaviour in the superclass (like saving the JNDI naming context to a
protected variable), so AbstractBean does not need to have component and
home interfaces.

The problem is that when XDoclet generates the interfaces for
ConcreteBean they extend the AbstractBean ones, that don't exist. Is
there some way to tell XDoclet to generate the ConcreteBean interfaces
*without* inheriting from AbstractBean ones, or will I be forced to
generate empty ones for AbstractBean? If the answer to the last question
is true, how would XDoclet know the name of the AbstractBean interfaces
it needs to subclass from (when generating ConcreteBean interfaces)?

Thank you in advance (and sorry for the English),
Leonardo.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQI95NyiAAoJEJhn9cfaIw2lLr8QAKWfLV8WQp2qKqsIkpzCGJLB
SvVFrYE5egGKHHOhiNeQxt6Mf0BRCC01da4U284SK9/hkJxd81AVmalawbd1qv2D
hSALii/EX5t0hE0Gg8EswIDIdAgV9UX+XDsDOAEyhSrnEfBm0Q+QObOBFLbaeZWw
mXE7c4zLArSKe/Ahzg4BqtHZcVxOb3quhu0nSDnfB7JQM43t4QhLdCafYPbDjYB+
Pc5T/8+lLMHdqck1M53ORimxzmD/1KTaznE0p/WxqgmkDJo7VTF6ryjgbQeXvpuf
r1c0G9FL8FynUb/v7tEH7tbi1ynAai/+mlbcE5/Y4X2Jh5jwc0TlVr3xfsMqIXfE
ULQOzs/oaZni2ckcwEpm+rctj3sp6Zu9UJv/79o+Qf8JrCc11J1kNBktHE/A2oWP
Q1Lc6MsIJrQLSeQN/UTbIHSexxMV1z5DJpm7qgerx6RJ5i6jscV6JJk6/fNSwc6g
N7yOsz07XNluXfelaibpzf8G2YuCC2lBD1jIQSYI6JYuW4cg631THPZoVIyt23pZ
XMdmNRCqCv+8t217QIxgTVdZQuKQPI34e3p4+LbElTqKRI5B874RLXn8IMaBuyDi
g3J3+DVXxYK9u+4CVAIm8gvVAUF6ZUCjxh1twGwsHPlyvCz1uafCXoTm6ULlOEH5
hS7OjMLQp3ZvA6CIaWK9
=7+fm
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to