Mittwoch, 28. November 2007

dataTable ... and the Hibernate PersistantSet

Today i tried to do a h:datatable-iteration over a OneToMany relation which was implemented with a Set interface. The result was a not very informative error message that the PersistanSet does not have the wanted property.

After some experimenting i noticed that the dataTable does not work on the Set interface so i had to switch to a List interface.

Anyway ... the List interface was the better solution in this case.

Dienstag, 27. November 2007

Kickoff

Hi, this is the first post in my brandnew blog. You will find here some information about Java , frameworks and object oriented design destilled from my daily work on this topic.

While evaluating technologies for new projects i got my focus on the JBoss Seam Web-Framework which is now in the 2.0 GA Version available. As this framework asserts that it will take the pain out of webdevelopment i decided to give it a try ....

Seam is the glue between so promising technologies like JSF, EJB3, JPA (Hibernate ) and lets you easily design your web-app by wiring up highly independent components. With its dependency injection mechanism it takes care of all the instantiation work for you. This results in small independent and testable components.