From: Srikanth S <sri...@co...> - 2003-02-14 16:52:25
|
Hi Rod I don't think it would be a good idea to make developers depend on something like Struts. A good example would be Jakarta commons logging which allows logging with different logging packages such as log4j, jdk1.4 etc. without depending on unused packages. I do not think Struts needs any special treatment. As argued in your in book Struts is too JSP centric which is by far most ugly presentation mechanism. Going forward XML based transformations would be the most popular way for presentation and we should do what ever it takes to make that more popular. Srikanth S Rod Johnson wrote: >Guys, > >I've just been discussing our forthcoming Struts integration with Yann and >Paul. > >This raises a problem that's likely to recur. This will probably involve >adding a small number of classes that are Struts-dependent. But not all >developers might be interested in them. > >In the following, read "Struts" to mean "any third party product some >classes will depend on but which aren't of interest to everyone". > >How can we prevent our whole source tree being Struts-dependent and prevent >developers uninterested in Struts from having to download the relevant Jars? >* Make it a separate CVS module? But this will lead to a profusion of CVS >modules. Harder to build etc. >* Put it in the main module and change the Ant build script to compile the >necessary classes and run the the relevant tests only if it finds Struts on >the classpath? This could eventually make the build script very long and >complicated. >* Better ideas I haven't thought off?? How do other projects handle this? > >>From a distribution point of view, many users won't want the Struts classes >either. We could make them a sep download. Or we could just include them in >one of the main Jars, and they wouldn't do any harm unless they were used >without Struts. > >>From a documentation view, we'll also need a dependencies table, showing >what depends on what. > >Regards, >Rod > >____________________________________________________ >Rod Johnson >J2EE Architect and Author >+44 7973 409 132 > >Author of "Expert One-on-One J2EE Design and Development" >(Wrox Press, October 2002). >http://www.amazon.com/exec/obidos/tg/detail/-/1861007841/ > >http://www.wrox.com/books/1861007841.htm > >http://www.wrox.com/dynamic/books/find.aspx?author=Rod+Johnson > > > > >------------------------------------------------------- >This SF.NET email is sponsored by: FREE SSL Guide from Thawte >are you planning your Web Server Security? Click here to get a FREE >Thawte SSL guide and find the answers to all your SSL security issues. >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > |