• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Questions Surrouding RMI

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic