Re: Replacing JRMP with JERI
Robert DiFalco <[email protected]>
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Are there any plans to split JERI out from Jini say into a net.jeri.* package? Also, I was hoping for more of a step by step tutorial. Not so much on moving from Jini 1.0 to 2.0, more on just moving a regular old J2SE JRMP system to J2SE JERI. Anything like that around? R. -----Original Message----- From: Gregg Wonderly [mailto:[email protected]] Sent: Tuesday, July 05, 2005 9:09 AM To: Robert DiFalco Cc: [email protected] Subject: Re: Replacing JRMP with JERI Robert DiFalco wrote: > Is there a simple tutorial for replacing the usage of JRMP in an > existing application with JERI? Also, how tied to JINI is JERI? > Basically, I would like to use JERI just as a replacement for JRMP > without pulling in JINI. John McClain did a nice series on "Moving code to 2.0". Start with the article at http://archives.java.sun.com/cgi-bin/wa?A2=ind0303&L=jini-users&P=R7559& I=-3 Yes, you can just use JERI. You should consider JERI to be RMI 2.0. All you need to understand is the use of Exporter and ProxyPreparer to get started. If you want to take advantage of the more complete security features in JERI, then you'll need to look at some of the tutorials in the "Hello World" example on configuring an Exporter that utilizes constraints supported by a particular invocation layer factory implementation. Also, the use of ConfigurationFile input files for setting up your Exporter and other pieces makes it really easy to have a simple configuration for testing and a complete configuration for production. In particular, the delays associated with advanced key generation, can make testing cycles slower than necessary if you use that level of security. 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