Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beginer In RMI

 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i m beginer in RMI, i want to learn RMI with proper way. is there any tutorial or a book like Head First for RMI???
and at what type of action we performed in RMI in our real world application???
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd start by asking yourself *why* you want to learn RMI. Although it has some advantages in specific areas, these are in my view outweighed by its disadvantages, especially given the ready availability of solid web services stacks these days. What kind of problem do you envision tackling with RMI that couldn't be handled at least as well using via web services?
 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i just want learn learn RMI, because want to to develop a client server application by using swing and core java............
is there another better option instead of RMI???
or how we create a client server application by using core java???
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I said, these days you would use web services for what you might have used RMI for 10 years ago.
 
Noel Alex
Greenhorn
Posts: 7
Fedora Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
As I said, these days you would use web services for what you might have used RMI for 10 years ago.

It is true RMI had a lot of problems..

is there another better option instead of RMI???

already suggested

or how we create a client server application by using core java???

Nowadays Web Services are used everywhere because web services is all about exposing and consuming XML..
web services are platform independent.. which means.. Google can make their app with which ever language they wish.. and you just have to know the URL:PORT:Service_Names to consume their services..

RMI is part of Java Networking programming( correct me if i am wrong) and hence many books are there such as:: Java RMI By William Grosso from O'reilly.

Goodluck,
Simple
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nowadays Web Services are used everywhere because web services is all about exposing and consuming XML.

Let's not forget RESTful services that are more likely to exchange JSON. SOAP is not the first choice for implementing web services any more.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11881
196
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Web Services are better in many cases, but if you have 100% control of your environment, and want a quick and easy solution, RMI is worth considering.

Have you gone through the RMI Trail in The Java Tutorials?
 
Sean Keane
Ranch Hand
Posts: 582
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a truely amazing example of dynamic class loading that may be useful. Just unzip, load up in Eclipse, and set it running. Truly amazing .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic