Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why JMS?

 
Brendon Woodford
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
What are the uses of JMS? Do we use that in application integration.
If yes can anybody please tell me how to integrate two applications one a Travel service which allows the user to insert data for booking a hotel and how hotel application does the processing and sends response to the hotel page.

Is there a better approach than JMS may be web-service rpc?

Thanks a lot
Brendon.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34378
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JMS is for asynchronous processing. Web services are usually used for an immediate reply. I would think you would want a synchronous reply for the travel service.
 
Udara Amarasinghe
Ranch Hand
Posts: 109
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Brendon,

Yes Jeanne is correct and we can use JMS for asynchronous message processing. That means threads of JMS message senders or receivers do not wait for responses.

I think you can use web service technology to establish connection between travel agent system and hotel system. In this case hotel system can implement a web service that enable booking facility and then travel agent can implement that hotel web service using WSDL as a client of hotel web service.

And you can enable hotel page to read those changed data in hotel database directly or through a stateless bean.
 
Brendon Woodford
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne and Udara for the reply .

That means webservices is the integration technology here isn't it?
The hotel will keep updating inserting and deleting the data in their system when new visitors come which is independent of the travel system. How is the Travel system supposed to get the updated data when something changes at the hotel end.

What are the ways of allowing the user of the travel agent system to make online payment of their suite booking or car rental? who are the parties involved.
Could you show a class diagram of the activities involved in a online payment using credit card or debit card.

Thanks again.

Brendon.

 
Udara Amarasinghe
Ranch Hand
Posts: 109
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Brendon,

You can use same technique. Means hotel system can implement facility in their web service to distribute information to its web service clients.

Sorry I can't help you much with online payment stuff because I am also new to that. So this link perhaps help you. http://www.web-source.net/credit_cards.htm

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic