I have two applications say app1 and app2. app1 interact with app2 using rmi technology. Both app1 and app2 are located on the same system. I want to shift app2 to some other system but i am not able to do that since i am getting the error like Registry.Registry.rebind not allowed. I come to the conclusion that rmi does not allow this for security reason. If possible with rmi pease explain me how? I also got information from you forum that it is possible to do such task using jini technology. My requirement is that i want to use jini technology for my app1 to interact with app2 on top of rmi technology. I do not want do to changes to my core application app1 since many other applications like app3,app4 etc are dependent on my app1 and they interact with app1 using rmi. Please suggest me how to achieve this task without doing many change to my app1
All you would have to do to get this application working in RMI is to run an RMI registry on each of the server machines, bind the servers to their local registries, and make sure that clients look up servers using the correct URL. Unless server locations are going to be changing dynamically all the time, new services introduced on the fly, etc. you should be fine just using RMI.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Joined: Jul 18, 2006
I am very keen on implenting jini technology on top of my rmi architecture can you please suggest me how to accomplish my task.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com