This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!