On Wed, 3 Jul 2002, Allan Kamau wrote:

> I�ve tried deploying entity beans that I had written
> following the EJB 2.0 specification, where I don�t
> explicitly define the bean class fields/cmp fields but
> rather define only the abstract set/get methods for
> the class variables.

It works for me very well.

> 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

EJB 2.0 deployment descriptor should start with

<!DOCTYPE ejb-jar PUBLIC
   "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
      "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd";>

If you are using EJB 1.1 DTD, it makes JBoss to think
you're deploying EJB 1.1 beans.

Pavel



-------------------------------------------------------
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