Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB 3.0 Queries?

 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have below Queries.

1> What Is a Message-Driven Bean?

2> When to Use Message-Driven Beans ?

3> What Makes Message-Driven Beans Different from Session and Entity Beans?


Help provided will be highly appreciated.



--
Deepak Lal
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the J2EE tutorial.
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Christophe Verre and Ranchers,

Can you please explain it in the forum here?


--
Deepak Lal
[ December 10, 2008: Message edited by: Deepak Lal ]
 
Casttro Francis
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Deepak,

MDB are similar to stateless session beans. It will not maintain any session with clients..

Ex were MDB will used used: The MDB will pick messages asynchronously from the Queue and if you want you can do some business logics and send the message to another Queue or database. If you configured your MDB for some 50 instances then 50 messages were picked from the Queue and it will process simultaneously.

If you have any message dependency then don�t go for MDB

I guess you didn�t get anything. That�s the reason Christopher assist you to read the tutorial.. It�s better to come from basic understanding.
 
Aum Tao
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepak,
Since you seem to be new to EJB, it would be better if grab a book like "EJB 3.0 in Action" to understand these concepts. It won't be possible to describe these concepts in a few lines to a newbie.
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all for your valuable input,I will go through the tutorial and get back to you in case of clarifications.

--
Deepak Lal
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please explain it in the forum here?

The reason I posted the link is because you are asking for a topic which is too long to discuss. I think it would be better to read the article first, or buy a book like EJB3 In Action, and know the basics by yourself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic