Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


wat happen when the connection is nt closed in jdbc
n what vl happen when i interchange in executequery n
execute statements

Answers were Sorted based on User's Feedback



wat happen when the connection is nt closed in jdbc n what vl happen when i interchange in executeq..

Answer / sitaram

when con.close() is executed the memory deallocated in the
server. if we don't use con.close(),connection will be
increased in the server. suppose the connections size are
reached to max connection, nobody access the database in the
site. This is performance issue.

Is This Answer Correct ?    4 Yes 0 No

wat happen when the connection is nt closed in jdbc n what vl happen when i interchange in executeq..

Answer / prasanthi reddy

when con.close() is executed the memory allocated for the
connection in the server is deallocated,and the connection
with the client will be terminated.
if we dont use con.close() even if our requirement is
completed,the connection will be remain in the server it is
the more burden to the server,it will kills the performance

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Struts Interview Questions

How can we display validation errors on jsp page?

0 Answers  


Does apache tomcat use struts?

0 Answers  


What is used to display the intermediate result in an interceptor?

0 Answers  


How is the mvc design pattern used in struts framework?

0 Answers  


What is container struts2?

0 Answers  


How does one create an action in struts 2?

0 Answers  


Is Struts Framework part of J2EE?

0 Answers  


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

0 Answers  


What is the purpose of @keyproperty annotation annotation?

0 Answers  


what is project architecture?give brief explanation about project architecture?

3 Answers   CTS, Etisalat, IBM, Infinite Computer Solutions, Mphasis,


What is the different actions available in struts?

0 Answers  


how to connect from struts to database through hibernet and where u can modify the class

0 Answers   Polaris,


Categories