How do I create a standalone connection pool in Java?

Below is the method I generally prefer to create the connection pool for each database. I am using the BasicDataSource class developed by the Apache Software Foundation and available for free. To work with it you may need to add these JAR files to your classpath: 1. commons-dbcp.jar 2. commons-pooljar 3. commons-collections.jar 4. mysql-connector-java-5.1.5-bin.jar (for … Read more

Education is a Waste of Time

Education today wastes a great deal of time, money and effort – the student’s time and effort and, to a great extent, the parents’ money. Let’s start by dispelling the myth that teachers (we’re talking elementary and high school now) are all that and a bag of chips. Teachers are given not only too much … Read more

How To Draw a Bode Plot

There are two ways to draw a Bode plot. One calculates the magnitude and phase of the system transfer function at each frequency and plots the graph using those points. The other called asymptotic Bode plot, considers straight lines between poles or zeros, and has some simple rules for the slopes of those lines. Due … Read more

Public Speaking Tips – How to become a good public speaker

When someone asks you to give a speech, what is your first reaction? If you’re like most people, it’s pure terror! But that’s pretty unfortunate. Because public speaking doesn’t necessarily mean speaking in front of a large audience. There are millions of people around the world who don’t strive for greatness on the podium. Instead, … Read more