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

Applicable in CAST Version


Release
Yes/No
8.3.xN/A
Applicable RDBMS
RDBMS
Yes/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 Framework

using System.Data.Entity

WPFusing System.Windows
Silver Lightusing System.Windows.Browser
MVCusing System.Web.MVC




Related Pages