> Nebinger, David wrote:
> > The easiest method would be simply to expose a getter 
> method on your backing bean that returns the hibernate pojo.
> >  
> > Through EL, you can then do #{backingbean.pojo.field} w/o 
> having to replicate your various getters/setters or include 
> the pojo as a direct backing bean.
> > 
> 
> If hibernate pojos behave as DAOs (and it sounds like they do), then 
> definately +1 on this approach!

The hibernate pojos are more like DTOs than DAOs.  You still need a dao layer 
for the CRUD-like functionality, but that is typically isolated in the DAO 
layer.

Reply via email to