cmp1.1例子的一些问题??
1、
一个cmp1.1的例子。
例如Bean中的ejbCreate()
public String ejbCreate(String userId, String name, String password) throws CreateException {
this.userId = userId;
this.name = name;
this.password = LoginPassword.genPassword();
return null;
}
问题:声明了要抛出CreateException,为什么在方法中没有对应的throw new CreateException呢?