This is a simple wrapper to run Tomcat as a service. You need to be a root user.... Read More
Juan Carlos Gonzalez Blog
Welcome to my Blog! I have been a analyst/programmer for over ten years, most of my work has been about integrating web an telephony services. In this Blog you can find information and code samples that have been useful to me and I hope they can be useful to you too.
Please, send me your feedback!
Latest from the blog
Sometimes it's useful to know that is some threads status. I normally use JConsole to monitor but if you can't use this technology and you need to know what is going on with the threads an easy trick is to upload a JSP to the server. Here are some good examples for that.... Read More
Here you can find some tips to optimize slow queries that have been useful to me.... Read More
This is a simple wrapper to run a Java program as service. You need to be a root user.... Read More
I needed to create a server for up to 1000 concurrent users. Using a single-threaded-per-socket connection was taking too much CPU and memory. NIO is supposed to increase your latency but it wasn't too much in my case.... Read More
I was asked to develop a socket service that could send and receive requests asynchronously. The service was meant to cope with up to 300 concurrent users and up to send/receive 50/100 messages per second.... Read More
Here is a list of my most frecently used MySql Commands and examples... Read More
Open a terminal and switch to root user.... Read More