users@glassfish.java.net

Determining iiop/orb port from within deployed application?

From: Jacques <whshub_at_gmail.com>
Date: Sat, 7 May 2011 13:57:12 -0700

What is the best to determine the iiop port within the current application?


The following command provides the information I need:
>asadmin get server-config.iiop-service.iiop-listener.orb-listener-1.port

What is the best way to get this value from within a deployed application?

Thanks for any pointers.

Jacques