struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomás Pollak" <tpollak...@gmail.com>
Subject XML configuration and performance
Date Thu, 25 Oct 2007 12:34:32 GMT
Hello all,

I am currently working on a development project for a web system using
Struts 1.2.9. It is a fairly large system that has been under development
for more than three years now.

During the code-test-and-debug cycle we are forced to restart the server
several times, and we have noticed that reading the XML configuration files
is what takes most of the time ( struts-config.xml, validation.xml and
tiles-defs.xml), approximately 30 secs.

These files are pretty stable now, so having to pay the price to parse the
XML every time seems unnecessary. I was wondering if there is an approach to
configure a Struts application using code instead of XML files. Has anyone
bumped into this problem before?
Is there a tool to transform a Struts/Tiles/Validator XML file into a Java
class that produces the same configuration? I could not find anything in the
documentation.

Thanks in advance,
Tomas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message