Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Serializable and session

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happens if my attribute objects are not serializable and i try to use them in sesion migration?
 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your session attributes will not get transferred if they are not serializable.
For attributes to migrate they should be serilazable.
 
Stanislav Chekalin
Greenhorn
Posts: 9
IntelliJ IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we get an exception during runtime in this case? Or the server that supports several VM will complain during deployment?

In SCJP exam we get a lot of questions with "does not compile" and "exception at runtime" and you should really know the difference. Is this the same for SCWCD exam?
 
Siphiwe Madi
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stanislav Chekalin wrote:In SCJP exam we get a lot of questions with "does not compile" and "exception at runtime" and you should really know the difference. Is this the same for SCWCD exam?


Hi Stanislav,

i think it will be much easier to get responses for your question above if you create and post a new Question rather than asking a different question from what this particular
topic is discussing - which is "Serializable and session".

Regards,
Siphiwe Madi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic