8 Nov
2007

Flexible ASP.NET User Controls

Category:UncategorizedTag: :

In the application that I am currently working on there are several very similar screens. The obvious solution was to create a User Control (UC) that encapsulated the appropriate functionality. Apart from some labels, URLs etc. that were easily taken care of with some simple properties on the UC the only difference between the various […]

Read More
31 Oct
2007

Are named queries outside of your DAO layer bad?

Both Hibernate and JPA support named queries and I would typically recommend keeping them inside your DAOs. However, using a typesafe Generic DAO implementation, you can have one class support all of your CRUD operations, and use named queries to support finder methods. But this approach requires that your service/manager layer know your named queries […]

Read More