File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring requirement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring requirement" Watch "Spring requirement" New topic

Spring requirement

Archana Katakam

Joined: Aug 21, 2013
Posts: 7

hello guys!

in an spring application , we are using only three classes like bean class,action class and controller(here saving object).
my requirement is i need to get particular value from the form and get that value related record from database.
so for that requirement i nees to use select query with where condition to retrieve records.

here my problem is i am unable to understand that in which class i need to write this hibernate select query logic and perform .
in controller class i am able to save total object but unable do my requirement.
i tried all possibilities please give me clear idea about this........

i am new to spring ,may i am a simple question but it is really very important for me......

please suggest me ad if any sample program satisfies the above requirement pl attach.

Ashwini Kashyap
Ranch Hand

Joined: Aug 30, 2012
Posts: 90
To get started, I think you should first go through as to what is MVC architecture and then you can proceed further.

To integrate spring with hibernate, you may refer here.

Ashwini Kashyap |
Rajitha Gunawardhane
Ranch Hand

Joined: Dec 11, 2007
Posts: 32
Also have a look on DAO pattern as well.
I agree. Here's the link:
subject: Spring requirement
It's not a secret anymore!