File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 Hibernate3 example, please!

 
Kevin P Smith
Ranch Hand
Posts: 362
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic