I think we should keep s2's dependencies down to an absolute minimum. If you are writing an application, the more you reuse third-party libraries the better, however, if you are writing a framework and/or library, ideally, you should have none. The main reason libraries should have as few deps as possible is it imposes undue restrictions on the application using the library. For example, say Struts 2 started using commons-lang 2.1, but the application wanted to move to 3.0. They'd have to wait until Struts 2 moved to 3.0, but then all the apps using 2.1 would be forced to upgrade.

IMO, the ideal library has no dependencies, and I include commons-logging in the forbidden list.

Don

Paul Benedict wrote:
Because Struts does alot of Spring manipulation on URIs, would it make sense to 
add Commons Lang as a dependency? This way we don't have homegrown string 
parsing done everytime. Thoughts for s2 too?

                
---------------------------------
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to