Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cost of doing a JNDI Lookup

 
Kartik Shah
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we profile how much costly (time) JNDI Lookup can be?
If it depends upon the Directory Server does any of directory server provider provides with such sort of metrics.
 
Olivier Sinnaeve
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using a profiler. Jprofiler is paying material buth quite good i can say !! Jboss has its profiler that can be used in an eclipse environment. These profilers give you exact and if you like verbose information. These infos include the time spend on each method. Most often this implies you to install an agent on the running vm and retrieve the data with the client-profiler.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18164
53
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the CodeRanch, Olivier!

Look at the date on the question you're answering. It's over a decade old! And while it's very unfortunate that no one answered it, by now, Karthik probably has moved on to other employers 2 or 3 times (or more, considering how disposable people are these days), and quite possibly may no longer even be a software developer.

We call threads that have been re-opened months or years after the discussion has closed "Zombie threads". We appreciate the effort, you've made, and we look forward to having you here, but I'm afraid you're too late for this one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic