Latest from the blog

MySql Query Optimization Tips

Here you can find some tips to optimize slow queries that have been useful to me.... Read More

How to find a string in files in linux Ubuntu

Here there some console commands I use to find files recursively in linux Ubuntu. The commands used are mainly grep and find.... Read More

How to Create a Task(or Cron Job) in Tomcat Example

To do this you can take advantage of schedulers such us quartz, but it you don't need anything as powerful as that you can create a new thread that starts when the server starts.... Read More

Quick MySQL commands and examples plus JDBC and JSP examples

Here is a list of my most frecently used MySql Commands and examples... Read More

Use project as dependency of a web Project in Eclipse

With Eclipse you can use a source project and compile directly into a web project. Every time you change your dependency project a new Jar will be stored in your web project build path. This is very convenient if you are developing libraries for web projects.... Read More

Java Eclipse Insert and Read Utf-8 in Mysql Example

In most cases trouble happens because not everything is coded with UTF-8 or we are not doing the transcoding properly. We must tell MySQL how to store, send or receive the Unicode Transformation Format - 8 bit (UTF-8).  The easiest way to avoid any trouble is by setting everything to UTF-8.... Read More

Simple Linux Service Wrapper to Run Tomcat on startup

This is a simple wrapper to run Tomcat as a service. You need to be a root user.... Read More

Java Pdf to Tiff Example

This example uses the ICEpdf open source library to read a PDF and turn it into TIFF images.... Read More