aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JMS, MDB, MQSeries 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 "JMS, MDB, MQSeries" Watch "JMS, MDB, MQSeries" New topic
Author

JMS, MDB, MQSeries

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Guys,

If anyone has a good tutorial on MDBs.. can you please post it here? I looked allover the internet but could not really find anything.

Thanks.


Be Humble... Be Nice.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

Have you tried using an IDE like Eclipse/MyEclipse and have it generate an MDB bean for you to see how to set it up?

Most of the work in MDBs really has nothing to do with the bean. Its more setting up the JMS connection factory and the queue/topic on the server. Once those are configured, the MDB part is pretty easy.


My Blog: Down Home Country Coding with Scott Selikoff
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Hi Scott,

I did Session beans and Entity beans using WSAD 5.1.2 but I cannot find a tutorial for MDBs using WSAD. I have other IDEs too on my local machine. I have Eclipse 3.1.2 (No Application server) and RAD 7.0. If you know any tutorial on any IDE, on how to do a sample project with JMS and MDBs... can you please share it? It will really help me a lot.

Thanks.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

I can't think of any off hand, but really its just a session bean with a single onMessage() method (instead of many methods session beans have). I believe WSAD has the option to create one, the stuff you should really look into is tutorials on how to setup the queues and connections factories.
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Ok Scott.. Thanks. I will see if I can find any tutorial.
 
 
subject: JMS, MDB, MQSeries