JBoss 4.2.2 -> Glassfish 3.1.2: remote ejb client ip
Hi, i'm migrating a application from JBoss 4.2.2 to Glassfish 3.1.2. With JBoss i use the following code to obtain the remote ejb client's ip:
String threadName = Thread.currentThread().getName();
In what way I can do the same in Glassfish?