I want to include my .jar file on webpage . Please tell me how to achieve this so that it runs smoothly on all browsers and my second problem is regarding security of my .jar file on client-side(webpage).
I want a way by which I can secure my jar file from getting exposed to outside user as they could easily download and then can easily decompile it to view source code. I don't want my code to get exposed to outside world. I know, I have an option to upload .jar on the server side but due to the design of my project I somehow want to include it on client-side. Can someone please tell me how can I hide .jar file from outside world or how can I encrypt .jar file or how can I make it totally inaccessible to users and at the same time making it available only to my program so that it can communicate with .jar. Please help.