An Interesting Comment from an Dynamo User...
I got this in reference to my "Tomcat is Dead" rant:
Well, in defense of Dynamo, Tomcat doesnot have the Caching elements. Try Tomcat + JBoss and You will be closer. Do Jetty + JBoss as an alternative.
The predeployed version of Catalina that comes w/ JBoss is pretty good. It supports the servlet spec (2.3) and the auto deploy from JBOss is nice. I also have a trick to speed up redeploying JSPs: Bash script follows. Some part of it is custom to my project. #!/bin/sh { if [ -n $1 ] then FILE_TO_COPY=$1 else FILE_TO_COPY=activepca.ear fi if [ -n $2 ] then cd $2 else cd $WEB fi DEPLOY_DIR=$JBOSS/tmp/deploy/Default/$FILE_TO_COPY/ WEB_DIR=$DEPLOY_DIR`ls $DEPLOY_DIR | grep web` for SOURCE_FILE in `find . -name "*.jsp"` do cp $SOURCE_FILE $WEB_DIR/$SOURCE_FILE done }
This will copy over all of your jsp files into the temporary directory created by JBoss keeping you from having to redeploy.
Thanks!!! That certainly IS useful.
10:42:12 PM
|