Re: Java<->invoke RMI method by hand
Alex Co <[email protected]> Mon, 16 Mar 2009 03:59:43 -0700
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Thank you Niclas for your reply. It was very valuable for me... I think I forgot to say some important things you mentioned: 1. My objective: having a normal RMI server object running and connect it from other computer using a simple home made JVM without RMI not marshalling nor serializing capabilities. I think the serialization and marshalling can be implemented if needed. RMI is to heavy to be implemented on the home made JVM 2. It doenst matter if client side (homemade JVM application) will ve very bound to that specifica RMI server object. It doesnt matter for me. THe important things is: On server side must be a normal RMI Server object 3. RMI deamon could be used on not. Questions: You said that on server side there is a ObjectId. This object ID lives on the rmi deamon right? What about if I connect directly to the server imple object without using the rmi deamon? Please could you clarify the importance of that ObjectID? Whenyou say to get the Remote stub, serialize/deserialize it, marshall it/unmarshal it, execute it, I have to have a standard JAVA socket implementation and serialization and deserialization routines, right? I think that i can implement the serialization and marshalling routines but what about the stub object that was compilled using the sun JVM? It will have socket calls and things like that that will not have support on the home made JVM, right? Yes, I am in much deeper whater. The hardware is very poor and so the home made JVM... Having a normal RMI server object running, can i use alternative serialization and RPC systems, such as Apache Thrift or Apache Etch (incubator) to connect to it? Thank you so much Alex -- View this message in context: http://www.nabble.com/Java%3C-%3Einvoke-RMI-method-by-hand-tp22522888p22535800.html Sent from the Java - RMI mailing list archive at Nabble.com. =========================================================================== 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