Please provide your code. Check that your *class* is also abstract:

public abstract class MyCMPBean ...
       ^^^^^^^^

> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Allan Kamau
> Envoye : mercredi, 3 juillet 2002 14:11
> A : [EMAIL PROTECTED]
> Objet : [JBoss-user] Does JBoss 3.0.0 final fully support Abstract EJB
> 2.0 Entity Beans?
>
>
> Ive tried deploying entity beans that I had written
> following the EJB 2.0 specification, where I dont
> explicitly define the bean class fields/cmp fields but
> rather define only the abstract set/get methods for
> the class variables. However I seen errors during
> deployment indicating that the bean class may not be
> defined as abstract. When I reverted back to writing
> the Bean class using the EJB 1.1 specification where I
> explicitly define the CMP fields like <example> public
> Integer id; </example> and explicitly write code for
> each get/set method, the application deploys fine. The
> table is created and I can use the entity bean.
> Does this mean JBoss 3.0.0 doesnt fully support EJB
> 2.0 specification?. I also noticed that I could not
> use the overloaded create() method (create<suffix>())
> as defined in the new EJB 2.0 specification like
> <example> public Integer ejbCreateAddress(String
> street, String Box, String city){ //some code }
> </example>
>
>
> Allan Kamau
> Web Developer
> ICIPE.org
> Tel: +254-2-861680-4/802501 Ext 2116
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> No, I will not fix your computer.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to