Translating code to EJB 1.1.
getEnvironment() has been depreciated.
I have this code:
private SessionContext ctx;
public static final String ENV_DISCOUNT = "DISCOUNT";
// Get the next discount equation from the environment properties.
for(int i=0; ; i++)
{
String discount = (String) ctx.getEnvironment().get(ENV_DISCOUNT + i);
....
....
}
Does anyone know what replaces this or what method I could use?
Thanks,
Debra
