Re: asynchronous processing
Dan Creswell <[email protected]> Sun, 21 Oct 2007 11:43:16 +0100
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
Hi Craig, Craig Landry wrote: > I am curious what people are using for asynchronous processing and > queues in Jini. I am used to a J2EE world where you just drop things > into a JMS queue so my first thought is to run independent JMS servers > and have those register themselves as services. It also looks like > something could be rigged up with JavaSpaces, but I don't see any > persistence offered with that so it seems like there is risk for data The JavaSpaces spec is open in this area to allow implementation latitude however I will make specific mention of the following paragraph of the spec under Transactions and ACID properties: "Persistence is not a required property of JavaSpaces technology implementations. A transient implementation that does not preserve its contents between system crashes is a proper implementation of the JavaSpace interface's contract, and may be quite useful. If you choose to perform operations on such a space, your transactions will guarantee as much durability as the JavaSpaces service allows for all its data, which is all that any transaction system can guarantee." And then I'll say that most implementations I'm aware of provide both transient and persistent options. > loss should machines crash etc. Perhaps that is a misunderstanding on > my part though. > With my coaching hat on I'd say less misunderstanding more not enough research however the materials are somewhat scattered which makes research harder to do. > So my question: What are people using for asynchronous processing with Jini? > JavaSpaces and JMS :) > Thanks. > > I should also note that I currently only have email access one day per > week, so I will be slow to respond to any replies. > Hope that helps, Dan. =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JAVASPACES-USERS". For general help, send email to [email protected] and include in the body of the message "help". To view past JAVASPACES-USERS postings, please see: http://archives.java.sun.com/archives/javaspaces-users.html