|
Project Information
Members
Featured
Downloads
|
Latest newsThe java-commons project is now hosted on Bitbucket.. In order to be able to download projects sources from SCM you have to install a compatible Mercurial SCM plugin on your favorite IDE. java-commons-1.2.2 released (2010-10). Release NotesTo see the release notes of this project, please refer to this wiki page. You can browse java-commons releases by using our Nexus repository. What is java-commons?"java-commons" is a bunch of tools that allow developers to build java applications. The project is divided into several modules: 1. commons-core This is the main module of the project. It provides classes to work with Dates, Calendars, Emails, Localization... A flexible objects registry can also be found in this module. For more informations (documentation, samples, ...) about the commons-core module, please refer to this wiki page. This module provides classes to work with Java cryptography API. For more informations (documentation, samples, ...) about the commons-security module, please refer to this wiki page. This module provides classes to use in your service layer. You will find classes to help you to work with several JEE technologies like: EJB, JMS, JMX, Naming... In the future release, you will find an exceptions framework built around ApplicationException and SystemException concept. For more informations (documentation, samples, ...) about the commons-core module, please refer to this wiki page. For this moment, this module provides only classes to work with JPA (Java Persistence API). For more informations (documentation, samples, ...) about the commons-persistence module, please refer to this wiki page. This module provides classes to work with W3C related API. In this module, you can find, for example, classes to make XSL transformations. TODO --> For more informations (documentation, samples, ...) about the commons-w3c module, please refer to this wiki page. This module provides classes to work with Web technologies. Several classes to work with JSF (Java Server Faces) can be found in this module. TODO --> For more informations (documentation, samples, ...) about the commons-web module, please refer to this wiki page. Getting Started1. Without maven2 Download the java-commons distribution (java-commons-{project.version}.zip) and add the wanted jars in your classpath. These jars can be found in the 'dist' directory of the distribution. 2. With maven2 In order to add java-commons dependencies in your project, you have to add the following lines in your pom.xml file. Theses lines are very important because they allow maven to locate the java-commons repository. <!-- sempere.org repositories --> <pluginRepositories> <pluginRepository> <id>sempere-plugin-repository</id> <url>http://sempere.org/nexus/content/groups/public/</url> </pluginRepository> </pluginRepositories> <repositories> <repository> <id>sempere-repository</id> <url>http://sempere.org/nexus/content/groups/public/</url> </repository> </repositories> Finally, add the wanted java-commons dependencies in your pom.xml file: <dependency>
<groupId>org.sempere.commons</groupId>
<artifactId>commons-core</artifactId>
<version>${commons.version}</version>
</dependency>
...Have fun!! |