oalexeev 01/07/15 13:45:21 Modified: contrib/service-manager readme Log: Add strings with thanks to struts developers. Revision Changes Path 1.2 +10 -0 jakarta-struts/contrib/service-manager/readme Index: readme =================================================================== RCS file: /home/cvs/jakarta-struts/contrib/service-manager/readme,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- readme 2001/07/14 22:41:56 1.1 +++ readme 2001/07/15 20:45:21 1.2 @@ -19,21 +19,31 @@ was simple - lets extend Struts framework without needs to extend ActionServlet class. With ServiceManager each developer can write new service with some additional functions for Struts framework and plug it into the ServiceManager. + ServiceManager uses single struts-config.xml file to read configuration information and lets to services add its own rules to the digester to support additional config sections in struts-config.xml. Another words - ServiceManager uses 'live' Digester! Such trick allow to store all needed config info for all services in application in one file - struts-config.xml. + ServiceManger implementation contains one service as sample of services using. This service (FactoryService) contains code from my early struts-based package - BeanFactory. FactoryService intended to support automatic beans generation for any action in application. It uses different factories to generate beans by different ways. Package contains two factories - JDBCFactory and RowSetFactory. + JDBCFactory is really simple and transparent approach to read data from relation data source. It uses struts-config.xml to register all needed info about queries and parameters for it. RowSetFactory is experimantal hack to support using of CachedRowSet early access implementation and forget massive data beans creations - write query, place tags into jsp and view data from database at pages. + +Many thanks to all those struts developers which participated in discussion of the +questions connected to development ServletManager. Special words for Ron Smith - +his Extensions servlet give me additional impact to make right solution and choose +roght way. Thanks to Craig R. McClanahan - for words about architecture. Thanks to +Ted Hasted - for conducting discussion around creation of standart way to make struts +extensions pluggable. Oleg V Alexeev ____________________
