The moose likes EJB and other Java EE Technologies and the fly likes Weblogic EJB Deployment Descriptor Help Needed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Weblogic EJB Deployment Descriptor Help Needed" Watch "Weblogic EJB Deployment Descriptor Help Needed" New topic
Author

Weblogic EJB Deployment Descriptor Help Needed

Sandeep Awasthi
Ranch Hand

Joined: Oct 23, 2003
Posts: 597
Hi All,

Can someone please help me in writing webloigc-cmp-rdbms-jar. descriptor for bi-directional one to one CMR relationship.

Lets say for ex. there is bi-directional relationship between Doctor & Patient. Each Doctor has only one patient and one patient is associated with only one doctor ( DOCTOR <---> PATIENT ).

/**** DOCTOR BEAN *********/


/*CMP Methods */

public abstract Integer getDoctorId();
public abstract void setDoctorId(Integer doctorId);
public abstract String getDoctorName();
public abstract void setDoctorName(String doctorName);

/******** CMR **********/

public abstract PatientLocal getPatient();
public abstract void setPatient(PatientLocal patientLocal);

.......
.........
...........







/********** PATIENT BEAN *********/


public abstract Integer getPatientId();
public abstract void setPatientId(Integer patientId);
public abstract String getPatientName();
public abstract void setPatientName(String patientName);


/**** CMR *****/

public abstract DoctorLocal getDoctor() ;
public abstract void setDoctor(DoctorLocal doctorLocal);


.....
.........
..........
...........


Sandeep
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Weblogic EJB Deployment Descriptor Help Needed
 
Similar Threads
HFEJB Doubt-Entity Relations
EJB QL RETURNING ONLY THE FIRST RECORD OF THE TABLE
Desperate for Help
EJB2.0 CMP - with a BMP cmr field
Help Requested --> Yep, it's a verifier message!