top-image

Archives for Java

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»
Java : Access Database via JDBC, Use of SID or ServiceName
Hi, Often, the accesses to databases are different in JDBC according to the installation's type of databases: via SID for the simple/single instance of databases with a connection string like jdbc :oracle :thin :@//hostname :port_number:SID via Service Name for the simple/single instance of databases OR the databases installed on cluster system with a connection string like jdbc :oracle :thin :@//hostname :port_number/service_name   A bad use ...more»
Java : Management of Accesses Concurrent With Lock
Hello, I would like to expose a home-made solution in order to manage the concurrent accesses.   Here, a singleton named LockSingleton used on server side to: Put a lock for an user, Keep a lock for an user, Check the presence of a lock, Cleanup the locks every 30 seconds,   ...With the lock class:     That's all!!! Huseyin OZVEREN ...more»
Documentum, Java : xml, xdql, get, _xml_string
Hi, Just a simple post concerning a useful functionality provided by Documentum in com.documentum.xml.xdql DFC package. As you would see in my previous post http://www.javablog.fr/xstream-presentation-serialization-deserialization-xml.html, there is another solutions/frameworks like Xstream for the serialization and deserialization of XML in Java applications. SOLUTION 1 This package com.documentum.xml.xdql contains only the Interface IDfXmlQuery. This interface provides functionality for running queries against a repository, returning the results ...more»
Page 4 of 30:« First« 1 2 3 4 5 6 7 »Last »
bottom-img
Copyright ® 2012 Hüseyin Özveren. 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.