JWarp is a component framework that helps building large servlet applications. It contains a runtime environment and a persistence engine. All code is 'simple and stupid' making JWarp an powerful and extendable framework. All components are stable and
Be the first to post a text review of JWarp component framework. Rate and review a project by clicking thumbs up or thumbs down in the right column.
New Version released with many changes concerning session handling and request initialization
2003/05/09 JWarp1.0.5 official release /org/jwarp/app/JWarpApplication added comment in log, that displaying the version does not work with ServletExec3.1 2003/04/24 JWarp1.0.5rc4 /org/jwarp/app/JWarpApplication log jar-manifest informations (debug or info level) 2003/04/24 JWarp1.0.5rc3 /org/jwarp/service/web/dispatch/ActionDispatchAlg Improved bad case behaviour (logging, exceptions) 2003/04/23 JWarp1.0.5rc2 /org/jwarp/service/web/WebService readded service counting, needed for proper shutdown (waiting for requests to finish) 2003/04/22 JWarp1.0.5rc1 many changes in /org/jwarp/service/web /org/jwarp/service/web/init/SessionInit removed (now part of RequestInit) /org/jwarp/service/web/init/ISessionInit removed /org/jwarp/service/web/init/RequestInit Configuration Example: <session enabled="true"> <redirectTargetOnNewSession>login</redirectTargetOnNewSession> <sessionTimeout>1800<sessionTimeout> </session> Elements: session: if missing no sessions are used enabled: optional, defaults to true redirectTargetOnNewSession: redirect target if a new session is created - if missing, no redirect is performed sessionTimeout: session timeout in seconds: negative = infinite, 0 or missing = use default from servlet engine Override in subclass for customization: getRedirectTargetOnNewSession(WebContext context): to specify a context dependant redirect target getSessionTimeout(WebContext context): to specify a context dependant timeout doSessionInit(WebContext context): to implement special initialization of session (apart from timeout) doRequestInit(WebContext context): to implement special initialization of request /org/jwarp/service/web/IMutableRequest /org/jwarp/service/web/MutableRequest Removed method setSession(). All handling of session has been removed (redirected to underlying). /org/jwarp/service/web/WebContext added remove methods deprecated getSession method put, get and remove now throw exception if no session is available /org/jwarp/service/web/WebService removed caching changed handling of sessions (session is only checked once) 2003/04/10 org/jwarp/service/connectionpool/ConnectionPool fixed wait time for retrying to get connection, if timeout is about to expire; added log entry 2003/03/13 (Release 1.0.5a2) org/jwarp/service/scheduler/TaskManager do not set event time of schedule to stored time, if stored time lies in the future (allow for changes in scheduled time) 2003/03/07 org/jwarp/util/PagedList calculate pages in ALL places, where needed Release 1.0.4 ============= 2003/03/07 org/jwarp/service/connectionpool/ConnectionPool don't increment retries counter, if connection was snapped away by other thread assert no null-connections are handled call yield() before getting connection to allow other threads, that are waiting to get a connection to run first. /cvsroot/jwarp/core/source/java/org/jwarp/util/PagedList calculate pages in ALL places, where needed 2003/03/03 org/jwarp/util/StringEncoder improved performance, new parameter minCharToEncode org/jwarp/util/HtmlStringEncoder StringEncoder singelton for HTML encoding 2003/02/21 org/jwarp/service/connectionpool/PreparedStatementWrapper improved logging Release 1.0.3 ============= 2003/02/06 org/jwarp/app/JWarpApplication org/jwarp/service/ServiceManager Changed startup behaviour to pass through exceptions. 2003/01/24 org/jwarp/service/web/JWarpServlet.java java/org/jwarp/service/web/Constants.java Added new optional INI parameter to disable startup thread. JavaDoc bugfix Release 1.0.2 ============= 2003/01/21 org/jwarp/service/connectionpool/ConnectionWrapper.java org/jwarp/service/connectionpool/ConnectionPool.java new setting debugMissingClose: print useful information, if unclosed ConnectionWrapper is finalized. 2003/01/07 org/jwarp/service/connectionpool/ConnectionPool.java When closing a connection, now first remove it from allConnections, than attemp closing it (instead of vice versa) Release 1.0.1 ============= (not released on sourceforge) 2003/12/26 org/jwarp/util/StringEncoder.java org/jwarp/util/ICharEncoder.java new util to fast replace a specified list of characters by Strings 2002/11/18 Release 1.0.0 ============= Official 1.0.0 release on sourceforge. 2002/11/28 Adapted some comments. 2002/11/27 org/jwarp/service/connectionpool/* renamed MaxConnectException to ConnectException, optimized thread priorities org/jwarp/service/connectionpool/Attic/MaxConnectException.java replaced by ConnectException 2002/11/26 org/jwarp/service/connectionpool/ConnectionPool.java - On shutdown all threads are stopped - New (mostly optional) settings: testStatement needed (A warning is logged, if missing), statement to test, if connection is OK. If no value is given, no test is performed. default = "" openConnectionOnStart optional default = true Is a connection opened on start? openConnectionsAhead optional default = true Is a connection opended as soon as the last connection available is delivered? (performance enhancement) storageTime optional default = 600 How long (in seconds) a connection is at most kept open, if it is not used at all. (to avoid it beeing closed by host) connectRetryDelayMillis optional default = 1000 If opening a connection fails (Exception thrown or invalid connection recieved), how long to wait before next attempt. maxConnectRetries optional default = -1 Maximum number of attempts per request to retry opening a connection (within timeout). A negativ number means no limit. stopConnectingMillis Optional default = 60000 Minimal wait time, before opening a connection is aborted. Removed option: initConns On start, there is only one connection opened (use openConnectionAhead to enhance performance). 2002/11/26 org/jwarp/util/ReflectionComparator.java org/jwarp/util/ComparedProperty.java moved from ../test org/jwarp/test/comparatorTest/Attic/ReflectionComparator.java org/jwarp/test/comparatorTest/Attic/ComparedProperty.java moved to ../util 2002/11/26 org/jwarp/service/connectionpool/PoolService.java org/jwarp/service/connectionpool/ConnectionPoolUpdateThread.java shutdown ConnectionPool and ConnectionPoolUpdateThread on shutdown 2002/11/25 org/jwarp/service/connectionpool/ConnectionHolder.java taken out from ConnectionPool 2002/11/25 org/jwarp/service/connectionpool/ConnectionPool.java Wait one second, instead of 100ms, if openConnection throws Exception. Wait one second, instead of 100ms, if bad connection is found unless bad connection is older than one second. Use ConnectionHolder pool. 2002/11/22 org/jwarp/service/connectionpool/ConnectionPool.java fixed and improved checking of bad connections, new config paramter testStatement 2002/11/18 org/jwarp/service/connectionpool/ConnectionPool.java Improved ConnectSupervisorThread and ConnectThread 2002/11/18 org/jwarp/util/Attic/IdGenerator.java removed (wrong name: correct IDGenerator), correctly spelled file not added, due to CVS-problems 2002/11/15 fixed curly braces for if/else statements, removed unused imports 2002/11/15 org/jwarp/service/connectionpool/ConnectionPool.java If a connection is found to be bad, remove it from all connections and close it 2002/10/28 org/jwarp/service/connectionpool/ConnectionPoolUpdateThread.java major bug fixes (first running version) 2002/10/28 org/jwarp/service/connectionpool/PoolService.java getConnection now throws an Exception if it fails 2002/10/28 org/jwarp/service/connectionpool/ConnectionPool.java major changes, e.g. use one connectThread and a supervisorThread, open only one connection at a time, open connections in advance 2002/10/24 org/jwarp/service/connectionpool/ConnectionPool.java added features for getting connections in individual threads 2002/10/24 org/jwarp/service/connectionpool/PreparedStatementWrapper.java improved logging 2002/09/05 org/jwarp/util/MimeBase64Encoder.java org/jwarp/util/MimeBase64Decoder.java org/jwarp/util/Consumer.java tranferred from persistence to core 2002/09/02 org/jwarp/service/xmltransformation/FOPTransformerImpl.java adapted to FOP 0.20.4, Xalan 2.3.1 2002/09/02 org/jwarp/service/transaction/TransactionException.java added comment 2002/09/02 org/jwarp/service/connectionpool/ConnectionWrapper.java org/jwarp/service/connectionpool/CallableStatementWrapper.java added debug support for CallableStatments 2002/09/02 org/jwarp/service/persistence/PersistenceException.java fixed bug (underliying exception was not stored) 2002/09/02 org/jwarp/service/JNDIResolver.java org/jwarp/service/work/IWorkManager.java fixed javaDoc 2002/09/02 org/jwarp/service/connectionpool/StatementWrapper.java org/jwarp/service/connectionpool/PreparedStatementWrapper.java org/jwarp/util/ThreadLogger.java improved logging 2002/09/02 org/jwarp/service/scheduler/ServiceTask.java Improved rethrowing of Exceptions recieved from method called. 2002/09/02 org/jwarp/service/scheduler/TaskRunner.java Maximum number of tries is now displayed correctly 2002/07/15 org/jwarp/service/transaction/TransactionEngine.java Adapted jUnit calls to new version 2002/07/15 org/jwarp/service/connectionpool/StatementWrapper.java org/jwarp/service/connectionpool/PreparedStatementWrapper.java org/jwarp/service/connectionpool/ConnectionWrapper.java org/jwarp/service/connectionpool/ConnectionPool.java Added support for SQL connection level logging. Currently statements and prepared statements are supported. Callable statements not yet. 2002/07/15 org/jwarp/service/scheduler/* Scheduler reimplementation, initial revision. 2002/07/03 org/jwarp/service/web/WebService.java Fixed classloader problem for session/request init load. 2002/06/12 Some minor fixes/changes. 2002/05/24 org/jwarp/service/persistence/IPersistenceService.java - Adapted to changes in JWarp persistence (extended interface) - marked some methods as deprecated 2002/05/24 org/jwarp/service/threadpool/PooledThread.java Added name to pooled thread. 2002/05/24 org/jwarp/util/JDomUtil.java Additional methods for other datatypes added. 2002/05/24 org/jwarp/service/log/MailAppender.java Bugfix: rremoved treshold check (done by superclass) preventing from logging. 2002/05/24 org/jwarp/util/MemoryLogger.java Cosmetic changes. 2002/05/24 org/jwarp/service/connectionpool/ConnectionPool.java Fixed bug not closing connections when servive is stopped. 2002/05/24 org/jwarp/util/FiledState.java Initial revision. 2002/05/24 org/jwarp/util/ThreadLogger.java Logger utility logging the current threadgroups thread(group) tree 2002/05/24 org/jwarp/service/web/JWarpServlet.java Made INI_PARAMETER name changeable from subclass. 2002/05/24 org/jwarp/service/SocketConnector.java Now setting name of connector thread. 2002/05/24 org/jwarp/service/transaction/IOperation.java Remvoed operatoin constants 2002/05/24 org/jwarp/util/XMLtoSQL.java Some minor fixes for use with Oracle DBMS 2002/04/11 org/jwarp/service/ServiceManager.java Small fix for not loading services twice in addService 2002/04/02 Now setting name of threads for better identification. 2002/03/24 org/jwarp/util/property/Property.java org/jwarp/util/property/ListProperty.java Fixed some bugs with list/array properties. 2002/03/22 org/jwarp/service/ServiceManager.java Fixed bug when adding services manually. Now also adding to the loadOrder component without any dependencies. 2002/03/22 org/jwarp/util/property/Property.java Minor changes. 2002/03/21 org/jwarp/util/property/Property.java org/jwarp/util/property/IProperty.java org/jwarp/util/StringUtil.java Added some minor features. 2002/03/21 org/jwarp/util/property/Property.java org/jwarp/util/property/ListProperty.java Fixed some bugs, now the code seems to be stable also concerning the list properties. 2002/03/20 org/jwarp/util/property/Property.java org/jwarp/util/property/Parameter.java org/jwarp/util/property/ListProperty.java org/jwarp/util/property/InstantiatingParameter.java org/jwarp/util/property/IProperty.java org/jwarp/util/property/FixParameter.java Initial revision (only partially tested, but should compile). 2002/03/19 org/jwarp/app/JWarpApplication.java Adapted jwarp application's logging implementation, so now a log is initalized and read through the log4J system only. 2002/03/19 org/jwarp/service/log/StringBufferAppender.java Added constructor with appender name. 2002/03/19 org/jwarp/service/log/Log4JService.java Added support for jwarp application's string buffer log. 2002/03/15 org/jwarp/service/web/JWarpServlet.java org/jwarp/app/JWarpApplication.java Enhanced startup logging. 2002/03/15 org/jwarp/service/log/StringBufferAppender.java Simple string buffer appender, Not completely implemented yet. 2002/03/11 org/jwarp/service/AService.java Added helper methods getElementChecked() and getAttributeChecked() 2002/03/05 org/jwarp/service/web/WebService.java org/jwarp/service/web/init/SessionInit.java org/jwarp/service/web/init/RequestInit.java org/jwarp/service/web/init/ISessionInit.java Added initialization method. 2002/03/04 org/jwarp/service/web/init/RequestInit.java - Fixed bug: now initializing webservice instance properly. - Adapted loading of dynamic session init class for using the webservice's class loader only if the web service is existing (got it: we prevent a nullpointer...). 2002/03/04 org/jwarp/service/web/init/SessionInit.java Added some simple logging. 2002/03/04 org/jwarp/service/web/WebService.java Extended logging, expanded shutdown logging with loop. 2002/03/04 org/jwarp/service/work/WorkManager.java org/jwarp/service/log/Log4JService.java org/jwarp/service/connectionpool/PoolService.java org/jwarp/service/configuration/FileConfiguration.java Extended logging. 2002/03/04 org/jwarp/service/web/init/RequestInit.java Fixed class loader bug, now using the web services class loader. 2002/03/04 org/jwarp/util/FileUtil.java Little file util. Actually reading a file's contents into a string. 2002/03/04 org/jwarp/service/connectionpool/ConnectionPool.java Minor changes in logging and jdom access. 2002/03/04 org/jwarp/util/StringUtil.java org/jwarp/test/FiledTestSuite.java org/jwarp/test/FiledSQLTestCase.java org/jwarp/test/ASQLTestCase.java Minor changes. 2002/03/04 org/jwarp/service/ContextManager.java Renamed init method to start, extended it. 2002/03/04 org/jwarp/app/JWarpApplication.java Several adaptations for enabling context shutdown and restart. 2002/02/14 org/jwarp/service/connectionpool/PoolService.java org/jwarp/service/connectionpool/IPoolService.java org/jwarp/service/connectionpool/IConnectionPoolService.java org/jwarp/service/connectionpool/ConnectionPool.java - Added force flag for release of the connections provided by the pools. - Added release with force=true when stopping the pool service for all pools - Removed pool's client variable preventing correct release of open connections 2002/02/12 org/jwarp/service/JNDIResolver.java org/jwarp/service/JNDIResolver.java Initial revision. Base implementatoin is OK, but cooperation with other components is not tested yet. 2002/02/08 org/jwarp/test/IOperation.java org/jwarp/test/FiledSQLTestCase.java org/jwarp/test/FiledSQLOperation.java org/jwarp/test/ASQLTestCase.java org/jwarp/test/AOperation.java Added path settings to enable relative addressing of test configuration files. 2002/02/04 org/jwarp/test/SwingRunner.java org/jwarp/test/FiledTestSuite.java - Added filed test suite implementation. - Added SwingRunner 2002/01/31 org/jwarp/service/web/forward/ForwardJspAlg.java Adapted getRequestDispatcher 2002/01/31 org/jwarp/service/web/dispatch/PrintRequest.java Adapted output of session values. 2002/01/31 org/jwarp/service/web/dispatch/ActionDispatchAlg.java Added classLoader support. 2002/01/31 org/jwarp/service/log/Log4JService.java Changed error message. 2002/01/31 org/jwarp/service/web/dispatch/APersistenceAction.java Initial revision of basic action using a persistence service implementation. 2002/01/31 org/jwarp/service/cmd/UnloadContext.java Initial revision of command. 2002/01/31 org/jwarp/service/ContextManager.java Several bugfixe when removing a context. 2002/01/31 org/jwarp/util/JDomUtil.java org/jwarp/test/ASQLTestCase.java Several bugfixes 2002/01/25 org/jwarp/service/persistence/IPersistenceService.java Added getConnection method. 2002/01/25 org/jwarp/service/persistence/IPersistenceService.java Added performCommands, flushCache methods. 2002/01/16 org/jwarp/service/connectionpool/ConnectionPoolDataSource.java org/jwarp/service/connectionpool/ConnectionPool.java - Implemented special ConnectionPoolDataSource for implementing the java.sql.DataSource interface. - Origninal ConnectionPool does not implement DataSource interface anymore. Thus it is not necessary to load the JDBC2 extensions if you do not need them. 2002/01/14 org/jwarp/service/work/WorkService.java org/jwarp/service/work/ToolJob.java org/jwarp/service/work/PersistentWorkManager.java org/jwarp/service/work/IPersistentWorkManager.java org/jwarp/service/work/AJob.java - Adapted implementation to new persistence service. - Removed any JWarp Persistence dependencies. 2002/01/14 org/jwarp/service/configuration/FileConfiguration.java Added code to explicit read the sax driver property. 2002/01/14 Added comments. 2002/01/14 org/jwarp/service/persistence/Attic/PersistenceService.java Moved to the JWarp Persistence library (same class/package) 2002/01/14 org/jwarp/service/persistence/PersistenceException.java org/jwarp/service/persistence/IPersistenceService.java Removed all JWarp Persistence dependencies. 2002/01/09 org/jwarp/service/log/Log4JService.java Added workarounf code for problems with loading of XML parser implementations. Now first the log4j DomConfigurator is called with the file path directly. In case of error a JDOM tree is built and converted/passer as DOM tree. 2002/01/09 org/jwarp/service/persistence/Attic/PersistenceService.java Setting now classLoader of context for JDO 2002/01/03 org/jwarp/service/cmd/* org/jwarp/service/* - Added command manager interface and implementation. - Implemented some commands. 2002/01/03 org/jwarp/service/system/SystemService.java org/jwarp/service/system/ISystemService.java Adapted to command handler interface. 2002/01/03 org/jwarp/service/param/ValidationService.java Changed invalid error log to info log entry. 03.01.2002 org/jwarp/util/XMLtoSQL.java org/jwarp/util/JDomUtil.java org/jwarp/service/log/Log4JService.java Minor changes.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?