• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Creates more then one new context?  RSS feed

 
Balaji Munuswamy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am Presently using For Loop to creating more then one Context.
String queueName ="";
Attributes attrs = new BasicAttributes();
for(){
...........
dirCtx.createSubcontext(queueName, attrs);
}
I need to Create more then 100 Context. I feel it will decrease performance.whether any other way to do this?
What is the Diff between createSubcontext(Name name, Attributes attrs) and createSubcontext(String name, Attributes attrs) ?
please help me...
Tks in advance.
Balaji
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a rather specific JNDI question so I'm going to move it to Other APIs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!