I'm using a third party business layer which returns entities. Business methods are called within my backing beans (pojo). my problem is that i can't use the returned entities directly in my view layer.
1.) What is the best way when using seam to pass the data to my view layer? Using old school jsf beans?
2.) How can i validate data from layer with seam? Is it possible tu use hibernate validator without entity beans?
Thanks for your hints :]
I think you should use DTOs which can be Seam components. You can use Hibernate Validator on any field (not just an entity)