Hi Sripada
What I meant was -- the ejbCreate,ejbFindBy... methods return the PK object
-- so if the child class wants to return a diffrent PK class then atleast
that PK class has to be the subclass of the base classes PK class. This
restriction is only for entity beans and not for session beans.

BTW its nice to know that u are from Wipro --- I worked for Wipro for 2.5
years and left a few months back (and obviously repenting a lot!!). Are u in
ECD group??
cheers
Ana

-----Original Message-----
From: Sripada Srinivas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 11, 2000 2:47 AM
To: [EMAIL PROTECTED]
Subject: Re: Migrating from CORBA to EJB


Hi Ana,

I did not understand "U have to be a bit careful in writing the ejb* methods
in
the child class" -- I cannot imagine the kind of difficulties one would face
becasue of inheritance.

Regards,
Sripada

"Bhattacharyya, Ana" wrote:

> Hi Susmita
> Inheritence is definitely possible in ejb. If u download the Weblogic ejb
> server (free 30 days eval copy) --- u will find one ejb example they have
> done usinf inheritence. U only have to be a bit careful in writing the
ejb*
> methods in the child class. I will suggest u to go through the
child-parent
> example in Weblogic server 5.1.
> cheers
> Anamitra
>
> -----Original Message-----
> From: Susmita Tripathy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 10, 2000 9:28 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Migrating from CORBA to EJB
>
> Thanks Sripada for your mail.
> The Corba objects were developed in Java. Actually I
> did not implement them. They have been implemented
> before.
> This application is actually a workflow run time
> system. which is responsible for enforcing intertask
> dependencies, scheduling tasks, managing workflow data
> and ensuring a reliable execution environment.
>
> There is some inheritance going on between the CORBA
> objects, and I do not know if that is possible in EJB.
> I would imagine most of these CORBA objects could be
> implemented as Session Beans, but I am not sure how to
> implement the inheritance part of it.In EJB can we
> have
> one session bean inheriting from another. If so how
> are they deployed.
> This would be my Masters project and I really need to
> know if it is feasible so that I could get started.
> I would really appreciate any suggestions and advise.
>
> Thanks a lot again.
> --- Sripada Srinivas <[EMAIL PROTECTED]>
> wrote:
> > Hi Susmita Tripathy,
> >
> > 1. You can use j2ee server no problem.
> > 2. The ease at which you can convert from CORBA to
> > EJB depends on what sort of
> > services your CORBA object implements
> > 3. By the way, in which language did you develop the
> > CORBA object??
> >
> > Regards,
> > Sripada
> >
> > Susmita Tripathy wrote:
> >
> > > I am a masters student and I am very new to EJB
> > and
> > > j2ee. I need to port a Application developed in
> > Corba
> > > and Java to EJB. Basically change the Corba
> > objects to
> > > EJb's.
> > >
> > > I am not sure how difficult or easy this would be.
> > I
> > > would really appreciate any suggestions and advice
> > on
> > > this. Any pointers or books I should refer to?
> > >
> > > Can I do it using j2ee server or will have to use
> > some
> > > other application server(WebLogic)My only
> > > interaction with EJB has been running some the
> > > examples that come with j2sdkee1.2. I would really
> > > appreciate any suggestions, advise and hint.
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Talk to your friends online with Yahoo! Messenger.
> > > http://im.yahoo.com
> > >
> > >
> >
>
===========================================================================
> > > 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".
> >
> >
>
===========================================================================
> > 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".
> >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
===========================================================================
> 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".
>
>
===========================================================================
> 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".

===========================================================================
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".

===========================================================================
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".

Reply via email to