JDBC Statement vs PreparedStatement

  • 05 April 2016
  • ADM

JDBC Statement vs PreparedStatement with example. Comparison between around SQL Injection using SELECT query.


How to create Builder design pattern in Java

  • 03 November 2016
  • ADM

How to create Builder Design Pattern in Java using simple example and comparison with classic instantiation.


How to get free disk space in Java

  • 05 April 2016
  • ADM

How to get free disk space in Java using File.getFreeSpace(), File.getTotalSpace() and File.getUsableSpace().


Starting LAMP On Low Memory VMs

  • 11 April 2016
  • ADM

If you are using a dedicated server with a few GB of RAM then you will not have this problem. But if you are running cloud computing with small virtual server like vultr.com then you may end up in this problem: the mysql/mariadb server will run out of memory.