• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Questions Surrouding RMI

 
Kai Khan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please can you help me answer these questions, i'm struggling to understand.

1. Describe the process of turning a single process java application into a distributed process application, where a client makes use of methods located on a separate server. You should indicate the specific java classes you would use, and how the shared object makes use of the classes.


thanks
 
fred rosenberger
lowercase baba
Bartender
Posts: 12186
34
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you turned up in your research? Are there specific points you don't understand?

We're really not in the business of handing out answers (to what appear to be homework questions). You have to do some of the work yourself, and we'll guide you. But I doubt you'll get much of a response from your post as-is.
 
Kai Khan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fred rosenberger wrote:What have you turned up in your research? Are there specific points you don't understand?

We're really not in the business of handing out answers (to what appear to be homework questions). You have to do some of the work yourself, and we'll guide you. But I doubt you'll get much of a response from your post as-is.


It is not homework, but revision from a past exam paper.

I'm not sure what it means by "Describe the process of turning a single process java application into a distributed process application" could you explain this bit?
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kai Khan wrote:turning a single process java application into a distributed process application"

I have never heard the term "distributed process", it can be a distributed application or a multi-threaded single process. One process cannot run on two different machines at a time.
(And I am not talking about grid computing or processor arrays).

The question you are saying of involves entire description of RMI works assuming you mean distributed application.
 
Kai Khan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit Ghorpade wrote:
Kai Khan wrote:turning a single process java application into a distributed process application"

I have never heard the term "distributed process", it can be a distributed application or a multi-threaded single process. One process cannot run on two different machines at a time.
(And I am not talking about grid computing or processor arrays).

The question you are saying of involves entire description of RMI works assuming you mean distributed application.


Yeah that's correct, it's the steps taken to turn a single application into a distributed application.

I've talked about implementing the RMI package and what each class in the RMI package would do. but that's not rly answering the question on how you would change a single application into a distributed one. And i;m not sure how i would answer this.
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kai Khan wrote:
I've talked about implementing the RMI package and what each class in the RMI package would do. but that's not rly answering the question on how you would change a single application into a distributed one. And i;m not sure how i would answer this.


Its quite simple.
Single application will have an invoker class which will invoke the method on some invokee class. These two will be packaged together as one bundle, thus single application.
All you need to do is split the invoker/invokee across the network into separate bundles and invoke the (then) remote method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic