Programming Tutorials

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

By: Ash in Interview Tutorials on 2008-08-13  

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.

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

Explain the Encapsulation principle.

What is Collection API?

What are the services provided by a J2EE container?

Interview Question: What is Local client view in EJB?

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

Interview Question: Why does EJB needs two interfaces(Home and Remote Interface)?

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

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

Interview Question: How many EJB Objects are created for a Bean?

Interview Question: What are the call back methods in Entity bean?

Interview Question: What is the difference between JavaBean and EJB?

Question: What is an Expression tag in JSP?

What are all the different scope values for the tag?

Name the containers which uses Border Layout as their default layout?

What are implicit Objects available to the JSP Page?

Latest Articles (in Interview)