Hi,
i just trying to access the environment of a client (swing) that is calling a session bean.
The client has a property "locale" set in which the current language is stored.
I have to read this language in the session bean.
In ejb2.1 this was possible using the sessioncontext
context.getEnvironment().getProperty("locale");
InitialContext ini = new InitialContext(); NamingContext o = (NamingContext) ini.lookup("java:comp/env");
Give a look in http://java.sun.com/products/ejb/docs.html#specs EJB 2.1 doc item 20.2.1.1 and item 20.2.1.2. Explain the "standard" way to use "EJB properties".
If you want to do what Im imagine you can create a setLocale() method in case of a SFSB.