Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Bean values are lost  RSS feed

 
Rafa Moreno
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use simple classes as beans, after some time the values dissapear but the session is not lost. How can I avoid this ?
thaks
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java objects don't spontaneously decompose. For some reason your program is generating new objects, possibly due to a new session.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!