[jboss-user] [JBoss Seam] - Re: EntityHome usage recommended?

2007-07-11 Thread denis-karpov
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. View the original post :

[jboss-user] [JBoss Seam] - Re: EntityHome usage recommended?

2007-07-11 Thread maku01
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

[jboss-user] [JBoss Seam] - Re: EntityHome usage recommended?

2007-07-11 Thread matt.drees
As a thought... you may find it useful to subclass MutableController, or PersistenceController, or Controller. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063039#4063039 Reply to the post :

[jboss-user] [JBoss Seam] - Re: EntityHome usage recommended?

2007-07-10 Thread hstang
maku01 wrote : Hi, | | Is the usage of it recommended? | | Depends if you find the barebones of EntityHome is sufficient for managing your entities. Even if it's not, you can always override it. It's basically an Entity-managed DAO. I use it and find it quite useful especially for

[jboss-user] [JBoss Seam] - Re: EntityHome usage recommended?

2007-07-10 Thread matt.drees
the ui example uses one (defined in components.xml) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062583#4062583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062583 ___

[jboss-user] [JBoss Seam] - Re: EntityHome usage recommended?

2007-07-10 Thread matt.drees
So, after a little searching... contactlist, dvdstore, quartz, seampay, wiki, and ui each use EntityHome. Overriding EntityHome is used in quartz, seampay, and wiki. Defining entity-home in components.xml is used in contactlist, dvdstore, quartz, seampay, and ui. seampay, interestingly

[jboss-user] [JBoss Seam] - Re: EntityHome usage recommended?

2007-07-10 Thread maku01
matt.drees wrote : So, after a little searching... | contactlist, dvdstore, quartz, seampay, wiki, and ui each use EntityHome. | | Overriding EntityHome is used in quartz, seampay, and wiki. | | Defining entity-home in components.xml is used in contactlist, dvdstore, quartz,

[jboss-user] [JBoss Seam] - Re: EntityHome usage recommended?

2007-07-10 Thread matt.drees
I think EntityHome is intended to be a tool that you can use however you want to use it; there doesn't appear to be one Right Way. So, if I were you, I'd give a shot at building DAOs on top of EntityHome, and if it doesn't fit well, try something else. I'm experimenting a bit in my app, and