Skip to main content

JBoss 4.2.2 -> Glassfish 3.1.2: remote ejb client ip

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
darioschmidt
Offline
Joined: 2004-04-08

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?

Thanks.