aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes The dd tag 'message-driven-destination' is optional ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "The dd tag Watch "The dd tag New topic
Author

The dd tag 'message-driven-destination' is optional ?

Dhondiba Joshi
Ranch Hand

Joined: Jan 23, 2004
Posts: 39
Is The dd tag <message-driven-destination> optional ?


SCJP,SCWCD
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
This kind of question is usually best answered by the spec. In appendix B, you can find the following:

<!ELEMENT message-driven (description?, display-name?, small-icon?,
large-icon?, ejb-name, ejb-class, transaction-type,
message-selector?, acknowledge-mode?,
message-driven-destination?, env-entry*, ejb-ref*,
ejb-local-ref*, security-identity?, resource-ref*,
resource-env-ref*)>


After message-driven-destination, there is a question mark. This means that the element can appear 0 or 1 time as a child of the message-driven element.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Dhondiba Joshi
Ranch Hand

Joined: Jan 23, 2004
Posts: 39
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The dd tag 'message-driven-destination' is optional ?