[jboss-user] [JBossWS] - Re: Writing a client - no examples for BindingProvider based

alessio.soldano@jboss.com do-not-reply at jboss.com
Fri Jan 11 07:01:38 EST 2008


"mjhammel" wrote : Sorry - I didn't catch you're reply till today.  I've been waiting for some feedback over in the EJB3 forum. I don't have all the links saved, but one that has some detailed explanation as to why it shouldn't work in web services at all is here:  
  | 
  | http://weblogs.java.net/blog/ss141213/archive/2005/12/dont_use_persis_1.html
  | 

This is not your situation, you're not using the persistence context in a servlet, you need injection in a SLSB. And my previous post shows that it works.

anonymous wrote : Even if injection could be made to work, if I can't return a table row using Hibernate generated EJB3 objects then this is of no use to me.

I've just tried this too. It works more or less. I'm saying so since of course the problems you might have to face are lazy instantiation and cyclic referenced structure (that cannot be serialized into xml without references).


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119000#4119000

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119000



More information about the jboss-user mailing list