0 Replies Latest reply on Jan 2, 2002 1:14 PM by padmaja

    Calling a local interface from mbean.

    padmaja

      Hi,
      From the mbean startup I need to create an SequencerEJB ejb object that is a local interface SequencerLHomeIf and SequencerLIf.
      The ejb is for creating sequence numbers so
      I want to initialize it in the mbean.
      I do not want anybody else to create it once it is
      created so I do not want it to be a remote interface.
      When I try to lookup the jndicontext for the ejb it gives an error.
      If I change the interface to be remote it works.
      Can this be done ?
      Hope this is not too confusing.