• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

jndi/dns service provider

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:
Has anyone have any experience using the jndi/dns service provider. I am looking for a code example to do that.
Thanks,
Shital Kapadia
 
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's something I wrote once. The code is written for the Avalon framework, but you can probably make sense of it by just ignoring the strange parts.
And here's some extra info you may find helpful. I asked a question a while back and learned from someone who actually did some testing that the JNDI provider in the standard JDK is not very fast (at least in Java version 1.4). He has an alternate provider at his site that lets you use the JNDI syntax but with the speed of DNSJava.
Here's the code:
DnsService.java:

JndiDnsServiceImpl:
 
Shital Kapadia
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so much David for providing me with this valuable information.
Can you kindly help me a little bit more in this area. i would like to have an example of a simple java program that uses dnsjava as its service provider using the dnsjavans connector.
I am confused on how to use these jars within my code, what packages do I have to import etc.
Thanks in advance for all your help.
Shital Kapadia
 
It's exactly the same and completely different as this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic