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.
-----Original Message-----I have an existing Hibernate project with many hibernate mapped POJO's.
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Friday, November 03, 2006 4:01 PM
To: MyFaces Discussion
Subject: Best practices to add MyFaces to an existing Hibernate project
I do not want to add all the set/get methods from my POJO into Backing Beans, so I am wondering what others have done?
Have your BackingBean extend you hibernate object?
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

