I have developed a RMI application which works fine with my desktop. The server serves to the clients request after client logs in.
Now I want to know that can I develop a J2ME application so that I can use the same server code and connect to it and use the services of server?
Or otherwise suggest me what to do??
A web service might be a better solution. If you attempt to do RMI over a telephone carrier's network, you may find that they firewall the RMI ports. I've already run into something similar on my own phone.
RMI does best when all components are on the LAN. If you're traversing the Internet, web services are somewhat slower, but they can go places that the more specialized channels don't reach.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Oct 14, 2009
Thanks for your reply.
I think it is right that firewall can block the rmi connection so my code is of no use to my J2ME application that I have asked.
Or I have to develop new program for that?