[jboss-user] [EJB 3.0] - Entity EJB on a client - Best Practices
do-not-reply at jboss.com
Sat Jul 28 18:01:46 EDT 2007
I'm working on an EJB client application on Eclipse RCP.
I'm getting a MarshalException when transfering to the client entities with recursive bidirectional relationships (plus several other relationships). This exception seems to be caused by serialization limitations in Hibernate,
but I'm not sure.
After several searches and no clear answer to my problem, I'm arriving to the conclusion that it is best to 'construct' complex objects on the client by getting finer grain entities from the server and performing final assembly on the client.
Likewise, the database should be updated by merging finer grain entities. This puts more EJB logic/code on the client than I originally intended.
Any comments on best practices for using entity EJBs on a client will be greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068487#4068487
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068487
More information about the jboss-user