obfuscating j2ee applications (ejb, servlets)

Help
matt ma
2005-02-21
2013-04-30
  • matt ma
    matt ma
    2005-02-21

    Hello, I've got an .jar file with EJB's and a webapp .war file with Struts.  Has anyone successfully used Proguard to obfuscate ejb's and struts servlets calling those ejb's? 

    Both the ejb container and struts is going to call method and class names specified in the ejb-jar.xml, struts-config.xml, and I also have .properties files with class name references. 

    If so, can someone suggest a list of Proguard options for j2ee apps with ejb's?  Or is there a way to make Proguard only obfuscate stuff within the method but not change class names and method names? 

    Thanks in advance

    Matthew Ma
    http://www.lightspoke.com - Free Web-Based Database

     
    • matt ma
      matt ma
      2005-02-21

      sorry guys, I accidentally posted this to the wrong project!  But my questions remains the same for Javaguard.  Now that I think of it, I'll need to be able to obfuscate stuff inside methods but not change any method names, public or private because
      1. I have embedable scripts that users can code within the platform that calls documented methods from Jython
      2. the ejb container expects ejb.create(), etc. methods
      3. ejb-jar.xml, struts-config.xml, and some custom .properties files all refer to specific class names.

      Thanks!

      Matthew Ma
      http://www.lightspoke.com - Free Web-Based Database