MozillaZine

Raptor Engine Successfully Embedded in Java!

Sunday April 25th, 1999

From Edwin Woudt and arielb comes cool news! A gentleman named Kirk Baker has successfully embedded the Gecko layout engine in Java. Click here for details.


#4 Re:Raptor Engine Successfully Embedded in Java!

by Chris Knoll <knoll@eclipse.net>

Monday April 26th, 1999 11:44 AM

You are replying to this message

From what I have read, I believe the purpose of Raptor being embedded in java was to demonstrate that if you wanted to build a web enabled application or even an application that displayed style sheets (or any number of various applications that needed an HTML/CSS1 interpreter), you can reuse the Raptor engine (which is fast, native code) which is only a panel, and write the rest of the user interface/network plumbing, RMI accessing server parts, blah blah stuff in crossplatform java. Because it uses JNI, all that has to be there on the native side is the INTERFACE (sounds like XPCOM), but the actual binaries will be platform depended (like, win32 will have raptor.dll and linux would have libraptor.so, but the JNI (interface) will be the same between both, so the only platform specific stuff that needs to be ported is the engine (which has already been done). Damn cool!

-Chris