• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

RMI with J2ME

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all,

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??

Thanks in advance
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should inspect JSR-66.
But, also you can try to create web sevice.
 
Saloon Keeper
Posts: 22505
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
rajshkhr pandey
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thank again.
 
This parrot is no more. It has ceased to be. Now it's a tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic