Hibernate presentation and the power of live coding

It was time to have my first technical presentation in my current workplace. I have experience with Hibernate and the company's technical lead has interest in it. Also the first project based on Hibernate and Spring in this company went live without disasters so the topic was clear.

The Hibernate Core is rather large and going through all the features was out of question. Instead of hundreds of slides I simply explained its main features, benefits and usage with couple plain slides. And then it was time for a demo.

The presentation room's computer did not have Eclipse or other development tools installed but remote access solved that problem. I had everything ready set up on my new workstation (no longer lousy Dell XPS 210) and I could start explaining Hibernate usage with live database and bunch of JUnit tests.

Hibernate's lazy loading is much easier to understand when audience sees different SQL queries created by Hibernate in practice while stepping through the code in Eclipse's debug mode. Same applies to Hibernate Tools. I created new table in Oracle SQL Developer and new Hibernate mappings with generated POJOs were available right after a couple mouse clicks.

I have to admit that this time I was a bit lucky because I did not spend that much time testing that setup. Compared to my very first live coding presentation in my previous work place everything went super smooth without embarrassing typos or brain-locks. There was plenty of discussion afterwards and I have a feeling that I will see more projects being implemented in combination of Hibernate and Spring.

Comments

No comments yet

Add Comments