BLOG
Migrating an application from Sling 3 to Sling 5 - I
By meamitava - JCRLead | Posted on 2009-10-30 04:56
Apache Sling has added a new dimension to the world of web development. So when Apache came up with Sling 5, lot of questions came up in the mind of Sling users regarding the migration of an application from Sling 3 to Sling5. This particular post is the first of a series of posts, which will be covering steps, problems and possible solutions to the problems, required for this migration.
In case of the application that was migrated, the following steps had to be carried out:
1. Replace the jar of Sling 3 with that of Sling 5
2. Change the version of Sling from 3 to 5 in the pom.xml file of the application.
3. While accessing the nodes, the url must end in an .html extension, otherwise an error is thrown (403 Forbidden Error)
These three steps led to the successful migration of the code of application from Sling 3 to Sling 5. The source code did not have to be modified anywhere. More on migration to follow. Hope this will be of help.
- Amitava
BLOG STATS
5625 visitors have read this BlogPopular Posts
The Apache Sling FrameworkTemplate Creation in Day Communique 4.x
JCR and ECM Vendors
Writing Filters in Apache Sling Web Application
Sling based JCR Explorer
JCR DEVELOPERS (level, posts)

