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.x | N/A |
Applicable RDBMS
| RDBMS | Yes/No |
|---|---|
| CSS | N/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 :
Ask customer or refer to the documentation provided to the Cast AIP Administrator.
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 name | String to look for |
|---|---|
| Spring | import org.springframework. |
| Hibernate/JPA | import org.hibernate. import javax.persistence. |
| Struts | import org.apache.struts. |
| CDI | import javax.inject. |
.Net frameworks
| Framework name | String to look for |
|---|---|
| WCF | using System.ServiceModel |
| Entity Framework | using System.Data.Entity |
| WPF | using System.Windows |
| Silver Light | using System.Windows.Browser |
| MVC | using System.Web.MVC |
Notes/comments
CMS Snapshot Analysis - Run Analyzer - Missing or Wrong Links per technology
Related Pages