There are many ways of getting the linux distribution in Java. Here you can find some examples that may suit your needs.... 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
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
If you use java.net.URL to load url and in some cases you want to add a new protocol or if you want to use another API to handle certain protocols it is possible to do it. In this example I'm overriding the FTP protocol so that it is handled by the org.apache.commons.net.ftp.FTPClient API... Read More
With this code snippet you can create an autocomplete Jquery box that highlights the code when there is at least a match among your entries.... Read More
I wrote this post to show I solve this exception. There are a number of reasons why this error may come up and there is not a universal solution for all cases. Perhaps your are not using the same technology as me but you can find some clues here that may help you find a solution.... Read More
Sometimes we may need to save our objects out of the RAM scope. The act of storing objects outside the RAM is called persistence.... Read More
Sometimes working with console applications can be a pain in neck, luckily there are a few console applications that can really come handy.... Read More
This Example shows how to create a small HTTP server using Java Sockets. It can be useful to communicate with Cron jobs, to test whether Java is working, check out HTTP communications with a specific port, see all the headers sent by the web browser, or to verify that the post data is being sent to a specific port.... Read More