Stupid question, but what is RMI? A quick google search didn't give me a good indication of what you're talking about, based on the context. I'd love to help, but I'm not sure what you're talking about
Stupid question, but what is RMI? A quick google search didn't give me a good indication of what you're talking about, based on the context. I'd love to help, but I'm not sure what you're talking about
It's Java RMI! it enables the programmer to create distributed Java applications, in which the methods of remote Java objects can be invoked from other Java virtual machines, possibly on different hosts!
So my problem is the following: I hava a Java Application (let's call it JA) and an Android application (let's call it AA) running on a PC. I want AA to communicate with JA but I don't know how to do since I started working with Android just last week, so I don't have a lot of experience! When you have two Java applications you can use RMI to have them communicating but with Android RMI seems not working at all!
Hi, I've just started playing round with both Android and the google app engine(free) and while neither support RMI, they both support java reflection, I've managed to "roll my own" RMI that works over http from the android phone to a google app engine app(or anywhere else capable of running a servlet), One draw back of using google app engine as the server is all the method calls are of a static(stateless) nature as you can't guarantee that consecutive method calls will be processed on the same server/jvm.
If you would like my code, just ask and I will try and upload it here or email it to you.
I would love to be able to see how you were able to accomplishthe rmi to work. I am currently attempting to write an android app that would be able to connect to a jboss server, but been having a hard time getting the rmi to work.
I would love to be able to see how you were able to accomplishthe rmi to work. I am currently attempting to write an android app that would be able to connect to a jboss server, but been having a hard time getting the rmi to work.
RMI sounds good but won't it achieve something similar by having web services in the form of REST? JSON format is popular and I think it should form the future. RMI to me are too troublesome when all we want is to transmit a message from A to B.
Can you imagine using RMI to get those RSS feeds? It is overkill. A simple HTTP call, the return text in some pre-defined XML format and we are done.
I'd love a look at your code if you still have it! I know this was back in 2010 but I've just become interested in making Android Apps talk to Java processes on other machines.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.