cancel
Showing results for 
Search instead for 
Did you mean: 

Webscripts and annotations

modestas
Champ in-the-making
Champ in-the-making
Hello,

Is it possible to create a WebScript and use annotations driven approach?

Like:

@Autowire
@Controller
@Component

I want to get rid of old xml based beans registration…

respectfully,
Modestas
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

there is the addon <a href="https://addons.alfresco.com/addons/dynamic-extensions-alfresco">Dynamic Extensions for Alfresco</a> that you may use. And there are efforts to bring some annotation-based development into the Alfresco core within the next releases - the initial focus is more on annotation driven behaviours, but web scripts may be considered as well.

Regards
Axel

Not applicable
Hi,
I see on svn (5.0.c) behaviour annotation…
Webscripts/actions annotation are scheduled for next 5.0.x (with x > c) community release?? Or in future release?

afaust
Legendary Innovator
Legendary Innovator
Hello,

behaviour annotation were included in the core due to their use in Records Management and potentially other official Alfresco modules. I am not aware of any plans for web script / action annotations. The inclusion in core has nothing to do with the Dynamic Extensions addon.
Perhaps Roy Wetherall (working on RM amongst others) or someone else from Alfresco with an annotation background can get more input on this.

Regards
Axel