dcsimg
Which is the correct way to list the contents of a JNDI naming service?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Bhaskar_Kommuru
Posted On:   Friday, April 5, 2002 04:10 AM

Which is the correct way to list the contents of a JNDI naming service?


A: NamingEnumeration namesList = context.getContents(someContextName);
B: NamingEnumeration namesList = context.list(someContextName);
C: Enumeration namesList = context.getContents(someContextName);
D: Enumeration namesList = context.listContents(someContextName);

Re: Which is the correct way to list the contents of a JNDI naming service?

Posted By:   Tonio_Caputo  
Posted On:   Friday, April 5, 2002 01:03 PM

I think that if you want to pass de SkillDrill
certification program you must get
books/documentation and use them.

The answer is in javadoc see java.naming.Context.

About | Sitemap | Contact