• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need sample source skeleton

 
Mimi Tam
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Folks,

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.

Any sample skeleton would be greatly appreciated.

Many Thanks...
 
Paul Clapham
Sheriff
Pie
Posts: 20724
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I count eight different technologies in that list. Face it, you aren't going to get a simple code skeleton for that.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mimi Tam wrote:I followed different examples but none had gotten me all the way thru using all of the above technologies.

This implies you made some progress. Which particular technology did you get stuck on? What was the error message?
 
Mimi Tam
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much for your follow-up Jeanne.

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.....

Many Thanks...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mimi,
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic