cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3.4 - Webscripts

raynerdalmeida
Champ in-the-making
Champ in-the-making
Hi

I am in the process of upgrading from Alfresco 3.1.2 to 3.4. Alfresco 3.4 replaces the alfresco-webscript-framework with Spring Surf. The primary purpose of this upgrade is to take advantage of the performance benefits of Alfresco 3.4. With the change in the webscript framework I have encountered an issue where I have refactor my 3.1 webscript code. In order to remove the effort involved in webscript code refactoring I have decided to utilize the old alfresco-webscript-framework.jar.

I have three questions:
1. Are there major performance benefits in using the Spring Surf webscript framework?
2. Is there any major issues in using the alfresco-webscript-framework.jar with Alfresco 3.4?
3. Is there a guide to upgrade the Alfresco webscripts to Spring Surf webscripts?
2 REPLIES 2

openpj
Elite Collaborator
Elite Collaborator
You have only to change only the package declared in the import section of your Java-Backed Webscripts.

And I suggest to upgrade to Alfresco 3.4 there many bugfixes in this latest version of Alfresco.

Hope this helps.

raynerdalmeida
Champ in-the-making
Champ in-the-making
Followed the suggestion made below (updated imports statements to use Alfresco Surf package) and the AMP code compiled properly using the Alfresco 3.4 SDK.  Thanks for the suggestion.