wh | Community
Skip to main content
New Participant
October 16, 2015
Solved

wh

  • October 16, 2015
  • 2 replies
  • 827 views

HI All,

Just i need to understnad on below items.

 1)ConfigurationPolicy.require( when to use and why to use this scr annotation)

 2)Spring DM model (When to use ,it would be great if any one provide code and usage )

 3)What return type is used while injecting java class methods(which extends WEMUse) and should  sync with sightly templating language

 4)Clay Tablet Connector is cloud base translator or not?

Thanks in advance.

 

Thanks,

Venkat

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

1 - For configurations with AEM - there are a few community articles that discuss. For example - see: 

http://www.wemblog.com/2012/10/how-to-work-with-configurations-in-cq.html

http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html

2  - For Spring - question - Spring is not really used with AEM. AEM is based on Sling - not Spring. If you try and use Spring framework in AEM - that is considered a custom implementation and not really supported. You will not find this use case in the docs or community articles - its just a different framework. 

3 - For working with AEM, Sightly and Java - you can define your Java class to return what you want. I recommend working with this communtiy article - its a hands on walk through that will show you how to use Sightly and Java: 

https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html

Notice how HeroTextComponent is implemented and how values are returned to the Sightly component. 

4 - 

http://www.clay-tablet.com/products/cms-connectors/adobe-experience-manager

http://clay-tablet.com/~/media/files/claytabletconnectoraeminstallandconfig.pdf

2 replies

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015

1 - For configurations with AEM - there are a few community articles that discuss. For example - see: 

http://www.wemblog.com/2012/10/how-to-work-with-configurations-in-cq.html

http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html

2  - For Spring - question - Spring is not really used with AEM. AEM is based on Sling - not Spring. If you try and use Spring framework in AEM - that is considered a custom implementation and not really supported. You will not find this use case in the docs or community articles - its just a different framework. 

3 - For working with AEM, Sightly and Java - you can define your Java class to return what you want. I recommend working with this communtiy article - its a hands on walk through that will show you how to use Sightly and Java: 

https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html

Notice how HeroTextComponent is implemented and how values are returned to the Sightly component. 

4 - 

http://www.clay-tablet.com/products/cms-connectors/adobe-experience-manager

http://clay-tablet.com/~/media/files/claytabletconnectoraeminstallandconfig.pdf

ApmagAuthor
New Participant
October 16, 2015

Thank you very much and thanks a lot.