For a non-vendor-specific case, couldn't you use an entity bean, BMP, that
doesn;t actually do any persistent work (or very little) in ejbLoad() and
ejbStore()? Just define a single PK instance that is well-known to clients.
I would think this would be adequate to make shared data, and avoids the
overhead of managing RMI (though vendor-specific capabilities such as the
one described below and stuff that's in WebLogic obviates RMI management
headaches, I know).

Brian Maso
DevelopMentor Java Curriculum Developer; http://www.develop.com
Blumenfeld & Maso, Inc.

-----Original Message-----
From: Chris Raber <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, June 27, 1999 9:26 AM
Subject: Re: sharing data between instances of same session bean?


><vendor>
>In GemStone/J you simply register the service with the "activator". This
can
>be done from the Console or from scripts (via apis). The activator provides
>for both shared and single client activation modes. So a server object can
>be shared or dedicated to a single client.
>
>We don't actually ship the uuid utility with GS/J, but a CORBA port of if
is
>available for download from our customer web. The original implementation
>(thank you Jim Frentress) was organized for RMI access. I ported it to
CORBA
>(which was trivial to do).
></vendor>
>
>-Chris.
>
>> -----Original Message-----
>> From: Bruckauf, Oliver [SMTP:[EMAIL PROTECTED]]
>> Sent: Thursday, June 24, 1999 3:58 AM
>> To:   [EMAIL PROTECTED]
>> Subject:      AW: sharing data between instances of same session bean?
>>
>> So how do you start this RMI service so that's available to all clients?
>> Up
>> to now I can't see a way to start this service within the management
>> console
>> of the EJB servers I know. I don't like to start the Server and then have
>> to
>> start an additional daemon by starting another JVM.
>>
>> > Perry's summary is correct. the uuid code i make available (see
>> archives)
>> > is
>> > implemented with RMI and i believe a CORBA version of it ships with
>> > Gemstone
>> > (as a goodie).
>> >
>> > > -----Original Message-----
>> > > From: Perry Hoekstra [SMTP:[EMAIL PROTECTED]]
>> > > Sent: Sunday, June 20, 1999 3:27 PM
>> > > To:   [EMAIL PROTECTED]
>> > > Subject:      Re: sharing data between instances of same session
bean?
>> > >
>> > > David Michaels wrote:
>> > >
>> > > > Can you guys explain to me how this singleton idea works?  Since
>> > session
>> > > > beans are not shared between simultaneous clients, I dont see how I
>> > can
>> > > > create just ONE of these for all clients to talk to - wouldn't
>> > multiple
>> > > > copies get created? I do want one of these per VM, but I don't
think
>> > > > thats an issue since I'm using Weblogic and they pretty much keep
>> > > > everything in one VM as I understand.
>> > > >
>> >
>> mit freundlichen Gr��en - kind regards
>> --
>> > Oliver Bruckauf
>> >
>> > -Software-Designer- GFT Technologies AG  Leopoldstra�e 1  D-78112 St.
>> > Georgen
>> > Tel.:  07724/9411-0  FAX: 07724/9411-94  mailto:[EMAIL PROTECTED]
>> > http://www.internetprofi.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".

Reply via email to