RSS RSS feed | Atom Atom feed

Hibernate, Struts, Tomcat, MySQL in 15 min or less

Or your money back!

Ive been meaning to evaluate Hibernate for some time now. Actually, my goal is to evaluate and create sample apps using several persistence frameworks(JDO and Entity Bean 2 CMP as well). Anyway, back to Hibernate. Rather than trying countless combinations to get hibernate incorporated into a web app, I thought a hello world or example project would be a step in the right direction. Unfortunately, I didn't see anything quite like that @ hibernate.org. Since JBoss is pro hibernate and Im a JBoss advocate, I thought a look there was in order. Like most things that have to do with JBoss, JBoss.org seemed to be the last place id find useful documentation. For some reason I can never find decent documentation from the Jboss folks. Anyone else feel that way? Maybe its just me, but thats another story. Anyway, I proceeded to google my query and stumbled upon a blog entry by Ed Hand. It was just what the doctor ordered. A clean and concise, step by step example of getting a single page working. A well documented hello world if you will. So here's to you, Mr Well Documented Hibernate WebApp Creator <spoken in the same tone as the Real Men of Genius Commercials>

Tags :


Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

There is a link on the first page of the Hibernate website that is named "I'm new, get me started". This is also linked on the documentation index page and quite visible in the reference documentation. If you don't find the Hibernate Hello World, you haven't looked.

Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

If you are referring to the quickstart application, in my opinion it is no where near as concise and easy to follow as Ed's Example. Ed's example is what you need nothing more. Hmm. Kinda like Hello World.

Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

The reason you can't find documentation for Jboss is that most of the documentation for JBoss is not available for free: you have to buy it.

Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

Good point Juha. Ive purchased several of the pdf's and they were decent.

Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

Mike, thanks for the compliment, I'm glad that you found the example useful. I'm working on a follow-up example with more features, but I have a baby due at any moment, so I'm not sure when it will see the light of day.

Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

You can also check out appfuse by Matt Raible.

Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

I have had a look at appfuse but have not had the chance to try it out. Looks like a nice jumpstart for new projects.

Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

For like a week, Rick Hightower posted entry after entry on his blog at jroller about appfuse. I haven't used it, but this guy apparently had a few things to say about it.

Re: Hibernate, Struts, Tomcat, MySQL in 15 min or less

For any googlers stumbling across this, I thought I'd mention that though the original link is broken, this howto can be found at http://homepage.mac.com/edahand/projects/java/example1.html.

Add a comment Send a TrackBack