About Question enthuware.oce-ejbd.v6.2.357 :
Posted: Tue Jan 01, 2013 7:37 am
Hallo,
small mistake:
@Stateless
public class XBean implements XLocal{
//... other business methods
public void processData(Data d){
d.value = 20;
}
}
should be:
@Stateless
public class XBean implements XLocal{
//... other business methods
public void processData(Data d){
d.setValue(20); // use SETer because of private attribute of value in Data
}
}
small mistake:
@Stateless
public class XBean implements XLocal{
//... other business methods
public void processData(Data d){
d.value = 20;
}
}
should be:
@Stateless
public class XBean implements XLocal{
//... other business methods
public void processData(Data d){
d.setValue(20); // use SETer because of private attribute of value in Data
}
}