Thanks Rickard. I was thinking in terms of EJB 1.1. That's why I was a bit
confused.

As I understand it, JBoss complies with the EJB 2.0 standard now except for
the persistence manager. However, what I would like to know is when will the
EJB 2.0 spec. become official or "blessed" by Sun? Does anyone know, or has
it already been blessed?

Thanks.

Pat

-----Original Message-----
From: Rickard Öberg [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 03, 2001 03:30 AM
To: JBoss-User
Subject: Re: [jBoss-User] Quick questions about EJB in general


Hey

"Hardy, Patrick, DDI - Garden City" wrote:
> What I don't understand is that it creates an abstract class that a CMP or
> BMP class would implement. The abstract class contains all of the business
> methods and required methods that must be implemented from the EntityBean
> class. Why this additional layer of abstraction? Is this defined in a
> specification somewhere? Aren't the only classes required are home,
remote,
> and bean classes for an EJB? Why should an additional abstract class be
> implemented by the bean class?
> 
> Has anyone here used ejbDoclet before?

Better yet, I wrote it :-)

The EJBDoclet allow you to use the EJB 2.0 CMP style, which means that
the bean provider writes abstract EntityBeans, with abstract get/set
methods for all persistent fields. EJBDoclet then generates a concrete
subclass which is EJB 1.1 compliant, which is thus deployable in an EJB
container.

If you have any further Q's on EJBDoclet, please use the EJBDoclet
mailing list at sourceforge.net/projects/ejbdoclet.

regards,
  Rickard

ps. BTW, you got it backwards: YOU create an abstract class, and
EJBDoclet creates a concrete subclass of it. 

-- 
Rickard Öberg
Email: [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to