R4R
Right Place For Right Person TM

Do objects stored in a HTTP Session need to be serializable? Or can it store any object?

previous previous previous
Question:
Do objects stored in a HTTP Session need to be serializable? Or can it store any object?

Question:Do objects stored in a HTTP Session need to be serializable? Or can it store any object?


Answer
It's important to make sure that all objects placed in the session can be serialized if you are building a distributed applicatoin. If you implement Serializable in your code now, you won't have to go back and do it later.

By:Jalees
Date:

Do objects stored in a HTTP Session need to be serializable? Or can it store any object?

Post Your Answers


User Name:
Answers:

Related Links

  1. How can you implement singleton pattern in servlets ?
  2. What is the difference between an application server and a web server?
  3. What is servlet exception?
  4. What is a WAR file?
  5. What is a servlet filter?

Question:Do objects stored in a HTTP Session need to be serializable? Or can it store any object?

Back Home Next

New Updates

Topics

Topics

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R