c***c 发帖数: 6234 | 1 It is a little long. But pls help me. I have a Bean
public class MyTestBean implements Serializable {
private String c="";
public MyTestBean(String s1, String s2) {
c= s1+"|"+s2;
}
public String getCValue(){
return c;
}
}
I have EJB service. It works (I can see it on Axis server)
public class ATMDepositBean implements SessionBean {
..... some code here (like ejbCreate())
public MyTestBean deposit(String accountNum, String amount)
{
MyTestBean tempBean = new MyTestBean(account |
|
c***c 发帖数: 6234 | 2 It is a little long. But pls help me. I have a Bean
public class MyTestBean implements Serializable {
private String c="";
public MyTestBean(String s1, String s2) {
c= s1+"|"+s2;
}
public String getCValue(){
return c;
}
}
I have EJB service. It works (I can see it on Axis server)
public class ATMDepositBean implements SessionBean {
..... some code here (like ejbCreate())
public MyTestBean deposit(String accountNum, String amount)
|
|
c***c 发帖数: 6234 | 3 I have default constructor in MyTestBean MytestBean(){}. Just omit it
What is the setter?
Thank you for your time
xmlns:ns="urn:ATMDepositService"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" |
|