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
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
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
In this example the following features are covered.... Read More
Sometimes we may need to use a servlet to download mp3 files or other files not to play them or reproduce them. Most browsers understand the application/force-download content type header which does the trick.... Read More
This example shows how to download a file using Delphi or Lazarus, the following features are covered.... Read More
This example shows how to connect to an URL using just java sockets. You may want this for a number of reasons.... Read More
There are many ways of getting the linux distribution in Java. Here you can find some examples that may suit your needs.... Read More
In java the three main Streams stdin (standard input) , stdout (standard output) and stderr (standard output error) are handled by default by System.in, Sytem.out and System.err respectively. Sometimes we may need to change the output according to our needs, this can be done in many ways such us using the OS to tell what stream we need to use or using java to set what streams we want to be used.... Read More