Re: jini 2.1 examples
"John McClain - Sun Microsystems, Inc." <[email protected]> Mon, 9 Jun 2008 10:16:38 -0400
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
Bulzan Stefan wrote:
> Hello,
>
> I refered to TransactionManagerAccessor, the class that is used to obtain
> TransactionManager reference in JavaSpaces Principles Patterns and Practice
> book examples. Here they use
> com.sun.jini.mahout.Locator and
> com.sun.jini.outrigger.Finder classes from jini 1_0 distribution
> that aren't in 2.1 distribution.
> Are there similar classes in Jini 2.1 that can be used to replace them.
> Otherwise, how can I get a reference of the transaction manager in order to
> use transactions in my applications.
> It would be great if you have a short simple example of a transaction usage
> in Jini 2.1
How are you finding the space? To first order you should be able to use
the same code with a different template :
new ServiceTemplate(null,
new Class[]{TranactionManager.class},
null);
--
John McClain [email protected]
Sun Microsystems, Inc.
Burlington, MA
And it is that way today. We are tricked by hope into starting
companies, beginning books, immigrating to this country and investing
in telecom networks. The challenges turn out to be tougher than we
imagined. Our excessive optimism is exposed. New skills are demanded.
But nothing important was ever begun in a prudential frame of mind.
- David Brooks
===========================================================================
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