View objects

At work we’re currently evaluating development methods for our new product. After using the great XT framework developed by Sergio Bossa, I came up to google his blog and found this interesting idea of building view objects.

Constructing View objects with the Builder pattern

Our Team agreed to definitly use this pattern, with some enhancements (using a seperate DAO – with named queries – for constructing view objects, JPA/Hibernate can construct objects from a select query)

View objects contructed this way can definitly improve performance and reduce ORM calls to the database. And it’s also a nice way to build various characteristics of views.

One Response

  1. Hi Andreas,

    I’m glad too see you liked my work at Spring Modules and my article on view objects.
    I’d like to hear more of your experiences.

    Cheers!

    Sergio B.

Leave a Reply