Tuesday, 21 February 2012

C3P0 ConnectionPool: How To configure

C3P0 - is connection pool,  connection pool is a cache of database connections maintained, so that the connections can be reused when future requests to the database are required. 


The main question is how to cofigure it, because default values are not perfect. First of all I found oficial doc with description of the values. Next I found this one C3P0 ConnectionPool Configuration Rules of Thumb. After some performance testing of my application, I can confirm that configuring like in this article, can greatly increase your performance, in my case it was about twice. So bellow text of this article -  "

Thursday, 22 December 2011

YUI: Compressing JavaScript and CSS files with Ant

The YUI Compressor is JavaScript and CSS minifier designed to be 100% safe and yield a higher compression ratio than most other tools.

Saturday, 12 November 2011

Tsung: Web Application Performance and Stress Testing


The purpose of Tsung is to simulate users in order to test the scalability and performance of IP based client/server applications. You can use it to do load and stress testing of your servers.You can test with Tsung HTTP, WebDAV, SOAP, PostgreSQL, MySQL, LDAP and XMPP/Jabber.

Thursday, 22 September 2011

JavaEE: A beginner's guide to Enterprise Java Beans (EJB)

 EJB - is a managed, server-side component architecture for modular construction of enterprise applications. Simply EJB provide instrument to write business layer(logic) of your application.

Saturday, 17 September 2011

Android: Image viewer

View images loaded from Internet(using xml parsing) features: Delete, Reload, Save to SD card, Find, Delete All. Like list and menu I am using my classes extended from ArrayAdapter.

Later will upload on github or google code, now only .zip

More screens: