[getdns-api] Java language bindings
gwiley at verisign.com
Tue Sep 10 12:14:21 MST 2013
As we continue our work on the getdns API implementation the question of what the Java language bindings would look like came up. It doesn't look as though Java appeared in any postings to the list yet so I'd like to offer a few thoughts (paraphrased from notes from previous discussion with Neel Goyal and Allison Mankin)
Java developers are used to different idioms than the typical C developer so it might not make sense to implement a Java version of the API using exactly the same semantics as the C version. We might want a more OO approach to the Java implementation, for example we might handle context this way:
Assuming the package com.verisign.getdns:
// DnsContext class or DnsContextFactory class
static DnsContext create(boolean setFromOs);
We are thinking that the implementation would likely be done in Java (rather than exposing the C implementation via JNI for example).
The Hive, Verisign, Inc.
"This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed, and may contain information that is non-public, proprietary, privileged, confidential and exempt from disclosure under applicable law or may be constituted as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this message in error, notify sender immediately and delete this message immediately."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the getdns-api