Avoid direct access to database Tables (JSP) | CAST Appmarq

Avoid direct access to database Tables (JSP)

CRITICAL

Rule Definition
Direct access to database Table does not respect the multi-layer architecture principles. Furthermore, accessing Tables prevents the control at the database level of accesses. E.g.: use of non-optimized query against the database, use query that don't follow the data logic and that create inconsistency.

Remediation
Use data layer instead

Related Technologies

Health Factor

  Total Quality Index


Technical Criterion
Architecture - Multi-Layers and Data Access

About CAST Appmarq

CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.

Benchmark Statistics

Global Compliance

97.76%

Total Violations
1,172
Total Opportunities
52,369
Average Violations / App.
3.77
The compliance score represents 1 minus the ratio between the number of times a rule has been violated compared to the number of opportunities in a set of applications that the rule could have been violated.

Industry Insights

Financial Services

96.27%

Telecommunications

98.40%

Utilities

96.63%