wood burning stoves 2.0*
The moose likes Servlets and the fly likes Database Search From Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Database Search From Servlet" Watch "Database Search From Servlet" New topic
Author

Database Search From Servlet

Vikas Aggarwal
Ranch Hand

Joined: Jun 22, 2001
Posts: 140
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

Joined: Aug 10, 2005
Posts: 29
I think Spring does exactly what you're describing.

http://www.springframework.org/
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database Search From Servlet