• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB-QL where?

 
Marco Lombardo
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I study a Head First EJB Book, but i don't found where the EJB-QL go in the Deployment Descriptor. Exist any tag where the EJB-QL statement are?
And how the contaniner knows the mapping betweeen the EJB-QL statement and the relative method?

P.S. I study for my SCBCD only on the Head First EJB Book. Is this sufficient to pass the exam?



Thanks
Marco
 
Pranav Shukla
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HFEJB covers everything to pass the SCBCD exam. The SCBCD exam doesn't require you to remember all tags in ejb-jar.xml. You are not required to know where the ejb-ql tag fits into ejb-jar.xml, but here is an example - the query tag goes inside the entity tag.



It is not required for the SCBCD but here is the ejb-jar dtd.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic