Hi users,

I'm trying to make the cmp20 plugin to write an "extend xxx" statement for the 
generated entities source files.

In fact, I have a BaseEntityBean class which implements the javax.ejb.EntityBean 
interface and have some logging capabilities. And I want to make every single entity 
bean extending that class.

The main reason to do this is to avoid an error at deployment time because the entites 
generated source files do not implements all the methods defined in the 
javax.ejb.EntityBean (ejbPassivate and so on). Therefore, weblogic rejects me when I 
try to run the ejbc tool.

I know there is the <entitycmp/> tag that do avoid the error at deployment time. But, 
this solution is not acceptable for me as it generates more bulk classes (named 
xxxCMP.java) that only define the missing methods of the interface. I don't want that, 
it's pretty ugly I think :-(  

So, has any Middlegen guru achiveved this extending solution ? I can't find any help 
in the documentation.

I will appreciate any idea.

Regards,

Gregory ChazalonN�HY޵隊X���'���u���{�����N�Z�X��8^m�-��i�^n� z�'����޴7��       
 
�w���ky�]y���)�}歺��ʋ�zw�z�ky��v���$赩U��:~��j�0��g��(�h�vW�z{�z���X��X��h�vW�z{�z�b��,���y�+��޶m����+-��.�ǟ�����+-��b�ا~���ez��ǫ

Reply via email to