Announcement Announcement Module
Collapse
No announcement yet.
RMI Session Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment

    Working...
    X