Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to jar the application ???

 
Arjun Karthick
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic