top-image

Archives for Java

Java : LDAP : Utility Class LDAPHelper
Hi, Just a mini-post concerning an utility class/helper in order to request LDAP/AD LDAPHelper: That's all!!!! Huseyin OZVEREN ...more»
Java : Verify Accessibility Via PING Command
Hello, Just a method in order to verify the accessibility of a host via PING command. Examples With PING command ...With host name: ...With IP:     Java Source Code   ... main test method: ...outputs:     That's all!!! Huseyin OZVEREN ...more»
Java : Avoid Unauthorized File Downloading, Use of Token, Download File Servlet
Hello, I would like to expose a home-made solution in order to avoid the unauthorized file downloading via the generation and use of unique token (PART I). The second part (PART II) contains an example of download file servlet allowing several methods of writing file's content to client.   PART I Here, a singleton named AntiDownloadSingleton used on server side to: generate an ...more»
Java: JVM parameters, Application Cache, Calculation of Memory Footprint
Hi, In a previous post http://www.javablog.fr/java-jvm-memory-parameters-outofmemoryerror-and-memory-checker.html, we spoke about solution in order to avoid the famous OutOfMemoryError: Java heap space or OutOfMemoryError: PermGen space errors and JVM parameters (-XX:PermSize, -XX:MaxPermSize, -Xms, -Xmx).   In this post, I would like to expose a simple method to calculate the memory footprint of JAVA objects in a cache in order to set the appropriate values of ...more»
Page 1 of 28:1 2 3 4 »Last »
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.