HTTPSession or Stateful Session Bean?

Discussions

EJB design: HTTPSession or Stateful Session Bean?

  1. HTTPSession or Stateful Session Bean? (5 messages)

    Hi !
    I have an applicant which let user subscribe to something, which need to retrieve all these subscribe info when user login. The flow will be:

    user login --> retrieve subscribe data of that user --> save in session

    But should I use HTTPSession or SFSB?

    These data is read-only and update will be made by some other session beans directly to DB.

    Data need to refresh when DB has updated

    Replication between server of these data need is a must (becasue the applicant is under cluster env.)

    any help would be appreciated

    Regards

    Threaded Messages (5)

  2. Check this link[ Go to top ]

    http://www.theserverside.com/discussions/thread.tss?thread_id=552
  3. Check this link[ Go to top ]

    Thanks a lot, it help !
  4. HTTPSession or Stateful Session Bean?[ Go to top ]

    For replicated data (i.e. shared memory) just use Coherence.

    Peace,

    Cameron Purdy
    Tangosol, Inc.
    Coherence: Shared Memories for J2EE Clusters
  5. HTTPSession or Stateful Session Bean?[ Go to top ]

    I can see you have a good reason
    but to me, it just too expensive....
    ^^

    thanks for help
  6. HTTPSession or Stateful Session Bean?[ Go to top ]

    Hi Koon Yue Lam,

    Drop me an email at cpurdy at tangosol dot com and tell me about your project.

    Peace,

    Cameron Purdy
    Tangosol, Inc.
    Coherence: Shared Memories for J2EE Clusters