I recently upgraded by JDK to 1.3.1 while retaining JRun 3.0. The one
problem I have encountered is that Entity beans are not able to mutate its
own values on subsequent ejbLoads and ejbCreates.
I include a brief pesudo code to demonstrate the behavior.
//Client
// Resolve entityBean.
print(entityBean.getTotal());
// prints $100.00
....
Other application events prompt the Entity Bean to reload...
Bean Code..
public class XYZ implements EntityBean
private double total;
public double getTotal() {
return total;
}
public void setTotal(double dd) {}
public void ejbLoad {
// Loading of entity data.
total = total + 100;
// Value tested and found to be = $200.00
}
}
....
//Client
entityBean.getTotal() still returns $100.00 !!!!
Reverting to 1.3.0 mysteriously fixes this anomaly.
Are there versions compabible with each other?
Thanks
Harish
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists