This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Questions Surrouding RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Questions Surrouding RMI" Watch "Questions Surrouding RMI" New topic
Author

Questions Surrouding RMI

Kai Khan
Greenhorn

Joined: Apr 02, 2013
Posts: 3
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

Joined: Oct 02, 2003
Posts: 10909
    
  12

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.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Kai Khan
Greenhorn

Joined: Apr 02, 2013
Posts: 3
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

Joined: Jun 06, 2007
Posts: 2709
    
    5

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.


SCJP, SCWCD.
|Asking Good Questions|
Kai Khan
Greenhorn

Joined: Apr 02, 2013
Posts: 3
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

Joined: Jul 26, 2007
Posts: 9990
    
    7

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.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Questions Surrouding RMI
 
Similar Threads
Clustering !!
Locking
Servlet as an rmi client
Confusion with RMI-IIOP and Java-IDL. Need your help
some java interview Questions