Search the web
Sign In
New User? Sign Up
djug-discuss · Denver JUG Discussion Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
JMS vs. HTTP?   Message List  
Reply | Forward Message #620 of 652 |
(Thought I would put this architecture question out there to the
 group, and see if some of the geniuses on the group had some good
 insight).

 We are trying to decide between using HTTP, or JMS as a communication
 mechanism for a portion of our system.

 Here are some of our requirements.
 -Guaranteed delivery
 -Asynchronous communication
 (Well, these things scream out JMS right, but wait there's more)
 -Lightweight protocol (we will be sending a lot of communications).
 -Client is external to our enterprise (may or may not be Java, and
 likely will not be the same JEE server we use to produce messages).
 -Our messages consist of a single XML document.

 So wondering if anyone has any opinions of which choice would be better.

 With HTTP, we would have to code the guaranteed delivery mechanism
 (which would be simple enough, as we could just wait for a response,
 and when received, move onto the next communication).

 I am pressing for JMS, as smart people have already completed the
 persistence mechanisms.  But the client developer is worried about the
 increased overhead and development time of JMS.

 I am also worried about lag between the request, and response, if we
 don't receive a response in a timely manner, we could have resource
 leaks (while waiting on the response to return, we would be
 synchronous).

 Quite frankly, I have some older developers that are protecting their
 "old way of doing business" and are pressing for using HTTP for this
 asynchronous communication.  I am wondering if maybe JMS is overkill
 for what we want (and maybe I am being the "young wippersnapper" that
 is pushing newer technologies just for the sake of using them).

 Thanks for any insight in advance.

 
***********************************************************
Mike Wolfson                
Senior Software Engineer         Phoenix, AZ, USA


"Imagination is more important than knowledge."
                                                 ~ Albert Einstein
***********************************************************




Tue Sep 2, 2008 11:41 pm

mswolfson
Offline Offline
Send Email Send Email

Forward
Message #620 of 652 |
Expand Messages Author Sort by Date

(Thought I would put this architecture question out there to the group, and see if some of the geniuses on the group had some good insight). We are trying to...
Mike Wolfson
mswolfson
Offline Send Email
Sep 2, 2008
11:41 pm

I'd setup a HTTP end-point that the client can talk to. This end-point could be Tomcat or something similar. All the end-point does is consume the message and...
Brian Pontarelli
brokenwren
Offline Send Email
Sep 3, 2008
1:25 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help