Is This also true if I use inJVM tomcat and called from the servlet side? thanks david
-----Original Message----- From: Bill Burke [mailto:[EMAIL PROTECTED]] Sent: Friday, October 12, 2001 3:37 PM To: David You; [EMAIL PROTECTED] Subject: RE: [JBoss-user] 2.4.1 default use Local Interface? I don't know if this answers your question but.. By default, JBoss does not copy parameters or return values if the call is collocated. If you want to change this behaviour edit standardjboss.xml and change <Optimized> to False. Regards, Bill > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of David You > Sent: Friday, October 12, 2001 5:58 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] 2.4.1 default use Local Interface? > > > Hi > Does JBoss 2.4.1 default use Local Interface even you specified an > remove interface? > I met a bug and I suspact that was the case, and I did a little test > like this. > > =============== my Code =================== > IBlsModel model = m_modelHome.findByPrimaryKey(new > Long(wValue.getModelPK())); > HashMap variables = model.getVariables(); > //Testing > VariableValue vv = (VariableValue) > variables.get("varData"); > System.out.println("Before value: " + vv.getValue()); > vv.setValue("HUMAN/buyer2"); //Set to sth else in > local copy > variables = model.getVariables(); //Get another > version from remote > //Testing > vv = (VariableValue) variables.get("varData"); //see if > it has changed > System.out.println("After value: " + vv.getValue()); > ================ end ============= > > And sure enough the second print out is "HUMAN/buyer2"; > > > thanks > david > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
