Interview Question: Can I invoke Runtime.gc() in an EJB?

By: Ash Emailed: 1784 times Printed: 2623 times    

Question:Can I invoke Runtime.gc() in an EJB?

Answer: You shouldn’t. What will happen depends on the implementation, but the call will most likely be ignored.

 

 

 

 

Most Viewed Articles (in Interview )

Latest Articles (in Interview)

Comment on this tutorial