top-image

Tag archives for apache

Apache : Commons Configuration
Hi, Here, a simple java example using the Apache Commons Configuration library. The Apache Commons Configuration software library provides a generic configuration interface which enables a Java application to read configuration data from a variety of sources. Some resources: https://commons.apache.org/proper/commons-configuration/ https://commons.apache.org/proper/commons-configuration/userguide/quick_start.html A simple file properties myfile.properties: We need the librairies commons-configuration-1.5.jar and commons-collections-3.2.jar: The outputs are: That's all!! Huseyin OZVEREN ...more»
Java : Library : API : Generating beans automatically
Hi, Here are some libraries for generating beans automatically in the context of unit testing with the properties set. Random-beans : https://github.com/benas/random-beans/wiki - https://github.com/benas/random-beans Apache bean utils : http://commons.apache.org/proper/commons-beanutils/ - http://www.javadb.com/simple-dynabean-example-apache-commons-beanutils/ Mockito http://mockito.org/ That's all!!! Huseyin OZVEREN ...more»
Java : Excel : XLS : Example of excel generation (Apache POI)
Hello, After my previous article Example of mail generation (MSGParser, Apache POI-HSMF) concerning the generation of a mail file on server side, I would expose you an example of XLS (Excel) generation by using the Apache POI. Introduction The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) ...more»
Java – Apache – Velocity: Simple example of Velocity 2/2
Hi, It's my first post of this year, after my first post concerning the library Apache Velocity Simple Presentation of Velocity, I would expose you an article about simple example of use of Velocity. A memo to use speedly Velocity. First, our project needs the following jars to the classpath of your project: velocity-1.7.jar velocity-tools-2.0.jar It is necessary to initialize Velocity, via the method Velocity.init(...) ...more»
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.