[jboss-user] [EJB 3.0] - EJB3 with J2EE5 WS
bmhardy
do-not-reply at jboss.com
Fri Nov 3 14:10:24 EST 2006
Hello,
We created some EJB3 Entity beans and have several EJB3 session Facades to promote the system API. We used @WebMethod annotations to make the session facade methods web services.
This seems to work ok, but with EJB3 all our Entity relationships are Sets. Since the Entities have Sets of related Entities, we are not able to return our detached entities from our webservice. I know that a web service could handle a Java Array of Objects.
How can I use Object Arrays for Entity relationships in EJB3 rather than Sets.
Conversely, how can I get the web service to use Sets, or Collections as a legitimate data type that can be passed? If I can get Sets to go through the web service, would a .net client have a problem accessing them?
Thank you very much.
Brian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983070#3983070
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983070
More information about the jboss-user
mailing list