Implemented type mapping between java types and form types.