For work I’ve been asked to create a web application that will be fairly basic. A front end gui on top of a database that stores data entered in through forms. My problem is that I’m not a web developer, more a back end developer, so I don’t have much experience with Struts or anything else. So I’ve been doing a lot of research and I guess I’m going to just create a generic Struts 2 app using Hibernate. It also seems like Hibernate is made easy when using Spring.
Anyway, my problem is that I learn best through example and try as I might I haven’t found a really good tutorial or example of a basic Struts app that makes use of Spring and Hibernate. I’ve read just about all of them out there I can find and so far they all seem to leave something out, or just assume I know something that I don’t, or they’re too outdated. So I guess I’m asking if someone can perhaps point me to an example app that creates a full Struts, Spring, and Hibernate app.I’ve read the tutorials on the Struts websites, and attempted to get through the documentation on the Spring and Hibernate sites but I just need something that walks me through an example with some decent explanations from beginning to end. If anyone has some thoughts please let me know. Thank you.
And I did search through here and read a number of suggestions I’ve found but still nothing that I’m looking for.
You can try to use AppFuse 2 to generate a web application using Struts 2 , Hibernate and Spring . It contains a simple web form that creates an user account and save it to the DB. Here is the demo site for the generated web application .Use admin/admin to login as an administrator , user/user to login as a normal user.
You should probably have to know Maven too as AppFuse 2 uses it to generate the source code for the web application and the generated application uses it as the build tool.