Because the EJB spec says so. CMP 2.0 EJBs are always abstract.

http://java.sun.com/products/ejb/docs.html

The class that Middlegen generates will live inside your EJB container 
(WLS, JBoss), and the container will automatically make a concrete 
subclass of it.

-But it's not these classes your application should deal with. You 
should deal with the EJB interfaces (that XDoclet generates). 

You sound like you're new to EJB. Recommended reading:
http://www.theserverside.com/books/masteringEJB/index.jsp

HTH
Aslak


----- Original Message -----
From: Ê  <[EMAIL PROTECTED]>
Date: Tuesday, August 13, 2002 10:28 am
Subject: [Middlegen-user] The class of entitybean that Middlegen 
generated is abstract,why??

> And I used the file(*Bean.java) for the source of Xdoclet,
> 
> I got an abstract class(*CMP.java),too.
> 
> How can I get a concrete class?
> 
> Could someone help me?
> 
>                thanks!!
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
>



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to