Re: Jini+JavaSpace05 to j2ee
Gregg Wonderly <[email protected]> Sat, 22 Dec 2007 16:21:00 -0600
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Brian Pontarelli wrote: > 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. My perspective is that the more software you use, the more bugs and interactions you'll get to visit. It's certainly not a good idea to write everything, but there are many useful small tools that you can assemble into the right solution rather than taking something large and using a very small amount of it. Gregg Wonderly -------------------------------------------------------------------------- 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]