Question :Can I invoke Runtime.gc() in an EJB? (EJB)
Answer :You shouldn't.
What will happen depends on the implementation, but the call will most
likely be ignored. You should leave system level management like garbage
collection for the container to deal with. After all, that's part of the benefit
of using EJBs, you don't have to manage resources yourself.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 13, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment