Hello Everyone,
We have to design and code an application using EJBs.
for example:-
I have an CMP bean called project bean and job bean
project bean
{
// class variables
int projectnum; ----Primary key
String projectname;
Date projectsubmitdate;
----
// few business method
}
job bean
{
//this has few class variables and business methods
}
Each project can have 'n' number of jobs. So when they query on job, they
have to get all the details of the job and it's associated project details
and vice versa.
I tried using inheritence but i can't query the details of the project
bean.(job bean and remote interface extends from project bean and project
remote interface).
So i am planning to lookup the project bean having the project number which
is the primary key and get the details this way.
If you people has any other ideas, it will be greatly appreciated.
Thanks in advance
Roopa
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".