Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
AFAIK it is nessesary to synchronise data in remote objects and this is a
technique I use frequently.....
I know of no docuentation on this matter, after looking at the spec, all it says
on threads and RMI is something along the lines of "The VM is not guarenteed to
run each method on a remote object in the same thread"... so this stuff must be
implementation dependant.....
Does any one know how weblogic's RMI works with threads and sockets etc as I
understand weblogic's RMI is much better/ faster and more scaleable (which suns
offering isn't really)
Ovidiu Feodorov wrote:
>
> Hi
>
> I was wondering how RMI handles the concurrent access issue.
> Let's suppose that there is a RMI server, which has an active
> remote object and there are several clients that are accessing
> the same method of the remote object at the same time.
> How is this handled?
> Since each RMI call goes through TCP sockets, the RMI server
> will have a few concurrent TCP streams at a time and I suppose
> that will be different threads associated which each one.
> In this case, the remote object's method will be run by
> several threads and it must be synchronized if the
> code inside it is thread-senzitive ...
> Is this true?
>
> Do you know some good documentation on this?
>
> thanks
> ovidiu
>
> --
> Ovidiu Feodorov
> Software Engineer
> 3DGeo Development Inc.
> 465 Fairchild Drive, Suite 226, Mountain View, CA 94043
> Tel: (650)969-3886
>
> ---
> To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
> To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
--
-----------------------------------------------------------------------
_ _ --
__ _(_)_ __ ___ ___ _ __ | |_
____\ \ / / | '_ \ / __/ _ \ '_ \| __|
|_____\ V /| | | | | (_| __/ | | | |_
\_/ |_|_| |_|\___\___|_| |_|\__|
vincent@xxxxxxxxxxxxxxxx
---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- Prev by Date: [no subject]
- Next by Date: [no subject]
- Previous by thread: [no subject]
- Next by thread: [no subject]
- Index(es):