Action Class is Thread safe if i declare method for database connections before the execute method and when you try to access what will happen for application

Showing Answers 1 - 1 of 1 Answers

Charles

  • Nov 27th, 2007
 

As long as your connection object is not declared as a class level object, (ie an object declared outside all functions), and as long as the connection object being declared is not static, the program will run fine. (Assuming that the method for creating a connection returns a connection object)

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions