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 Java search 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 "Java search" Watch "Java search" New topic
Author

Java search

Adam Kjems
Greenhorn

Joined: Dec 02, 2006
Posts: 4
I've been assigned to make a java search engine that can sort and display information about universities, according to certain criteria. I've decided to use xml since its universal and the data can be easily edited in excel. Can anyone suggest a good tutorial or give lend some advice on xml searching through java.
Philip Shanks
Ranch Hand

Joined: Oct 15, 2002
Posts: 189
Originally posted by Adam Kjems:
I've been assigned to make a java search engine that can sort and display information about universities, according to certain criteria. I've decided to use xml since its universal and the data can be easily edited in excel. Can anyone suggest a good tutorial or give lend some advice on xml searching through java.


You can start with the XQuery page at W3C, and if you decide that's still the approach you want to take, then search for XQuery tutorials on Google.

You will also want to see if there is an implementation that you are comfortable with, and most of what I have seen is part of some larger product, like an app server or XML database. Scan through the products section of the W3C page referenced above.

If I were undertaking this project, I would check out the Saxon parser project as a good implementation of XQuery.

Good luck!


Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

An alternative would be JXPath.

Also Lucene might be interesting to you - it's an open source Java search engine.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Aryan Khan
Ranch Hand

Joined: Sep 12, 2004
Posts: 290

this might helpSearch Engines in Java


OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java search
 
Similar Threads
Can a servlet make XML tags on the fly...?
xsl or not xsl?
TOMCAT-MANAGER AND ADMIN CREDENTIALS
Populate MultiSelect Dojo box onLoad from XML data file
Converting class code back to source code