My favorites | Sign in
Logo
                
Feeds:
People details
Project owners:
  benjamin.sempere

java-commons-1.2.0 released!!!

Changes in version 1.2.0 (2009-10)

This is the list of the issues fixed in this version:

- Update maven2-parent dependency

- Refactoring of NamingManager

- Create the JMXManager class

- Add methods to ReflectionHelper class

- Create AbstractPK class (commons-persistence)

- Create AbstractEntity class (commons-persistence)

- Adds getMidnight to DateHelper (commons-core)

- Create AbstractDAO class for JPA based applications (commons-persistence)

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.



2. commons-security

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.



3. commons-server

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.



4. commons-persistence

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.



5. commons-w3c

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.



6. commons-web

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 Started

1. 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://www.sempere.org/maven2-repository/</url>
		</pluginRepository>
	</pluginRepositories>
	<repositories>		
		<repository>
			<id>sempere-repository</id>
			<url>http://www.sempere.org/maven2-repository/</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!!









Hosted by Google Code