Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

The Basics of Connection Pools in Glassfish

DZone's Guide to

The Basics of Connection Pools in Glassfish

· Performance Zone ·
Free Resource

xMatters delivers integration-driven collaboration that relays data between systems, while engaging the right people to proactively resolve issues. Read the Monitoring in a Connected Enterprise whitepaper and learn about 3 tools for resolving incidents quickly.

Connection and resource pooling (including thread and instance pooling) is a key value proposition of modern application servers like GlassFish and WebLogic to significantly boost scalability (in fact, WebLogic has long had significantly richer pooling features than GlassFish). While most in the Java EE community take this for granted, many other less mature and robust server-side platforms lack this feature. Indeed, many newcomers to Java EE do not seem to quite grasp connection pooling, even database connection pools. Andy Overton of C2B2 consulting comes to the rescue!

In a very written recent blog entry, Andy explains the basics of database connection pools, demonstrates step-by-step how to setup a connection pool in GlassFish a few different ways and discusses some key configuration options such as pool sizing along with outlining some best practices. It is well worth a read if you are a GlassFish or Java EE fan!

Discovering, responding to, and resolving incidents is a complex endeavor. Read this narrative to learn how you can do it quickly and effectively by connecting AppDynamics, Moogsoft and xMatters to create a monitoring toolchain.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}