c*c
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)
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*t
3 楼
Where is your default constructor??!!!
Also, setter is missing.
【在 c***c 的大作中提到】
: 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;
: }
: }
Also, setter is missing.
【在 c***c 的大作中提到】
: 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;
: }
: }
相关阅读
Re: Desperately need help on DB2 connection through jdbc in jsp page菜鸟问题一问java里面怎么确定程序运行时间啊?那位老兄有together control center 6.0啊?急需。java可以调用dll吗?RMI Question?JMF支持DIVX吗?Re: JDK1.4 bug: Mnemonic key does not work in Windows Look and Feel?jdbc/odbc MS Access file creation questionhow to copy an Object?Help! How to call the C functions in a java program?请教BufferedImage中的setColor问题。HELP!!! jxtaDos and Don'ts about classpathHow do I catch a PKCS#10 request?请教。。2 Questions about ConstructorPlease recommend a good Swing book? Anyone tried Weblogic Platform 8.1 Beta?how to set CLASSPATH under Linux??