• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mock questions

 
Sunjeev Shetty
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When will a container fail to invoke the ejbRemove() method?
1.when the client invokes the remove method after a transaction has rolled back.
2.when the client fails to invoke a method on an activated session bean before the timeout period expires
3.when the client fails to invoke a method on a passivated session bean before the timeout period expires.
4.when the session bean throws an application exception back to the client that the client fails to handle correctly.

Which message bean deployment configuration is the message bean container required to support?
1.a single message driven bean associated with two different JMS queues.
2.a single message driven bean associated with a JMS durable subscription
3.two message driven beans in different applications assocaiated with the same JMS queue.
4.two different message driven beans in the same application associated wit the same JMS queue.

Thanks
 
Balaji Anand
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first one the answer is 3. it is talking about stateless session bean
 
Sunjeev Shetty
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Srividhya
 
Rahul Mishra
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Second one..answer should be 2,3,4...is it?
 
Sunjeev Shetty
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Rahul.The answers are not given.For the second question there is one right answer.
 
Rahul Mishra
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then 2 should be the answer..but i dont think i have seen such issues even in the EJB specs...anyone disagrees?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic