I should also point out that the app I'm referring to was originally built on a homegrown framework (I didn't write it, so don't laugh at ME when I tell you this)... it used a very convoluted mapping XML file structure, much more complex than struts-config, and the that version of the file was 43k! Again, NOT counting comments! And to make matter worse, this file was actually parsed WITH EACH REQUEST!! But, and here's where I get to a point (aside from the fact that those that wrote that framework didn't know their a** from their elbows)... performance even under those conditions with a halfway decent load (50 concurrent users at any given time on average) was perfectly acceptable. And it wasn't a monstrous server either (Dual P2-550's with 1G RAM and a SCSI array internally).
So, I wouldn't be too concerned with the size of your struts-config, unless someone else has reason to disagree. A couple of K wouldn't concern me.
From: Riyad Kalla <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: How long are your struts-config files? Should I worry about performance?
Date: Wed, 26 May 2004 12:36:58 -0700
I'm curious what the size of some of the verteran programmer's
struts-config.xml files are. Mine is approaching 2k lines right now, and I'm
about 1/2 done with the project I'm working on.
I don't know if I should really start worrying about performance/other issues,
or if this is normal and I should smile and keep working.
Thanks! Riyad
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Express yourself with the new version of MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]