Embedding JApplet in HTML that uses jSMILE

The engine.
Post Reply
smnunnally
Posts: 3
Joined: Mon Apr 04, 2011 5:34 pm

Embedding JApplet in HTML that uses jSMILE

Post by smnunnally »

I am trying to embed a JApplet I created in HTML so that people can use it online. I am having trouble using jSMILE in such a way however because of access restrictions. I have tried creating signed jar files to run the JApplet but sincle smile.jar is unsigned it still does not work. I realize that I would have to figure out how to easily get members to download the appropriate dll or lib for their computer, which is another issue, but how do I allow smile.jar to access this library so that my decision program can work?

Here is the link: http://www.pitt.edu/~smn34/PokerAdvisor.html

Thanks,
smnunnally
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Embedding JApplet in HTML that uses jSMILE

Post by shooltz[BayesFusion] »

smnunnally wrote:but how do I allow smile.jar to access this library so that my decision program can work?
I'm not sure if Java applets running in browser's sandbox can actually access native code through JNI. Can you move the BN-related code to the web server side? This would make your app accessible on any platform and there would be no need to download anything on the client.
Post Reply