• 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

Struts2 Hibernate3 example, please!

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please!!!
Does anyone have a simple Struts2 Hibernate3 example, I have been trying to THREE DAYS to get a simple 1 page app to work, but everytime I restart it I get yet another error about missing classes from JAR files. There are too many to mention but at last count I had about 30 JARs in my LIB folder which seems massivly excessive!

Does anyone actually develop with this technology because at the moment I have serious doubts about it's ability compared to EJB3.1 & Servlets3 which is what I usually use.

Please does anyone have a link to a simple working example of at the very least a list of the JARs is actually need as this is beyond a joke.

JSF fell flat on it's face when I tried it, seems Struts2/Hibernate3 is going the same way at the moment!

Cheers

KS
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why not use Maven, which manages library dependencies for you?

A minimal S2 app requires maybe a half-dozen jars. I don't actually know how many jars Hibernate requires; the ORM forum might be a better place to look for that.

Yes, people are using it. People are using JSF, too.
 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK
Got a simple 1 page Struts2 page thing going, minus the Hibernate (1 step at a time!)

Was just wondering, can you use Annotations for Struts rather than the horrid struts.xml for navigation?
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might try a different approach when asking questions.

The convention plugin provides both configuration-free and annotaton-driven configuration.
 
reply
    Bookmark Topic Watch Topic
  • New Topic