#713 Java Interop on 'Tour' page

eee Mon 10 Aug 2009

I dunno if this is counter to philosophy ... but it seems like on the Tour page, maybe toward the bottom, it ought to have a section that's like, "oh, and don't worry. You still have easy access to all your Java."

I know it would benefit me, for one, to see a complete example of such somewhere, anyway.

... could also be in the cookbook section. I mean, it's there in the interop section, but it doesn't really seem to drive the point home or really show usage ... as far as this noob can tell.

Then again, I really appreciate the goal/desire of wrapping all the insanity of Java, which could actually allow Fan to be someone's first language ... rather than appealing to Java to fill in the blanks.

There's a one-language feel to this whole thing, in fact, which I think is awesome. One language on client and server, etc. But I digress.

Thanks.

tcolar Mon 10 Aug 2009

I have a little FFI example here: http://wiki.colar.net/fan (last link)

Hopefully that helps a little.

I'm currently working on a real project with FFI too, but it's pretty new and might be more confusing than anything at this point.

Also check the few examples in examples/java in the fan distribution.

cheeser Mon 10 Aug 2009

And now that 1.0.45 is out, i'm hoping to have time to get all the fan/web examples running on tradewinds. http://kenai.com/projects/tradewinds/ There's a bit there already that may or may not help.

Login or Signup to reply.