Click here to Skip to main content
15,905,686 members
Home / Discussions / Java
   

Java

 
AnswerRe: How to write a program in java which stores every thing i type anywhere in a file Pin
Nagy Vilmos18-Jan-12 3:05
professionalNagy Vilmos18-Jan-12 3:05 
GeneralRe: How to write a program in java which stores every thing i type anywhere in a file Pin
TorstenH.18-Jan-12 3:22
TorstenH.18-Jan-12 3:22 
GeneralRe: How to write a program in java which stores every thing i type anywhere in a file Pin
anilgoyal128919-Jan-12 19:50
anilgoyal128919-Jan-12 19:50 
Questionremain application in the running when i exit it Pin
ZAliPour13-Jan-12 1:15
ZAliPour13-Jan-12 1:15 
AnswerRe: remain application in the running when i exit it Pin
TorstenH.13-Jan-12 2:07
TorstenH.13-Jan-12 2:07 
Questionmaintain connection pool issue Pin
c.thimmaiah12-Jan-12 23:55
c.thimmaiah12-Jan-12 23:55 
AnswerRe: maintain connection pool issue Pin
Nagy Vilmos13-Jan-12 0:38
professionalNagy Vilmos13-Jan-12 0:38 
AnswerRe: maintain connection pool issue Pin
jschell13-Jan-12 9:20
jschell13-Jan-12 9:20 
c.thimmaiah wrote:
connection pool


First that is non-precise. It could refer to almost anything.

Other than that the idea of a pool is to manage connections responsibly based on the client and server.

Obviously your real problem is that this is not correctly designed for in your system.

Some pools allow various configurable ways to deal with pool exhaustion, one is to throw an exception the other is to block until a connection is free.

Keep in mind that if your client code is holding on to connections for longer than needed then that too is a problem. 15 connections used well should be able to handle a substantial number of client requests. Additionally other design techniques such as caching should be used for heavy duty database resources.

And presumably the problem isn't just that some code is not actually returning the connection to the pool and instead is relying on the garbage collector to do it.
QuestionThreads for Beginners Pin
DRAYKKO77712-Jan-12 10:26
DRAYKKO77712-Jan-12 10:26 
AnswerRe: Threads for Beginners Pin
Luc Pattyn12-Jan-12 11:21
sitebuilderLuc Pattyn12-Jan-12 11:21 
QuestionDo event when variable is modified Pin
antonio34311-Jan-12 12:14
antonio34311-Jan-12 12:14 
AnswerRe: Do event when variable is modified Pin
TorstenH.11-Jan-12 21:29
TorstenH.11-Jan-12 21:29 
GeneralRe: Do event when variable is modified Pin
antonio34311-Jan-12 22:42
antonio34311-Jan-12 22:42 
GeneralRe: Do event when variable is modified Pin
Nagy Vilmos11-Jan-12 23:09
professionalNagy Vilmos11-Jan-12 23:09 
GeneralRe: Do event when variable is modified Pin
antonio34311-Jan-12 23:33
antonio34311-Jan-12 23:33 
GeneralRe: Do event when variable is modified Pin
TorstenH.12-Jan-12 2:26
TorstenH.12-Jan-12 2:26 
GeneralRe: Do event when variable is modified Pin
antonio34312-Jan-12 12:58
antonio34312-Jan-12 12:58 
GeneralRe: Do event when variable is modified Pin
TorstenH.12-Jan-12 21:34
TorstenH.12-Jan-12 21:34 
Questionredirecting and piping Pin
shekarchee11-Jan-12 11:31
shekarchee11-Jan-12 11:31 
AnswerRe: redirecting and piping Pin
Richard MacCutchan11-Jan-12 11:50
mveRichard MacCutchan11-Jan-12 11:50 
GeneralRe: redirecting and piping Pin
shekarchee11-Jan-12 13:59
shekarchee11-Jan-12 13:59 
GeneralRe: redirecting and piping Pin
Richard MacCutchan11-Jan-12 22:14
mveRichard MacCutchan11-Jan-12 22:14 
QuestionCalling java method from C# .net Pin
KASR111-Jan-12 0:26
KASR111-Jan-12 0:26 
AnswerRe: Calling java method from C# .net Pin
Nagy Vilmos11-Jan-12 0:42
professionalNagy Vilmos11-Jan-12 0:42 
GeneralRe: Calling java method from C# .net Pin
David Skelly11-Jan-12 1:51
David Skelly11-Jan-12 1:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.