CMS Snapshot Analysis - Run Analyzer - Information - How to find out if a framework is used in an application

Applicable in CAST Version

ReleaseYes/No
8.3.xN/A

Applicable RDBMS

RDBMSYes/No
CSSN/A

How to check whether a framework is used by an application

The general approach to find out if a given framework is used by an application is :

  1. Ask customer or refer to the documentation provided to the Cast AIP Administrator.

  2. Scan the source code (with Notepad++ for instance) for imports of classes from the framework at the beginning of the source files.

In C#, the syntax is as follows : using com.framework.mypackage.myclass;

In Java, the syntax is as follows : import com.framework.mypackage.myclass;

Here is a chart of strings to look forĀ in each supported framework :

Java frameworks :

Framework nameString to look for
Springimport org.springframework.
Hibernate/JPA

import org.hibernate.

import javax.persistence.

Strutsimport org.apache.struts.
CDIimport javax.inject.

.Net frameworks

Framework nameString to look for
WCFusing System.ServiceModel
Entity Frameworkusing System.Data.Entity
WPFusing System.Windows
Silver Lightusing System.Windows.Browser
MVCusing System.Web.MVC

Notes/comments

CMS Snapshot Analysis - Run Analyzer - Missing or Wrong Links per technology

Related Pages