This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes writing repository adapters. 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 » Java in General
Bookmark "writing repository adapters." Watch "writing repository adapters." New topic
Author

writing repository adapters.

Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278
Hi all ,


I need to write a repository adapter for a search engine website.
So that my website can talk to that repository(like CVS or any open source) and pick and index information from there.But this is the beginning and i am
looking over internet about the concepts and how can i start ? Does anyone have any clue on this?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18545
    
  40

Lucky J Verma wrote:
I need to write a repository adapter for a search engine website.
So that my website can talk to that repository(like CVS or any open source) and pick and index information from there.But this is the beginning and i am
looking over internet about the concepts and how can i start ? Does anyone have any clue on this?


I don't think that there is a standard API to get to search data -- like Google or Yahoo or any other site. There may be one for the site, so maybe you can go through support for the site to see if there is one specific for it. Of course, assuming that it even exist, then you have to code specific to each search engine.

As an alternative, you could scrape the sites themselves. Use the URL class, or the http client clients, and get the data directly from the search page.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: writing repository adapters.
 
Similar Threads
EJB3 package not in Maven repository?
Can't find correct Mule Repository
How to add CVS plugin for RAD 6.0
Where can I download the "Jcertify4.0"?
Netbeans: Transferring repository index