Applicable in CAST Version
Release | Yes/No |
---|---|
8.3.x | N/A |
8.2.x | N/A |
Applicable RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | N/A |
Microsoft SQL Server | N/A |
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 :
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 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 |
Related Pages