Re: Transaction control

Niclas Hedhman <[email protected]> Tue, 17 Jan 2006 10:05:52 +0800
Newsgroups gmane.comp.java.sun.rmi
Organization Independent
Message-ID <[email protected]>
On Tuesday 17 January 2006 07:57, Paulo Melo wrote:
> Here is my(second) question: how i'll implements the transaction control in
> my connection's in the way that the connection gotten in the facade
> solicitation be the same connection that execute may insert's, update's and
> delete's in may DataBase class? The Spring Framework would decide? How?
>
> Do you understand?

You ignore the client part and deal with the transaction on the server only,
and this is essentially not an RMI question.
You also make sure that each login provide the client with its own "session"
server object, and throw in the session related stuff in there.


Cheers
Niclas

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html