wood burning stoves*
The moose likes Distributed Java and the fly likes question about distributed object based system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "question about distributed object based system " Watch "question about distributed object based system " New topic
Author

question about distributed object based system

masoud keshavarz
Greenhorn

Joined: Jul 10, 2012
Posts: 18

Hi. I don't know much about java.

In college my professor asked a project for "computer organization" course and I want to choose something about "distributed object based system" and implement it.

Ive read several pages of this document:
http://www.computing.dcu.ie/~hamilton/teaching/CA464/notes/Objects.pdf

In fact Im afraid if I can implement it or not. Im not a bad programmer but I dont have enough experience with java.

I need to ask you several questions, please help me.

May you tell me several easy projects about "distributed object based system" for implementation?
Do you know any good tutorial that help me to finish my project?
If you think you know any tips that may help please share it with me.

Thank you for help.


Computer Enterprise Masoud Keshavarz
For more information contact masoudk1990@yahoo.com
masoud keshavarz
Greenhorn

Joined: Jul 10, 2012
Posts: 18

Im sorry but I asked this question in wrong place.
May you put it in "Distributed Java" forum please?

Thank you.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Do you have experience with other OO languages, such as Smalltalk or C++/C#?
If your experience is with non-OO languages such as C, I'd be concerned that you've bitten off too much.

If you look at other posts in this section of the Ranch, you will see many posts from me stating my opinion that distributed objects are not a great idea. But if you still want to do this, I suggest you google for "java rmi tutorials" and implement one or two of these as examples. The tutorials will result in simple distributed object systems.
masoud keshavarz
Greenhorn

Joined: Jul 10, 2012
Posts: 18

Pat Farrell wrote:Do you have experience with other OO languages, such as Smalltalk or C++/C#?
I suggest you google for "java rmi tutorials" and implement one or two of these as examples. The tutorials will result in simple distributed object systems.


Thank you for reply, I know OOP.

I bought this book: "Distributed Systems, Tanenbaum". This is a good book for understanding EJB, RIMI, And CORBA.

And I will try to implement some easy "java rimi tutorials" to understand how does it work.
Thank you again for reply.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

masoud keshavarz wrote:[This is a good book for understanding EJB, RIMI, And CORBA.

Be careful. While there may still be a few places using EJB, both RMI and CORBA have lost acceptance in the real world.

RMI and CORBA tried so solve problems that folks thought would be important back in the mid 1990s. But their complexities kept getting in the way of actually solving anything.

Modern systems send messages, often using technology such as REST. Remove objects and remove method executions are not done much in practice anymore.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Note that JMS - java message service and JavaSpaces can provide the basis for a distributed object system.

Gigaspaces is a commercial JavaSpaces implementation - I think they still provide a "community" version for experimentation.

Bill
masoud keshavarz
Greenhorn

Joined: Jul 10, 2012
Posts: 18

Thank you all very much for reply.

Now I must choose an appropriate "Operating System" to work on "Distributed Objects". I have "Linux Mint" but I think its better to choose "MINIX" because during of my research about "Distributed Systems" I noticed the name of "MINIX" so many time.

Are you agree with me?
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Look up Minux on wikipedia.

Check to make sure its current, and well supported. Any modern Linux should do fine if you find Minux doesn't meet your needs.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

No, I don't agree.

If you're going to choose Java to demonstrate a distributed object-based system, then there are two things to consider:

(1) The operating system you run your application on should support Java. In other words a Java environment should already exist for that O/S.

(2) Nothing else matters.

In fact you might want to run the cells of your distributed system on different operating systems, just to demonstrate that this is so.
masoud keshavarz
Greenhorn

Joined: Jul 10, 2012
Posts: 18

I still have problem to find a good subject for implementation.

I found "Chat System" and "Card Game" subjects. But I need something much more hard.
What can we implement with "RMI" except "Chat System"?

Thank you for help.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

masoud keshavarz wrote:I still have problem to find a good subject for implementation.


I have long thought that a two person, two computer game of tic-tac-toe is a nice example assignment.
masoud keshavarz
Greenhorn

Joined: Jul 10, 2012
Posts: 18

All this subjects refused:
chat system, card game, remote file system, exam, client server, tic tac toe.

He told me they are TOO simple.
He said I must read several ISI articles about "Distributed systems".
He said if I read ISI articles I will find problems in "Distributed systems" and I can work on their problems.

In end he suggested to research about "E-commercial in Distributed systems".
And he said you will fail this course if you dont find a good subject for your project in one week.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
How about this topical application - suggested by my involvement with the upcoming election.

Using Java Message Service
1. County voting authority "publishes" ballot objects to the individual precincts - ballot objects contain all the races and candidates with initial counts = 0
(for this demonstration assume each precinct gets the same ballot - not true in real life)
2. each precinct "client" election judge sets the counts for each race and flags the count as final. Sends ballot object back to county.
3. County authority reads counts and reports ballot results for total county

Embellishments could include security passwords, checksums, etc..... what fun!

Bill

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: question about distributed object based system
 
Similar Threads
Final Year Project
Java Speech Recognition
Java Socket buffering problem and nonblocking
Distributed Cache
Performance - JDBC vs XML