[jboss-user] [JBoss Seam] - Re: Remoting problem: object as param not passed

lcoetzee do-not-reply at jboss.com
Thu Jan 25 08:21:42 EST 2007


Interestingly enough I can make it work when I change my JavaBean into an Entity:


  | @Entity //this makes it work !!!!
  | @Name("person")
  | public class Person  implements Serializable{
  | ..
  | 

results in this:


  | 15:16:30,024 INFO  [STDOUT] Received value: dummyvalue
  | 15:16:30,024 INFO  [STDOUT] Received from xhtml page pietie petoors
  | 

and


  | Thu Jan 25 2007 14:50:35 GMT+0200 (SAST): Request packet:
  | <envelope><header><context></context></header><body><call component="helloAction" method="setPerson" id="0">
  | <params><param><str>dummyvalue</str></param><param><ref id="0"/></param></params><refs><ref id="0"><bean type="person">
  | <member name="id"><number>25</number></member>
  | <member name="name"><str>pietie</str></member>
  | <member name="surname"><str>petoors</str></member>
  | </bean></ref></refs></call></body></envelope>

Seems there is some problem with normal POJO's (JavaBeans) which are not Entities.

L


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

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



More information about the jboss-user mailing list