• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using JMS in a high Volume transaction scenario

 
Chris Donald
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I know that JMS is useful in a high volume transaction situation.But is there a way I can simulate this situation and then design a JMS solution for this?

Please advise.

Thanks
Chris
 
Scott Selikoff
author
Bartender
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simulate what? What are you trying to do exactly? Better question, do you understand why JMS is good for high volume scenarios?
 
Chris Donald
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Scott.I do have some understanding of JMS.With the help of MDBs in EJBs asynchronous calls can be made.But what I am not clear about is the application of MDBs and JMS in a high volume transaction environment.

Thanks once again.

Chris
 
Scott Selikoff
author
Bartender
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where JMS differs from synchronous calls is in its ability to queue messages. Whereas in synchronous environment, messages must be handled immediately and processes are waiting for items to finish before continuing, the queue'ing mechanism of JMS allows items to keep going without necessarily having to wait for some service.

I say 'without necessarily' because there may be cases where waiting for a message to be processed still occurs although in this situation the application can just poll some shared table for job status, take a lot of load off if it had to wait directly on the process. Imagine, for example, if when you copied a file on your computer your entire system froze until the task was completed. With JMS, you can perform such operations and do other things while waiting. In a high volume transaction environment this is ideal since processes are always hitting each other.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!