Can someone kindly point me to where I can get a simple sample code skeleton to do the following please?
I need a Java server program to send and receive HTTP messages via a servlet/JSP to retrieve and update data items in a MySQL database. I need to do this in Eclipse, Spring and Hibernate and run it in Tomcat.
I followed different examples but none had gotten me all the way thru using all of the above technologies.
I was working with a Spring 2.5 program that uses *.do files for rendering and also Hibernate 2.x. Both Spring and Hibernate were of older version and gave me all sorts of problems. I couldn't find a Spring 3.0 and Hibernate 3 sample problem that runs on Eclipse (without Maven) that will allow me to use as a template to start written my own working code.
When I got the Spring MVC portion working, my Hibernate code didn't work ... and vice versa. It has been most disconcerting.
I looked everywhere in the Internet to find a sample skeleton that will give me Spring 3.0 MVC, Hibernate 3 and *.jsp for presentation - a combination I need but I couldn't find any. I am not using Maven....
If someone can give me a working project/src skeleton using Spring 3.0 MVC and Hibernate 3.0 in the simplest fashion...that will be most helpful for me.....
I recommend starting slower. First see if you can create a Spring MVC application to output "hello world." This will show you have spring set up correctly. Then look at a Hibernate tutorial and add Hibernate. Alternatively,get a book that covers both Spring and Hibernate.