15 July 2011

NetBeans, Hibernate and JPA2

When you create a new persistence unit in a standalone NetBeans project, it only proposes Hibernate with JPA1.
This is because NetBeans bundles an old Hibernate release.
To work with Hibernate/JPA2, download a recent Hibernate (>= 3.5) and SLF4J (same version as the one used in your hibernate download).
Add a new persistence library with these jars from the hibernate installation directory:

  • hibernate3.jar
  • jars from lib/jpa folder
  • jars from lib/required folder
  • an SLF4J implementation library from the SLF4J download, e.g. slf4j-jdk14-1.6.1.jar
    • if you are using ehcache there is no need to download SLF4J separately. It bundles  slf4j-jdk14-1.6.1.jar.
NetBeans (>= 6.9) will recognize the library as a Hibernate/JPA2 provider.

7 July 2011

Mapping the Unified Process to CMMI

The (Rational) Unified Process (RUP or UP) is an iterative software development process. It was originally developed by the creators of UML at Rational Rose (now IBM).

CMMI (Capability Maturity Model and Integration) is a model that identifies the characteristics for a good software process within an organisation and defines metrics to be used to measure and improve the maturity of this process. CMMI is developed and governed by the SEI at Carnegie Mellon University. CMMI identifies 5 maturity levels:

  1. Initial
  2. Managed (reactive process)
  3. Defined (proactive process)
  4. Quantitatively managed (measured & controlled)
  5. Optimizing
The table below how well the Unified Process implements the CMMI constellation for Development (CMMI-DEV). The table below groups the CMMI-DEV process areas by category. The higher the maturity level associated with a process area, the darker blue the background color is. For each process area we show how well UP covers this project area, using a crude High-Medium-Low classification. The table is based on data from SEI and from IBM.

CMMI Category Process Area Maturity level UP support UP remarks
Project Management PP Project Planning 2 High only software aspects
no data management

PMC Project Monitoring and Control 2 High no data management

SAM Supplier Agreement Management 2 Low

IPM Integrated Project Management 3 Medium weak integration of plans and managing dependencies between them

RSKM Risk Management 3 High should add risk parameters

QPM Qunatitiative Project Management 4 Low no process decomposition
no statistical analysis
Engineering REQM Requirements Management 2 High

RD Requirements Development 3 High  should add allocating component requirements

TS Technical Solution 3 High no alternative solutions
no reuse/build/buy analysis

PI Product Integration 3 High

VER Verification 3 High should add recording mechanism for reviews

VAL Validation 3 High
Support CM Configuration Management 2 High

PPQA Process and Product Quality Assurance 2 High

MA Measurement and Analysis 2 High should add quantitative metrics and analysis

DAR Decision Analysis and Resolution 3 Low

CAR Causal Analysis and Resolution 5 Low support for actions on defects and evaluation
Process Management OPF Organizational Process Focus 3 Low basic support
OPD Organisational Process Defintion 3 Medium basic support
OT Organizational Training 3 Low
OPP Oprganisational Process Performance 4 Low
OPM Organizational Performance Management 5 Low

4 July 2011

Wikileaks sues credit card companies

We talked earlier about payment clearing houses blocking payments to Wikileaks.
Wikileaks and their ISP are now suing Visa and MasterCard in Denmark for this action.