¿¹Á¦

public class BeanClass implements javax.ejb.EntityBean {
public Object returningMethod () {
//..
return this;
}

//other methods that must implement the interface
}

¼Ö·ç¼Ç
this¸¦ ¸®ÅÏÇÏÁö ¸¶½Ê½Ã¿À. ´ë½Å getEJBObject()¸¦ »ç¿ëÇϽʽÿÀ.


public class BeanClass implements javax.ejb.EntityBean {
public Object returningMethod () {
//..
return this.getEJBObject();
}

//other methods that must implement the interface
}