I've created this blog to catalog software ideas, code examples and everything in between. I've been in the industry for over 3 years and have worked on a variety of projects from Identity and Access Management, to Web Application Security, to Java/Ruby application development.

Read More

Using the OpenSessionInViewInterceptor for Spring + Hibernate3

If you’re like me and have written Spring web applications using Hibernate for persistence, you’ve probably seen this error when using FetchType.LAZY in your @OneToMany annotation.
failed to lazily initialize a collection of role:
your.Class.assocation no session or session was closed
If you are using lazy loading rather than [...]

Tags: ,

Filed under:Java, Software

Spring, Hibernate, and Sitemesh

This week at work I’ve had the luxury of getting to sit down and write a sample application using a few of my favorite tools: Spring, and Hibernate-Annotations. New to this equation has been Sitemesh. I’ve been using Tiles for quite a while and have felt very comfortable with it, but at the [...]

Tags: , ,

Filed under:Java, Software