aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB 3.0 Queries? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB 3.0 Queries?" Watch "EJB 3.0 Queries?" New topic
Author

EJB 3.0 Queries?

Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

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


When The Going Gets Tougher,The Tougher gets Going
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Check the J2EE tutorial.


[My Blog]
All roads lead to JavaRanch
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

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

Joined: Oct 08, 2008
Posts: 25
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.


Any fool can write code that a computer can understand. Good programmers write code that humans can understand....
Aum Tao
Ranch Hand

Joined: Feb 14, 2006
Posts: 210
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.


SCJP 1.4 85%
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

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

Joined: Nov 24, 2005
Posts: 14688
    
  16

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB 3.0 Queries?