order-shipment是一对一的关系,如何在jboss4.0中配置cmp的一对一关系?package my.ordershipment_cmp;import java.rmi.RemoteException;import javax.ejb.EJBObject;public interface CMPOrder extends EJBObject { public String getOrderID() throws RemoteException; public String getOrderName() throws RemoteException; public CMPShipment getShipment() throws RemoteException; public void setShipment(CMPShipment shipment) throws RemoteException;
}
编写ejb-jar和jbosscmp-jdbc需要如何处理呢?