• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I access data that is set in a stateless session bean on one server from a clone

 
Deepa N S
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I access data that is set in a stateless session bean on one server from a clone?

I have a setName method that sets the name variable to letz say xyz in a stateless session bean. Can i retrieve the value xyz from the clone?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35716
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepa,
No, you can't access instance variables from a clone. And it's not a good practice to store specific data in a stateless session bean anyway.

And welcome to JavaRanch!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!