This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to jar the application ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to jar the application ???" Watch "How to jar the application ???" New topic
Author

How to jar the application ???

Arjun Karthick
Ranch Hand

Joined: Jan 04, 2007
Posts: 77
Hi All,
My application needs to be jarred to an external client. I have stored all the class file of the application in the jar.
I don't want my client to decompile the class file and understand the code. Is there any way to obsticate the code in the class file. Is there any tool available for that. Please advice me in the above case.
What coder usually do in such cases. Is this something that must have been taken into consideration during design phase itself. Please throw some light in this.

Regards
Arjun.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
You should not do anything differently for code shipped to customers. A good obfuscator is ProGuard (on SourceForge), but be aware that any obfuscation can be reversed. Some further hints of what can be done to make it harder to get at the code can be found here.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to jar the application ???
 
Similar Threads
<ejb-client-jar> example from the core specification
Packaging of files
Deploying EJB on weblogic8.1
Jar file
how to protect viewing source code of class file or jar file from client