Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session bean lifetime

Status
Not open for further replies.

9727604

Programmer
Jul 18, 2003
23
CA
Hi,
I have a session bean that performs encryption/decryption of credit card numbers and then sends the data to an entity bean to be written to the database. When the session bean is created a key is read from the database (in ejbcreate method) and used in the encryption/decryption process. I am just wondering if the key will be present in the bean for its lifetime for each method call or will I have to read the key from the database each time I want to do encryption/decryption. Any help is appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top