Pooling mechanism to be used in J2EE projects

Posted on 2008-11-19
Last Modified: 2012-05-05
Can somebody help me in identifying pooling mechanism to use in application?
Resource pooling such as connection pooling is available through different ways - application server, ORM (Hibernate) are known to me.
Any other ways available?
and which is the best way? why?
Question by:Mandar1105
    LVL 10

    Expert Comment

    Its a common feature given by most of the application servers. I would prefer going with application-server pooling mechanism (until I know for sure that the performance bottleneck is due to this pooling).
    LVL 8

    Accepted Solution

    In the application server environment, you would normally configure hibernate to use the resources/services like transaction manager, connection pooling etc. directly from the application server.

    The ones provided by hibernate are best used in non-application server environments
    LVL 2

    Expert Comment

    I would probably suggest configuring the resource pooling specific to individual application. In this case, the ideal way would be configuring it as part of hibernate properties rather at an application level. This would help us to individually configure the resource pooling and run multiple applications on a single application sever based on the different needs and environment of the different applications.

    make sense?

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now