Hi Jeng,
Yes it does, it can be reverse engineered and you can try it yourself, its
still there but where something was "StoreNames" is now just "a".
If they determined enough they will reverse engineer it, but on a large
project its not easy to understand at all.
Put it this way, on large projects, I can reverse engineer it and make it
run, but even though I wrote the code, I cant follow it anymore ;)
I do it on very large projects but for a different reason, it optimizes
the code, and makes it smaller, sometimes the size savings are very good,
half the size, good.
Its an art, you have to play... include all the TC libs, in the LIB
section as well as the JRE, not the main section, this tells proguard not
to mess with the interfaces.
Run it and see what breaks, if it does it means you may have to keep
additional functions, and you must test really really well.
This is because proguard can guess wrong, because of things like late
binding, introspection etc, proguard is damn good but there are somethings
it just cant guess.
So the answer is yes, it works, but its not just a util that you run
without thinking... by the time you are done, you are really going to
understand your code, and will probably change the structure a few times,
so that it optimizes well.
Obfuscating makes it difficult to follow but more important is that it
teaches you about the code, for example it may throw out a whole library
or part of one, that you thought you needed but didnt... you will spend
hours on it, but on large jobs its worth it...
Obfuscating is not a replacement for security, like hiding a passwords in
the code, thats a different technology.
Obfuscating is more about optimizing download sizes, than stopping
hackers, thats why we use it.
Have Fun....
Another tip, make you project into a LIB, and bring that into a "skeleton"
webapp... so the webapp basically becomes a web.xml file and static data
plus your lib... its a nice way to do it.
Then when you obfuse... you just working on normal Jars... its easier.
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------
If you cant pay in gold... get lost...
http://coolharbor.100free.com/debt/usadebt.htm
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]