"denis-karpov" wrote : What ever you do, you will need some functionality in 
your application that is already in EntityHome. At least, I suggest you to 
examine sources of it and catch the ideas and approaches . Then you can try to 
reuse it.

I know, I already have a common class which is responsible for generic tasks 
like update, remove and so on. But I thought it would be better to use one base 
class which is written by an orm and hibernate and jpa guru like gavin king  
(and jsf and seam of course) :-)

What I not really like with the EntityHome approach ist the boundary to JSF 
(e.g. the automatically generated messages as result of an db operation) and 
the membering of the entity instance. Additionally in my base dao class I've 
generic list methods and I feel that the membering of the instance doesn't fit 
so well!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063001#4063001

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063001
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to