Discussions

EJB design: EJB running on different machine

  1. EJB running on different machine (1 messages)

    hai

    how do i know the particular EJB running on a remote server. ie(in different machine.)

    thanks in advance.

    ---- megala
  2. EJB running on different machine[ Go to top ]

    Megala:

      Interface EJBContext

      getEnvironment

    public java.util.Properties getEnvironment()

        Deprecated. Use the JNDI naming context java:comp/env to access enterprise bean's environment.

        Obtain the enterprise bean's environment properties.

        Note: If the enterprise bean has no environment properties this method returns an empty java.util.Properties object. This method never returns null.

        Returns:
            The environment properties for the enterprise bean.


    Mind that this is a Deprecated method. I need to check the latest API help. but I guess this shall help.

    Regards
    Chetan