• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database Search From Servlet

 
Vikas Aggarwal
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I was wondering if there is any open source framework or tool for database searching.

For example I can define the rules for searching (basically building a query in XML instead of hardcoding it in servlet) and when servlet passed the search arguments it searches the defined database and return the results in any form e.g. ResultSet, collection etc.

Is there any such generic DB search tool? Please do let me know.

Thanks a lot.

Regards,

Vikas Aggarwal
 
Iris Hoekstra
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Spring does exactly what you're describing.

http://www.springframework.org/
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well, i disagree with the previous poster. you are looking for a persistence / retrieval strategy. spring is a lightweight application framework.

have a closer look at
- jdo
- hibernate
- iBatis
- jdbs / stored Procedures

and see what fits your needs.

jan

ps: and use it with spring :-)
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have an Object Relational Mapping forum on Javaranch.
Let me know if you want this thread moved and I will send it over there for you.
 
Vikas Aggarwal
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do move it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic