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
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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.
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.
Views
Replies
Total Likes
No, it is not mandatory. OSGI R7 supports few features of Java 9.
Views
Replies
Total Likes