Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

File acess question.

2 posts in General Discussion (old) Last posting was on 2000-03-27 01:28:23.0Z
John Posted on 2000-03-25 04:59:17.0Z
Newsgroups: sybase.public.easerver
From: "John" <john@yahoo.com>
Organization: 63.15.101.207
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: File acess question.
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Fri, 24 Mar 2000 23:59:17 -0500
Lines: 14
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_3$dcfbhl$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25713
Article PK: 155769

Hi

I am new to this java development, so my question might sound odd...
When a call is made to the server from a client using RMI, the client is
actually making a method call on the Remote Object on the server(using stub).
There is one and only one Object residing on the server which does the job.
Does this mean that if multiple clients need to call the Object's method, it has
to be synchronised?

Thanks in advance.
John
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Carson Hager[Team Sybase] Posted on 2000-03-27 01:28:23.0Z
Newsgroups: sybase.public.easerver
From: chager@dyn-data.com (Carson Hager[Team Sybase])
Subject: Re: File acess question.
Date: Mon, 27 Mar 2000 01:28:23 GMT
Organization: Dynamic Data Solutions, Inc.
X-Newsreader: Forte Free Agent 1.21/32.243
Lines: 42
NNTP-Posting-Host: charon.lifescape.com 63.86.26.130
Message-ID: <347_38deb8fc.5211363@forums.sybase.com>
References: <347_3$dcfbhl$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25695
Article PK: 155751

No. The server will allocate a second instance for each client
assuming the component is not a singleton, shared component. If you
are talking EJB, singletons are against the spec anyway. You can use
them, but your app will not be portable.


Carson

___________________________________________________________

Carson Hager
Team Sybase
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training
http://www.dyn-data.com

DDS is now hiring EAServer consultants
to support its exploding EAServer business!
Please submit your resume to
hr@dyn-data.com!

On Fri, 24 Mar 2000 23:59:17 -0500, "John" <john@yahoo.com> wrote:

>Hi
>
>I am new to this java development, so my question might sound odd...
>When a call is made to the server from a client using RMI, the client is
>actually making a method call on the Remote Object on the server(using stub).
>There is one and only one Object residing on the server which does the job.
>Does this mean that if multiple clients need to call the Object's method, it has
>to be synchronised?
>
>Thanks in advance.
>John
>---== Posted via the PFCGuide Web Newsreader ==---
>http://www.pfcguide.com/_newsgroups/group_list.asp

___________________________________________________________

Carson Hager
Team Sybase
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training

DDS Enterprise Application Framework
Available Now as Open Source!
http://www.dyn-data.com