aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Is abstract-schema-name Mandatory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Is abstract-schema-name Mandatory" Watch "Is abstract-schema-name Mandatory" New topic
Author

Is abstract-schema-name Mandatory

Mohammed Eesa
Greenhorn

Joined: May 06, 2004
Posts: 17
Is <abstract-schema-name> deployment descriptor element in the ejb-jar file is mandatory.In Ed Roman it is specified as optional.
James Turner
Ranch Hand

Joined: May 10, 2004
Posts: 194
Yes its optional.

I expect it is something to do with BMP. With BMP the programmer specifies all persistence in the bean code, therefore persistent elements in the DD are not needed.

James.
[ November 19, 2004: Message edited by: James Turner ]

James<br />SCJP 1.4 - 92%<br />SCJD - 93%<br />SCWCD 1.4 - 95%<br />SCBCD 1.3 - 100%<br />SCEA - 92%
cyril vidal
Ranch Hand

Joined: Jul 02, 2003
Posts: 247
Hi,

spec p.469:
the optional abstract-schema-name element must be specified for an entity bean with contzainer-managed persistence and cmp-version 2.x


So, it's optional but in a certain sense, depending of which kind of persistence you use...

Regards,
Cyril.


SCJP 1.4, SCWCD, SCBCD, IBM XML, IBM Websphere 285, IBM Websphere 287
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is abstract-schema-name Mandatory