I tried calling setPlane method from ejbPostCreate but it gives an exception that all the primary key fields should be set in the ejbCreate. My Seat Bean has two primary key fields one is the seatno and another one is the plane id.
But what is the difference if i call setPlane() method from ejbCreate or ejbPostCreate.
I know that this problem would be solved if i pass planeid to ejbCreate rather than the remote object of PlaneBean.
Can't I pass remote object's to ejbCreate method or any other method .....?