• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need sample source skeleton

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic