*
The moose likes Other Java Products and Servers and the fly likes obfuscation 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 » Products » Other Java Products and Servers
Bookmark "obfuscation" Watch "obfuscation" New topic
Author

obfuscation

basvaraj lu
Greenhorn

Joined: Aug 26, 2009
Posts: 7
what is the use of obfuscation?
how to do our own obfuscation in java and web application?
can anyone explain me how to make simple java source to obfuscate file and in which software,i have tried in progaurd 4.4.
But i am not able to do it.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Obfuscation is claimed to be useful when you have to distribute your java byte code to a user and don't want them to steal your intellectual property.

If you implement your java on a web services, you don't have to distribute your Java's bytecode to anyone, so you do not need obfuscation.

It is much easier to keep people from stealing stuff if you never give it to them.

I personally think obfuscation is nearly worthless, but the vendors claim otherwise.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
But i am not able to do it.

What, exactly, have you tried, and what, exactly, was the result?


Ping & DNS - my free Android networking tools app
basvaraj lu
Greenhorn

Joined: Aug 26, 2009
Posts: 7
import java.io.PrintStream;
import java.util.Collections;
import java.util.Vector;

public class Hello
{

public Hello()
{
}

public static void main(String args[])
{
Vector vector = new Vector();
vector.add("500");
vector.add("745");
vector.add("842");
vector.add("900");
vector.add("567");
Object obj = Collections.max(vector);
System.out.println("Maximum Element of Java Vector is : " + obj);
}
}
this is which i have tried,

as output i got same class file nothing changes.
what i have to do for that
thanks,
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
this is which i have tried

What have you tried? Post the command-line invocations of ProGuard that you have used (or the Ant task and/or the parameter file, whichever is applicable).
basvaraj lu
Greenhorn

Joined: Aug 26, 2009
Posts: 7
hello,

you also do not know anything,but every post you are give comments...super keep it up...
i feel ,you never tried obfuscation with web application but you are showing to all that you know everything....

what a super funny...

arulk pillai
Author
Ranch Hand

Joined: May 31, 2007
Posts: 3219
basvaraj, you will have to change your attitude. This will no take you anywhere. You haven't shown the obfuscation process ..

Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
basvaraj lu
Greenhorn

Joined: Aug 26, 2009
Posts: 7
i know ,i have sent something bad msg...
but whatever i asked he always discouraging me,he is thinking that nothing i know...i am getting irritate to read those type of msg for my question..he may tell some suggestion or else he no need to reply me..what to do ,tell me
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
You seem to confuse a request for more information with discouragement. If you don't provide necessary information about your problem, then people will not be able to help you. You'll notice that you have been asked multiple times to TellTheDetails, but you haven't done so, and also have not solved your problem - there's a connection here.

he is thinking that nothing i know

I have honestly no idea how you came to that conclusion; it's in any case incorrect.

you also do not know anything

If you had used the search functionality of this forum, you'd have discovered that I actually do know quite a bit about ProGuard, which is why I tried to help you. Your attitude doesn't motivate me to continue to do so, though.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: obfuscation
 
Similar Threads
Obfuscation
Code Obfuscation
how to increase heap size in java
can i use obfuscator to my web pplication
need of obfuscation code with web application and how to do it