ok! so it was like u dont want to use any database language!
Thats actually fine. Usage of databse languages otherwise also consumes a lot of time. When java offers plenty of file streams why not just store ur own database in a simple text file and use binary search patterns to give a superior speed to ur search engine...nobody will beat ur engine dear!