?
Solved

Can Obfuscated java classes be fully supported by JSP?

Posted on 2005-04-17
7
Medium Priority
?
256 Views
Last Modified: 2010-03-31
Hi,

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?
0
Comment
Question by:rospcc
  • 3
5 Comments
 
LVL 92

Expert Comment

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

Accepted Solution

by:
objects earned 1000 total points
ID: 13803457
0
 
LVL 15

Assisted Solution

by:aozarov
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
http://forum.java.sun.com/thread.jspa?threadID=562084&messageID=2764929
Another know one is: www.jproof.com/downloads.html 
Also, You can precompile your jsp files and then obfuscate them together with your code.
0
 

Author Comment

by:rospcc
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?
0
 
LVL 92

Expert Comment

by:objects
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();
   c.doSomething();
%>

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

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