Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

What is a framework?

In CAST AIP terms, a framework based application is a J2EE JEE application like any other that can be developed in house, bought from an external Software Vendor, or developed by the open source community. The difference between a framework and a "real" application is that a framework is a technical component; void of any business functionality and meant to be used as a foundation for the business related applications. In other words, frameworks are used to standardize the behavior of applications to make them easier to develop and to maintain. They can be composed of JSP pages, Java Script files, Java Classes (Servlets, Java Beans, EJBs, ...) Frameworks are usually shared among applications, which means that when analyzing applications sharing the same framework, the analysis should ensure that the framework's objects are shared across the different applications.

Types of frameworks and their impact on

...

analyses

The first thing to do before starting the analysis of the application's code is to define the best approach based on the customer needs: We have identified three types of needs:

  • in-house developed frameworks - Analyze analyze the framework Java source code as one application
  • Third party frameworks – Use the framework archives in all the application analyzesanalyses
  • No need for framework information – Do not save any framework information

...

In this case, the framework has to be analyzed as one application using the J2EE or the JAVA JEE Analyzer, depending upon the presence of JSP pages, or property files. Having the source code of the framework available usually means that users are interested in documentation, quality metrics as well as maintainability information on this project. Therefore, analyzing the framework as a standalone application is required to make it available in the standard documentation (AIP) and in the CAST Portal.

...

Important: When analyzing multiple applications using the same framework, it is mandatory to use the exact same framework jar file. Otherwise the framework objects will be duplicated for each application.

No need for framework objects

...