Hi Siraj,
If you have defined remote interfaces to the CMP beans, any remote client
can access the bean. But you cannot call accessor of cmr's from remote
clients, since the accessors return reference to local interface.
Hemant
www.pramati.com
----- Original Message -----
From: "Siraj Hashmi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 10:39 AM
Subject: Rejected posting to [EMAIL PROTECTED]
Hello All,
In ejb 2.0, we can have relationship b/t the beans ( as we can
have in Tables). I have to write an CMR ( for one 2 one relation)
I saw the example provided by weblogic server 6.1. There they shows the 2
CMPs with the relation. They have made the 2 CMPs with local home remote,
and they are accessing their service thru a session bean . i.e a wrapper
over thee CMPs.
My doubt is that, is this the only way to write CMR. that is write the CMPs
(local) and then wrap up them with the Session Bean, and access these
Session Bean from the client who in turn will call the CMPs for u. ???
Or can I access the CMPs ( ie CMR actually) directly from the client ??
It would be nice if anybody can send me the examples of CMR ( other than
which comes with weblogic 6.1)
Thanx & Regds,
Siraj
===========================================================================
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".