Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Code Obfustication in java...

 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone suggest me the best way to obfusticate my code in java, swing for client and webservices for server code. Is there any open source tools avilable for this purpose?

Ananth
Developer, Sysvine Technologies
 
Henry Wong
author
Marshal
Pie
Posts: 21208
81
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are quite a few Java obfuscators out there. Many of which are indeed in the open source. A quick google, should give you pages of them.

Don't use them, so don't know which is best. I'll let other make those suggestions.

Henry
 
Jan van Mansum
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yGuard is a good one.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ProGuard (on SourceForge) is a good open source one.
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for All your responses. I am picking proguard.

Ananth
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you help me how to use proguard in my build.xml?
[ November 26, 2007: Message edited by: Ananth Chellathurai ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the target look like you're using to invoke it? What problems are you encountering?
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not facing any problems still, I am making a jar with my build script is it possible to use proguard through my build script? If yes what should be done?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Proguard includes an ant task that can be used for this purpose. Its manual has a full page of examples and documentation about it.
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will get through it, Thanks Ulf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic