Oracle Application Server Java code review rules
Under the Java code review set of rules, the Oracle to WebSphere code migration category contains multiple rules. To learn how to get more information about a rule, see Displaying detailed help.
Rule Name | Rule Description | Automated Fix |
---|---|---|
Do not cast java.sql.Connection as OracleConnection directly | This rule detects specific instances of the class OracleConnection where the class is used to cast a java.sql.Connection object and a class cast exception might result. | No |
Do not use Oracle-specific APIs | This rule flags imported classes within Oracle Application Server packages that must be manually migrated. | No |
Do not use Oracle-specific InitialContext properties | This rule detects Oracle Application Server properties within the initialization of an InitialContext using the constructor, javax.naming.InitialContext(Hashtable). | No |
Do not use Oracle startup and shutdown interfaces |
This rule detects the use of the oracle.j2ee.server.OC4JShutdown and oracle.j2ee.server.OC4JStartup interfaces used to execute code during application startup or shutdown. |
No |
Migrate MBeans specific to other application servers |
This rule detects all invocations of the javax.management.ObjectName constructor that might be application-server specific and must be migrated for the application to run on WebSphere Application Server. |
No |