Howdy:

I want to congratulate Struts committers for a very fine work in Struts-chain and share some of my finding to those who want to get their feet wet in the CoR pattern.
1) First, i am able to have struts-chain example (the old struts-example with struts-chain built from cvs) up and running using j2sdk1.4.2_02 and tomcat 5.0.14. Some hacks in the build process is required. I use both ant and maven.
2) There is very little things to change in existing Struts application for running under the commons-chain. The design is very clean.
3) IMHO, when struts-chain has full implementations for portlet, jsf and the buisiness layer (Ted Whiteboard), struts will definitely rock. The design pattern for struts-chain context is just simple thread-safe singleton. The performance can be better, especially when we move to the implementation for business layer, with cache and pool services. HiveMind may be a good companion.


BaTien
DBGROUPS
====================

Don Brown wrote:

If you use the compile task (the default for the project), struts-chain
will build without any dependencies on the tomcat ant lib.

BTW, I'd recommend against cross posting...

Don

On Wed, 5 Nov 2003, BaTien Duong wrote:



Howdy:

I am trying to get Struts-chain up and running. I follow the instruction
of struts-chain in the cvs to build from the source:

export ANT_HOME=.../ant-1.6beta2
export JAVA_HOME=.../j2sdk1.4.2_02
export TOMCAT_HOME=.../tomcat-5.0.14

The build.properties is copied from the build.properties.sample
  servlet.home=.../common/lib
  struts.home=.../jakarta-struts-bin
  chain.home=.../cvs/jakarta-commons-sandbox/chain

export
PATH=${PATH}:${JAVA_HOME}/bin:${ANT_HOME}/bin:${TOMCAT_HOME}/common/lib/servlet-api.jar:${TOMCAT_HOME}/server/lib/catalina-ant.jar

execute the following command at the struts-chain directory
[-]$ ant clean dist

I got the error:
  /build.xml:54: taskdef class org.apache.catalina.ant.DeployTask could
not be found

Please feed me the latest instruction to create struts-chain.war

Thanks
BaTien
DBGROUPS



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






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

.






Reply via email to