Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The only way to hide Java codes

843829Oct 5 2003 — edited Jan 6 2007

Hi all I'm a newbie and I have a simple question for Java Gurus ..

I have written some library codes in Java.. They'll be used by a servlet.

The problem is that I want to hide my Java codes.

1- Is JNI the only way to do so ? ( I mean converting my library codes into C then calling them from my Java servlet )

2- What is the best Java-to-C converter that you know. Can it work well with a complex java code, which consists of 30 classes in a single package , but which also uses only the basic java core api.

Thanx in advance for all your help, all your suggestions.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 3 2007
Added on Oct 5 2003
14 comments
883 views