Latest from the blog

Java Sockets Performance Test Example (Asynchronous Bidirectional)

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

Check out if Cron Jobs Work in Ubuntu Example

Open a terminal and switch to root user.... Read More

How to find out the amount of Threads used by a Process in Linux

List of commands I normally use for this task:... Read More

Test Asterisk AMI with Telnet

Tips before the connecting... Read More

How to remove the blank line in JSP left by the directive

The blank line after JSP directive issue has been tackled from JSP 2.1 version and above. To sort this thing out just set the property trimDirectiveWhitespaces="true" which is set to false by default.... Read More

How to print all elements in a Map

To get just the key... Read More

How to Put all the values of a resultset to a bean with BeanProcesor

BeanProcesor is an Apache API that helps us copy all the values from a Resultset to a bean. It uses reflection and unless you need an extremely optimal code it highly recommended to uses because it reduces development time.... Read More

How to handle Asterisk Calls with Java (AGI)

Java is one of the best languages to handle calls in Asterisk, in terms of speed, memory usage and security. It performs better than PHP and it's much more developed for multi-threading, data base connection and concurrency, besides you don't have the risk to produce core dumps while managing calls. With java you can create complex IVRs with much less effort than with default Asterisk Syntax.... Read More