Re: Replacing JRMP with JERI
Robert DiFalco <[email protected]>
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Before I go too far down this path, does the NIO implementation of JERI solve the C10K problem or does it still use a thread per socket? R. -----Original Message----- From: Gregg Wonderly [mailto:[email protected]] Sent: Thursday, July 07, 2005 3:48 PM To: Robert DiFalco Cc: [email protected]; [email protected] Subject: Re: Replacing JRMP with JERI Robert DiFalco wrote: > If it's as lightweight (memory and processor wise) as RMIRegistry and > can run in the same JVM as my agents and servers then there is no > reason. It's just not a typical reggie scenario where you would have a > more centralized LUS. The typical discussions about reggie may lead you to believe that people run just central lookup servers. I put one on every machine that I have a service running on so that I can also use its existance as another health check. In Jini2.0, there is the com.sun.jini.start package which has a very lightweight container implementation in the ServiceStarter class. It provides a mild level of isolation between applications in the same VM using classloader based isolation. It also allows you to specify a separate policy file, codebase and classpath for each application. It is biting off a little bit more of Jini, namely that package, and the ConfigurationFile stuff. But, I think you'd find it fairly straight forward to use to create your own single JVM collections of RMI servers/clients. At issue is that Reggies public API is designed to run with ServiceStarter, and not using it, can end up being more work... Gregg Wonderly =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html