JBoss.orgCommunity Documentation
As PicketLink IDM is a Maven2 based project it is very easy to leverage it from this build system. There is a ready to use Maven2 example project in the svn. It contains three sample test cases for with following configurations:
database setup
LDAP setup
mixed LDAP + database setup
Sample project uses embedded OpenDS and HSQLDB so there is no need for any additional setup to be able to play with the API.