[jboss-user] [JBoss Seam] - seam app and external ejb DB service (entities problem)
leezard
do-not-reply at jboss.com
Wed Jun 20 05:42:03 EDT 2007
Hi all again,
I've strange problem with Seam design. My Seam application beans use external beans to invoke database operations. I don't have any DB-related logic in my Seam app. The external application provides set of entities I can use, and here my problem begins.
I have form in my application which has exactly the same fields as entity provided by external application. It'd be nice to use this entity as a Seam component (to have bijection etc.), but I think I can't do it, because this entity is not annotated with @Name and I can't do it. The only solution I think of is to have simple Value Objects as Seam components, inject them to my bean, rewrite properties from my VO to external entity and then pass this new entity to external bean method. But I think it's not an elegant solution. Do you know any other solutions of this problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055943#4055943
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055943
More information about the jboss-user
mailing list