I had some success with this code snippet: InitialContext ctx = new InitialContext(); javax.naming.NamingEnumeration ne = ctx.list("jplus"); while(ne.hasMore()) Debug.println("Object: "+ne.next().toString()); Of course, you might do something else with it... I had deployed all my beans under the jplus namespace. I don't know what an empty list() does, but it might be what you're looking for. Have a look at the docu of InitialContext - some of the list methods might be for you. Greetings, Gregor > -----Original Message----- > From: Christian Holmqvist [mailto:[EMAIL PROTECTED]] > Sent: 15 March 2001 09:29 > To: JBoss-User > Subject: [jBoss-User] Discover EJB from the client > > > Hi > > I'm in a project where the situation is that I have to "discover" a > application server from the outside (given minimum amount of > information > i.e. servername, port, what else??). > > What I like to find out about a server is the interfaces that > is exposed > (i.e. home and remote interface), and all the beans that is > deployed at a > given time. > Is this possible? > I know I can figure out the home and remote interfaces of a bean with > reflection and EJBMetaData. But how to figure out what beans that is > deployed is harder! (or?) > > Anyone with experience from this kind of work? > > Christian Holmqvist > Software Engineer > [EMAIL PROTECTED] > > > > -- > -------------------------------------------------------------- > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] > -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED]