You're trying to use the java client API from a C program???
*cough* libfreenet *cough*


On Sat, Apr 14, 2001 at 01:39:18PM +1200, David McNab wrote:
> > I can see why somebody coming from C would like to approach it this way -
> > but trust us, you are better off getting used to the OO approach to this.
> > Static method should simply be avoided.
> 
> Yes - I'll get off it when I'm more skilled at it.
> But for now, it's very convenient for 2 reasons:
> 1) When driving Java Native Interface from the C side, it's far easier to
> access static methods/attributes than object ones.
> 2) From my limited present understanding of Freenet, and its class
> structures, it looks like unrelated areas of functionality are tightly
> coupled together, and that the class interfaces are not very "black-boxy". I
> do anticipate that experience and deeper insight will prove me wrong - I
> admit that this is just my present perception.
> 
> At present, (quick - grab your barf bag!) I'm hooking into Freenet via a
> client wrapper class, Freenet.client.Jni
> This is part of an "Idiot's Freenet C library" I've written, called libFCJ.
> I'm sure I'll look back on this in time and laugh heartily at myself.
> But for now, it's meeting a need - I'm working on a cushy Win32 GUI client,
> and want to get it up and out ASAP. Looking good so far (imho).
> All going well, I'm a week or two from alpha (round 2).
> 
> David
> 
> ----- Original Message -----
> From: "Oskar Sandberg" <oskar at freenetproject.org>
> To: <devl at freenetproject.org>
> Sent: Saturday, April 14, 2001 1:07 PM

Reply via email to