[jboss-user] [JBossWS] - Troubles with JBossWS and Persistence
do-not-reply at jboss.com
Wed Nov 22 04:29:39 EST 2006
I use hibernate generated objects throughout much of my application.
I can successfully use these with Java RMI, however, I am facing many challenges with web services.
a) is it necessary for me to rewrite all the classes using arrays instead of the collections that are created by HibernateTool?
b) when and why is it necessary to encapsulate an array in an object? I've seen this design pattern in some examples in the forums and elsewhere.
c) Is JBossWS eventually going to allow Hibernate style object graphs to be transferred seamlessly over a web services endpoint as an argument or return type?
d) I've created an EJB3 class annotated @Stateless and @WebService. The @PersistenceContext annotation is ignored and the entity manager is not injected. I've seen this issue documented elsewhere, but without a clear solution. Is this issue fixed in the current release? For the moment, I've had to write a wrapper bean to lookup the real bean with JNDI and proxy the function calls.
At present, I'm using Jboss 4.0.4.GA installed by JEMS installer with the EJB3 profile.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987829#3987829
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987829
More information about the jboss-user