DEVFYI - Developer Resource - FYI

What's the best way to deal with migrating a large application from Struts to JSF? Is there any tool support that can help?

Struts Questions and Answers


(Continued from previous question...)

66. What's the best way to deal with migrating a large application from Struts to JSF? Is there any tool support that can help?

Answer: This is a complicated task depending on your Struts application. Because the two frameworks have different goals, there are some challenges. Migrate your response pages first. Keep the Struts controller and place and forward to JSF pages. Then you can configure Struts forwards to go through the Faces servlet. Consider looking at the Struts-Faces framework from Apache. See the framework chapter in JSF in Action.

(Continued on next question...)

Other Interview Questions