Results 1 to 2 of 2

Thread: RMI Session

  1. #1
    Join Date
    Aug 2004
    Location
    China
    Posts
    11

    Default RMI Session

    Does anybody have an idea how to maintain Session in RMI. and spring framework support RMI Session Manage ?

    Thanks in advance for any help/Web Site Refernce etc.

  2. #2
    Join Date
    Apr 2006
    Location
    Milan, Italy
    Posts
    38

    Default

    Quote Originally Posted by greateWei
    Does anybody have an idea how to maintain Session in RMI. and spring framework support RMI Session Manage ?

    Thanks in advance for any help/Web Site Refernce etc.
    I've been developing a Spring J2SE desktop client-server application (rich client), using PostgreSQL/Hibernate for DAOs, RMI for services, Swing for client GUI.

    We have faced the same problem: since RMI is stateless, how to provide session management with RMI?

    The answer is acegi: acegi allows you to have the client provide a SecurityContext and automatically propagates it to the server with every RMI call.

    This would allow you to authenticate and recognise the calling client, and build session management on top of this.

    As far as I know ACEGI does not give automatic session management using RMI, but you can easily make it up once you can recognise the calling client through the ACEGI security context.

    Hope this makes sense for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •