Sharing values across stateful and stateless

Discussions

EJB design: Sharing values across stateful and stateless

  1. Sharing values across stateful and stateless (2 messages)

    I want to create stateful session bean when user logs into my app to store his state like sessionid passed from jsp.This information i want to share across all subsequent user stateless bean calls with out passing handle. Dynamically i should find what instance of session bean is attached to present user state go and get values.Is their any way?
  2. Sharing values across stateful and stateless[ Go to top ]

    What about an entity bean that represents a session. The primary key object will be the users login. You can then in a stateless object check their login

    _sessionContext.getIdentity().fullName();

    And then find the entity bean by primary key?

    Work?

    Dave Wolf
    Internet Applications Division
    Sybase
  3. Sharing values across stateful and stateless[ Go to top ]

    Thanks Dave