Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Decompile uber-jar-6.5.10

Avatar

Level 4

Hi ,

 

I want to view the implementation for  /libs/dam/cfm/admin/components/datasources/optionrendererenumeration/GET.servlet

 

manisha594391_0-1657065940088.png

Unable to view the same in automatically decompiled classes for uber-jar in IDE.

manisha594391_0-1657066065466.png

 

Also, is that legal to decompile the adobe provided uber jar. Saw this article https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/is-decompiling-aem-bundles...

Any pointers appreciated.

 

Regards,

Manisha

4 Replies

Avatar

Community Advisor

Hi @manisha594391 ,

I'm not sure whether optionrendererenumeration/GET.servlet is actual a servlet - unable to to find exact bundle name. If you could find it - there are plenty of options to decompile jar bundle once you have in place one of the best web based application you can consider at [0]. Also check Java Decompiler [1]

Coming back to answering your question - Decompiling commercial software, as part of self-education, troubleshooting etc will be OK. However, as stated in thread [2] - If you de-compile and something breaks - it will not be covered by support. 

To recapitulate, based on the above assertions referring and understanding as you mentioned above /libs/dam/cfm/admin/components/datasources/optionrendererenumeration/GET is OK but not a good idea  to use/integrate in your custom application.

[0]: https://jdec.app/

[1]: https://java-decompiler.github.io/ 

[2]: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/is-decompiling-aem-bundles...

Hope that helps!

Regards,

Santosh

 

Avatar

Level 4

Hi @Santosh

Thanks for prompt response, looks like IntellijIDE automatically decompiles the jar if included in dependencies. However, am still. not able to find implementaion for below. Can it be possible that adobe has marked the implementation as private package and even the decompiled jar won't show that

 

<unnamed> (serviceId = 5349, bundleId = 329)

/libs/dam/cfm/admin/components/datasources/optionrendererenumeration/GET.servlet

auth=no
adaptable=false
attributable=false
modifiable=false
refreshable=false
supportsQueryLanguage=false
useResourceAccessSecurity=false

Avatar

Community Advisor

@manisha594391 As I mentioned above, unable to to find exact bundle name- If we could manage to find the right jar bundle, we can able to refer implementation, it doesn't really matters even those are specified as private.

Avatar

Level 4

I am able to extract the implementation. Just adding for everyones reference-

AEM Version: 6.5.10

serviceId = 5349,

bundleId = 329

Fetch the bundle jar from this location : <AEMsetupfolder>/crx-quickstart/launchpad/felix/bundle<bundleId>/version<versionval>/bundle.jar

 

package : com.adobe.cq.dam.cfm.impl.ui

Class name : EnumerationOptionsRenderDatasource