On this page:
- Extension ID
- Prerequisites
- Description
- What's new?
- Technology support
- Function Point, Quality and Sizing support
- CAST AIP compatibility
- Supported DBMS servers
- Dependencies with other extensions
- Download and installation instructions
- Application qualification information
- Prepare and deliver the source code
- Analysis configuration and execution
- What analysis results can you expect?
- Structural rules
- Current known limitations
Target audience:
Users of the extension providing JEE analysis support.
Summary: This document provides information about the extension providing JEE analysis support.
Extension ID
com.castsoftware.jee
Prerequisites
Please see JEE - Required third-party software.
Description
This extension provides support for JEE.
What's new?
Please see the following pages for information about new features/changes, fixed bugs, changes that will impact results etc.:
Technology support
See Covered Technologies and also JEE - Technology support notes for additional information.
- Function Points (transactions): a green tick indicates that OMG Function Point counting and Transaction Risk Index are supported
- Quality and Sizing: a green tick indicates that CAST can measure size and that a minimum set of Quality Rules exist
Measurement | Supported |
---|---|
Function Points (transactions) | |
Quality and Sizing |
CAST AIP release | Supported |
---|---|
8.3.x | |
8.2.x |
Supported DBMS servers
This extension is compatible with the following DBMS servers:
DBMS servers | Supported |
---|---|
CSS/PostgreSQL | |
Oracle | |
Microsoft |
Dependencies with other extensions
Some CAST AIP extensions require the presence of other CAST AIP extensions in order to function correctly. The JEE Analyzer extension requires that the following other CAST AIP extensions are also installed:
- Web services linker service (internal technical extension)
Download and installation instructions
Please see:
Application qualification information
Please see: JEE - Application qualification specifics
Prepare and deliver the source code
Please see: JEE - Prepare and deliver the source code
Analysis configuration and execution
Please see: JEE - Analysis configuration and execution and all child pages:
- JEE - Analysis configuration
- JEE - Analysis of pure Java applications
- JEE - Framework analysis tips
- JEE - Handling action classes
- JEE - Environment Profiles
- JEE - Advanced customization of a JEE analysis
- JEE - Run and validate analysis
What analysis results can you expect?
Please see: JEE - Analysis results
Structural rules
The vast majority of rules provided for the JEE Analyzer are embedded in CAST AIP - see JEE - Structural rules for more information. In addition, some rules are also provided with the extension:
Current known limitations
See also JEE Analyzer - Technology support notes.
Quality Rules
Avoid static field of type collection (7562)
When calculating a snapshot for applicationusing JSE 5.0, the Quality Rule "Avoid static field of type collection (7562)" does not list as "Very High Risk Objects" classes that are or inherit from a Generic collection. The Quality Rule lists only the non generic form of collections. For example static attributes of type java.util.Collection<E> will not be reported as a violation.
Persistence: Avoid table and column names that are too long (portability) (7706)
Situation:
- JEE application using the Java Persistence API (JPA), e.g. in the form of Hibernate.
- A table or column name is not specified in the annotations of the JPA entity.
Symptoms: The JPA entity is not listed as a "Very High Risk" object in the results.
No link bookmarks generated
When Java Methods are defined inside a JSP file, no link bookmarks are generated (bookmarks can be seen in CAST Enlighten or in the Dynamic Link Manager). Example of a Java Method defined in a JSP file:
<%@ page language="Java" %> <%! public void myMethod(String message) { System.out.println(message); } %>