Author Archives: Brian Lavender

About Brian Lavender

I like to program in C++, Java, and Pascal. I have an admiration for languages like Pascal, Ada, and Eiffel. I work a lot with GNU/Linux systems.

Using Generics and a Form with Wicket

This blog post I will take a look at using a form with Wicket and binding it to an object using a PropertyModel along with Generics. I just started digging into generics in Java and even after reading a tutorial … Continue reading

Posted in Wicket | Comments Off on Using Generics and a Form with Wicket

Wicket meets Hibernate

I got Hibernate and Wicket working together. It is simple and perhaps still needs some tweaking, but I was happy to have joined the two together. These instructions are intended for Ubuntu, but can be adapted for Windows too. I … Continue reading

Posted in Hibernate, Wicket | 2 Comments

Wicket Adventures

While the World Wide Web has been around for a long time, it seems like building web applications is still difficult. The problem, one has to write glue code to handle a lot of plumbing. I decided to try Wicket … Continue reading

Posted in Wicket | Comments Off on Wicket Adventures

Making a Servlet with Hibernate

These are the details I followed for making a servlet with Hibernate. This will take off from the last post with Many to Many. It is a rehash from the original Hibernate documentation.  Make sure that you have .m2/settings.xml so … Continue reading

Posted in Hibernate | Comments Off on Making a Servlet with Hibernate

Generating domain classes from hbm files in Hibernate

Hibernate offers the capability to generate both the database schema and the java class files for the domain model when you specify the model using the .hbm.xml files.  You can accomplish this using the hibernate3-maven-plugin. I was not able to … Continue reading

Posted in Hibernate | Comments Off on Generating domain classes from hbm files in Hibernate

Adding many-to-many in Hibernate

In this post, I will demonstrate how to do a many-to-many relation in Hibernate. A Person(s) can attend many Event(s) and an Event(s) can have many Person(s). This follows the initial creation of the simple mapped class describe in my … Continue reading

Posted in Hibernate | 2 Comments

Hibernate Tutorial refined

This tutorial refines what is presented in the Tutorial section that is included with the Hibernate documentation for the 3.6.2-Final release. I had a few problems while working through the tutorial contained in the documentation, thus this is my attempt … Continue reading

Posted in Hibernate | 1 Comment

Getting Started

I have been hacking Hibernate to figure out how to make this Object Relational Mapping to work. The idea of Hibernate is great, but the details of using it seem to be dispersed and confusing. The original technique uses the … Continue reading

Posted in Hibernate | Comments Off on Getting Started

Offline Blogging

I just installed Firescribe. I will see how well it works with WordPress. brian

Posted in Uncategorized | Comments Off on Offline Blogging

The world of Guile!

Recently, I started working with Guile. This all stemmed from auditing a programming languages course last semester. We used Dr. Racket. At first, I thought that Dr. Racket was a toy and dismissed it as being a phony LISP tool. … Continue reading

Posted in Programming Languages | Comments Off on The world of Guile!