This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.....
author & internet detective
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com