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;
: }
: }
相关阅读
Help needed![合集] Is there any free java PDF viewer?I need a source control system for my personal projectEclipse一问心似满月弓, 肚里干空空[合集] 问一个很常见的过程的实现做J2EE的大侠们,能推荐一下比较好用的referrence website吗?另一个入门问题。TIJ上写错了?Help: how to use Eclipse as C++ IDE in XP? (转载)[合集] code sample from the book written by core designers of javaEJB bookArraList questionJava Swing -- autohide panel widgets?which http client package is good to use?overloading methodsSimple question想给程序加个最简单的窗口界面,请帮忙网页的Form中Post的问题 (转载)想找几个模板