• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFEJB page 447 sharpen your pencil solution please!!

 
Meherdad Bomanbehram
Ranch Hand
Posts: 142
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ,
Please help me resolve this question .

Question : Of the three types of methods you put in your bean (mdb), check off the ones the compiler cares about

Compiler-Checked?
1> ejbCreate()

2> onMessage()

3> ejbRemove() and setMessageDrivenContext()


I would think the compiler would check for onMessage() from MessageListner interface and for ejbRemove() and setMessageDrivenContext() from the MessageDrivenBean interface. would that be correct ?
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you are correct
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic