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;
: }
: }
相关阅读
SUN网站为啥速度现在这么慢?【请教】怎么往一个applet里面填字符串?JBossHow do I declare a transaction among 2 spring service callsJAVA没有版主?????请问jeditorpane怎末才能显示rss or xml?怎样用Widget调用command line application,遇到一个程序运行错误请教汉字的utf-8 mapping (转载)怎样才能Firefox add-on和java程序之间传递数据请问Java 6.0 compliance level is unsupported什么意思?能请哪位高人推荐一本software QA engineer的教科书吗?请问有没有比较好的SOA的书Java,EJB的performanceJSF: value binding to bean methods problemSystem properties 怎么分的。请问有没有介绍JAVA和其他语言的WS Interoperaliblity的资料xml to PDF的package什么是functionality test?displaytag export跟tiles的问题