Can Obfuscated java classes be fully supported by JSP?

Posted on 2005-04-17
Medium Priority
Last Modified: 2010-03-31

If I've obfuscated my java classes into .JAR file, Can the JSP still be able to communicate easily with the Java classes/Beans?

Which user friendly Obuscator software would you recommend?
Question by:rospcc
  • 3
LVL 92

Expert Comment

ID: 13803455
Any names used by your jsp will need to be marked as not to be obfuscated.
LVL 92

Accepted Solution

objects earned 1000 total points
ID: 13803457
LVL 15

Assisted Solution

aozarov earned 1000 total points
ID: 13803517
I was never a fan of obfuscation
but you can read that thread for some tips and obfuscators
Another know one is: www.jproof.com/downloads.html 
Also, You can precompile your jsp files and then obfuscate them together with your code.

Author Comment

ID: 13803993
Thanks for the reply, will look through all our suggestions.
objects, are you saying that those classes that will be used by JSP, cannot be obfuscated?
LVL 92

Expert Comment

ID: 13804009
No, I'm saying any class/method names used by your jsp pages need to be excluded from the obfuscation process.

eg. if you had:


   MyClass c = new MyClass();

then MyClass and doSomething would need to be left as is.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question