Using RMI in JMonkey

Hi All,



Has someone used RMI in JMonkey? Anyone can give me a sample? Thanks in advance



Cheers

Its not different in jme3 than in any other java app.

Than you for your reply. If possible could you give me a simple example? i have tried to implement rmi in JMonkey, but failed. i am eager to find a way to solve this Problem. Thank you very much.

Sure: http://www.lmgtfy.com/?q=rmi+example

Sorry, i can write a normal rmi programm. but i cannot unterstand how to use rmi in a jmonkey. especially the distribution of the sever and client and the communication in jmonkey (how does it run?). please give me a example to let me understand the framework if possible. thank you from the bottom of my heart

… a game is a normal software, if you have no idea how it should look then you have bigger problems than RMI I guess. MonkeyZone is an example of a networked game, if you want to use RMI then I guess you have some idea why you want that? How am I supposed to know how your game should look? If you supposedly know how RMI works then just learn how jme works and combine that knowledge.

ok, i try it again, but thanks for your advices.

Also SpiderMonkey supports RMI. There’s a test for it too.

The issue in RMI though is that there’s a delay each time you call a function so its not really useful for real-time applications