This rule detects the usage of the WebLogic API class weblogic.jndi.Environment for setting context properties. All references to this object must be migrated to an acceptable WebSphere Application Server equivalent. For example, the following Java code illustrates how the weblogic.jndi.Environment object is typically used in an application:
An automated fix will be provided that migrates the weblogic.jndi.Environment object to a Hashtable object. The keys of the Hashtable object represent the JNDI name value, and the value of the Hashtable object is transformed to a portable JNDI value for WebSphere Application Server. For example the previous code is migrated to: