SCR to R7 Migration (DS annotation) | Adobe Higher Education
Skip to main content
tushaar_srivastava
Level 6
August 26, 2020
解決済み

SCR to R7 Migration (DS annotation)

  • August 26, 2020
  • 1 の返信
  • 2574 ビュー

Hi Team,

I am new to DS annotation.

We were using SCR annotation, now we are getting like this is deprecated and now for any new service (workflow, servlet or scheduler) creation we need to use R7 annotations.

 

I tried to follow : http://www.sgaemsolutions.com/2017/07/migration-of-scr-annotations-to-osgi-r6.html

To use R7 annotation. but after adding plugin and dependencies to pom.xml and build project still I am seeing error.

So could you please guide me how to Migrate from SCR to DS annotation(R7).
1- is there any help guide documentation SCR to R7?

 

2- do we need to Migrate all the old code from SCR to DS annotation, if we dn't migrate old code and kept as is SCR annotation what will be the impact?



@kautuk_sahni  @arunpatidar  @vijayalakshmi_s  @vanegi 

このトピックへの返信は締め切られました。
ベストアンサー Vijayalakshmi_S

Hi @tushaar_srivastava,

As a first step, I suggest to go through below link which explains about SCR and OSGI annotations, concerns about migration, mixed use and related 

In particular for OSGI R7 annotation, details about plugin, dependency details with example is highlighted in 

Try following the links and try once in local with one simple class being changed to OSGI R7 annotation and build project.

Share the error details that you come across as you build.

 

1 の返信

Vijayalakshmi_S
Level 10
August 26, 2020

Hi @tushaar_srivastava,

As a first step, I suggest to go through below link which explains about SCR and OSGI annotations, concerns about migration, mixed use and related 

In particular for OSGI R7 annotation, details about plugin, dependency details with example is highlighted in 

Try following the links and try once in local with one simple class being changed to OSGI R7 annotation and build project.

Share the error details that you come across as you build.

 

tushaar_srivastava
Level 6
August 27, 2020
is it necessary to have Java 9 for using R7? because my project using JDK8