Is it possible to retrieve the src of an implanted .WAR file?

1

I'm working with a lot of legacy applications here. One of them (in production) needs to be edited because it has no log.

I decompiled, but I have no idea how to reassemble in this situation. I have not been able to recompile individual edited classes because of compiler optimization. (I'm using Java 6)

    
asked by anonymous 27.04.2017 / 14:35

1 answer

0

No, I discovered that it is impossible (to this day) to do this process. There are several ways to recover code to read using decompilers, even online, but editing this artifact and resending to deploy is not feasible.

As my case it was only necessary to monitor the content, that is, they had no new features to be implemented. Giving back the problem using JAMon and AspectJ was enough. Here's a very, very simple tutorial on the technique. link

    
12.05.2017 / 20:46