GeeCON Prague 2014*
The moose likes Distributed Java and the fly likes advanced technology than RMI for developing Distributed applications? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Distributed Java
Bookmark "advanced technology than RMI for developing Distributed applications?" Watch "advanced technology than RMI for developing Distributed applications?" New topic
Author

advanced technology than RMI for developing Distributed applications?

karthick chinnathambi
Ranch Hand

Joined: Jul 06, 2009
Posts: 196

am doing my final year project in distributed systems....

which technology is more efficient.....
i am familiar with RMI...
any other thing more efficient than RMI?..... please mention..
also mention the links where i can get good tutorials about those topics.....

Thanks in advance.......


KARTHICK.C , SCJP6-93%
(Born to Win)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42024
    
  64
"Distributed" is a broad area. Depending on what, exactly, you mean by it, an number or of technologies/APIs might fit the bill - Jini, HTTP, messaging services, Corba, web services, ...


Ping & DNS - my free Android networking tools app
karthick chinnathambi
Ranch Hand

Joined: Jul 06, 2009
Posts: 196

i am planning to do distributed content-based search system.....
which technologies will be useful for me..........
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42024
    
  64
What do you mean by "distributed content-based search system" - what is distributed about it - the content? Would it be like a web search engine that spiders multiple web sites? You'll need to provide more details before we can attempt to advise on possibly helpful technologies.
karthick chinnathambi
Ranch Hand

Joined: Jul 06, 2009
Posts: 196

sorry....
content based search in a distributed system...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42024
    
  64
Yes, but what kind of distributed system? How is it distributed? If you want to get help, you need to provide a meaningful problem description.
karthick chinnathambi
Ranch Hand

Joined: Jul 06, 2009
Posts: 196

The distributed system is mainly for storing and managing files...........
Each server on the distributed environment will have a repository.........
The load-balancing is to be done based on the file-repository size so that the files posted to the distributed environment will be evenly distributed across it...........
The client can connect to any system(server) in the distributed environment and post,retrieve,delete and search for files.........
The search will be content based search.........

is it possible to achieve content based search for any sort of documents(like .pdf ,.txt, .doc) etc....?
Is there any limitation if we use RMI to achieve distributed environment setup.............?
Tay Thotheolh
Ranch Hand

Joined: Aug 07, 2008
Posts: 84
I personally think that whether it is Corba , RMI or whatever, it is best you choose something you are most familiar and you like best. Yes, you have to consider the bandwidth , overheads ...etc. I know RMI so I would use it.I would also prefer to script my own protocol so i can control what i want... sounds silly but that's my choice.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42024
    
  64
If the software that's used to search the files is supposed to be available on each server, then every single server needs to inform all other servers of any changes made to it - not a very appealing proposition. An alternative would be to have a single "master" server that collects updates from all servers, and then distributes them to all servers; that way, only one server needs to communicate to all others. Taking the "master server" concept a bit further, I think it would be preferable to have just a single server (the master) for the searching; any search results could then point back to the server where the file is to be found.

While using RMI is a possibility, it's kind of on its way out in this world of interoperability. Using a RESTful web service to send the updates would be a better approach, IMO. (Corba, or course, is truly dead.)

For indexing and searching the Apache Lucene library is king these days. If you can extract the text and metadata that you want to go into the index by other means (maybe JPedal or PDFBox for PDFs, Apache POI for MS Office files, etc.) then it should work nicely for this.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12791
    
    5
Google does distributed content search via the so called "Map-Reduce" algorithm.

Hadoop is an open-source implementation and is becoming very widely used!

Bill
karthick chinnathambi
Ranch Hand

Joined: Jul 06, 2009
Posts: 196

Thanks for all your replies...
I really got an idea........
 
GeeCON Prague 2014
 
subject: advanced technology than RMI for developing Distributed applications?