One of our customers is using Tridion 2011 SP1, and they will upgrade it to SDL Web 8.
Now there are custom Java modules which are made by using Broker API(Tridion 2011 SP1), and it's necessary to migrate it to SDL Web 8.
So I made an Eclipse project, imported Java source code files of the custom module(Tridion 2011 SP1) and SDL Web 8's JAR files to the project.
SDL Web's JAR files are copied from
\Content Delivery\roles\api\rest\java\lib in install media.
Then some compilation errors occurred.
1.Package of "PageExistsHandle" class is modified.
com.tridion.web.jsp.tag.PageLinkHandler seems to be modified to
2. A class "JSPPage" is missing.
com.tridion.dynamiccontent.ComponentPresentationAssembler has following constructor in Tridion 2011 SP1.
But in SDL Web 8, there is no class named
In my implementation, some Dynamic Component Presentation contains Java code in it. I remember to excute Java code in DCP, it's required to create ComponentPresentationAssembler's instance by this constructor, and publish DCPs to file system.
3. A Class "ComponentLink" doesn't have "getLinkInfo" method.
On SDL Tridion 2011 SP1,
com.tridion.linking.ComponentLink class has a method
getLinkInfo, but SDL Web 8 doesn't have it.
(But in SDL Web 8's Javadoc, there is "getLinkInfo" on "ComponentLink" class page)
I customized it by extending "ComponentLink" class and using "LinkInfo" to customize a logic to get URL linked to.
- About 1 above, is it no problem just to modify package in Java?
- About 2 and 3 above, how can I migrate my custom module to SDL Web 8? Or should I use "In process(legacy)" JAR files instead of "rest"?