save managed bean to notes document

Posted by Ove Stoerholt on Stack Overflow See other posts from Stack Overflow or by Ove Stoerholt
Published on 2012-11-28T22:30:30Z Indexed on 2012/11/28 23:04 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

In a managed bean you have fields, and the fields have getters and setters. But I also need to save values back to, in this case, a Notes profile document. So I have a loadProfileDocument and a saveProfileDocument method. I was thinking of using the bean in the application scope.

How do I make sure the profile document is saved?

Do I have to call the saveProfileDocument from the setter? Do I call the saveProfileDocument() explisitly? Could I use a destructor (finalize)? Or what...???...

© Stack Overflow or respective owner

Related posts about java

Related posts about javabeans