title: Connection Pooling in GlassFish 4.1
body: <p>In an old web application I used a tomcat server. In order to configure the connection pool for the web application I modified the context.xml file of the application. I did not do anything to the server files. This way I was able to have different pools for different applications on the same server. I am now developing a new web application but this time using a glassfish 4.1 server. Based on the internet searches I performed it seems that I will have to modify the server files themselves in order to set up the server for connection pooling. Is there a way to modify a file within the web application only and have this file be read by the server, the same way that the context.xml file works for tomcat? Thanks.</p>