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

By: Ash Printer Friendly Format    


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 )

Interview Question: Who makes the Struts?

Interview Question: Where can I get a copy of Struts?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Interview Question: What is abstract schema?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

What is Deployment Descriptor?

What do you understand by Synchronization?

What is JSP Scriptlet?

Interview Question: What is Struts?

Interview Question: How is the MVC design pattern used in Struts framework?

Interview Question: Why it is called Struts?

Interview Question: What is Action Class?

Interview Question: Write code of any Action Class?

Interview Question: What is Struts Validator Framework?

Interview Question: What is ActionForm?

Latest Articles (in Interview)

Comment on this tutorial