Fork me on GitHub

java-presentation-manager by jpaoletti

A CRUD java tool

Java Presentation Manager is a CRUD system with extended tools to fast build an administrative and monitoring web site based in xml definition files, with data source and interface independece so you can define your model in xml terms and choose the data sources and visualization that you like most.


This is a maven based project with several modules. A main core module contain the main functionality and definition tools. The other modules are implementations of some of the core aspect, normally the view or the data access. The default visual implementation is based on Struts 1. This is going to change soon to a pure jsp implementation with a custom MVC system.

To use it you need to git clone or download the project, install at your local repo with maven and use the following maven plugin in your web project:


For further reference check


Those are some screenshots with default template, in english.


How you get jPM configured? Its just a matter of some xml files. Detailed information can be found at our wiki page

Sample Configuration File

<?xml version="1.0" encoding="UTF-8"?>
    <property name="debug" value="true"/>
    <property name="appversion" value="1.0.0"/>
    <property name="ignore-db" value="true"/>
    <property name="template" value="default"/>
    <property name="copyright" value="Jeronimo Paoletti"/>
    <property name="default-converter" 
    <property name="security-connector" 

    <!-- External Converters -->
    <property name="external-converters" value="jpm-econverters.xml"/>

    <!-- Busissnes Entities -->

    <property name="entity" value="entities/simpleclass.xml"/>
    <property name="entity" value="entities/complexclass1.xml"/>
    <property name="entity" value="entities/complexclass2.xml"/>
    <property name="entity" value="entities/weakclass.xml"/>
    <property name="entity" value="entities/parentclass.xml"/>

    <!-- Monitors -->

Sample Entity File

<?xml version='1.0'?>
<entity id="complexclass1" 
    <dataAccess class="jpaoletti.jpm.struts.test.ui.DataAccessComplexClass1" />
    <order>id description amount date datetime active key </order>
        <operation id="list" enabled="true" scope="item">
                <property name="operation-column-width" value="1px" />
                <property name="show-row-number" value="true" />
        <operation id="show" scope="item" display="edit list" />
        <operation id="add" scope="general" display="all" />
        <operation id="edit" scope="item" display="edit show list" />
        <operation id="delete" scope="item" display="edit show list" confirm="true"/>

    <field id="amount" width="100" display="all" align="right">
            <econverter id="show-cash" />
            <converter class="jpaoletti.jpm.struts.converter.EditDecimalConverter" 
                       operations="add edit" />
    <field id="date" width="70" display="all">
            <econverter id="edit-date" operations="add edit" />
            <econverter id="show-date" operations="list show" />
    <field id="datetime" width="130" display="all" >
            <econverter id="show-datetime" />
    <field id="active" width="30" display="all" align="center">
            <converter class="jpaoletti.jpm.struts.converter.ShowBooleanConverter" 
                       operations="list show" />
            <converter class="jpaoletti.jpm.struts.converter.EditBooleanConverter" 
                       operations="add edit" />
    <field id="key" width="150" >
            <converter class="jpaoletti....ShowLocalizedStringConverter" 
                       operations="show list" />
            <econverter id="edit-50-string" operations="add edit" />
    <field id="size" width="75" >
            <econverter id="show-cm" operations="show list" />
            <econverter id="edit-long" operations="add edit" />


This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see


You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://