From: Laurian G. <la...@gm...> - 2005-02-22 10:56:05
|
Hello, On Tue, 22 Feb 2005 11:55:01 +0100, Stefano Campanini <cam...@ya...> wrote: > I'm reading about the Java Plug in Framework (JPF), it seem in early > state , but could be useful. > Also I like to understand how to re factor the controller. > > At the moment I see two ways: > > 1) Using Struts, with a javax.filter before the Struts Servlet that hide > the bad mapping Url ("*.do"), > this solution give us almost all advantages of the Struts Framework, but > we have a big framework included in the project > > 2) Using Jakarta.commons.Chain developing our custom controller, this > solution give us the advantage to have a clean project (only what we > need) and give the possibility (it use the Inversion of Control > paradigm) to test almost completely "Actions" without using a Web Client. > But we have to develop and maintain our controller. > > I try the second way creating a small prototype. (2) is better, especially if we want to decouple Platypus from the servlet framework implementation. Cheers, -- Laurian Gridinoc, www.grapefruit.ro |