Re: Jini+JavaSpace05 to j2ee
Brian Pontarelli <[email protected]> Sat, 22 Dec 2007 08:41:06 -0700
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Dan Creswell wrote: > Hi Heiko, > > Heiko Braun wrote: > >> Yes, you are right. The spec doesn't say do. >> However I think it's better to leverage JCA in this case, >> which offers pooled connections and message inflow. >> > > I feel compelled to point out that pooling of connections etc doesn't > require JCA, that can be done inside of a service proxy no problem at > all, assuming it makes sense given that the proxy can use whatever means > of communication to the JavaSpace it chooses..... > I definitely agree on this. There are lots of good pools out there for any object, including connections, resources, etc. If you can't find a good one, the concurrent utilities also has some good classes you can start with. Futures and thread pools are pretty simple in JDK 5+ and that is how I build most of my stuff. -bp -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]