Just to play the devil's advocate, people using full J2EE are unlikely to be huge xwork/webwork fans anyway. Unless of course you mean servlets/web containers, rather than J2EE. As surprising as it is, an app with xwork, webwork, lucene, hibernate, sitemesh, and oscache is not a particularly J2EE app. All it uses is jdbc (now part of the core JDK) and servlets.

On Sunday, August 17, 2003, at 06:24 PM, Mike Cannon-Brookes wrote:

Anders,

I have to say that this is a _bad_ idea.

You can already test actions to setup xwork.xml - just instantiate the
object, call your setter methods and run!

People doing J2EE understand XML, they have to. All descriptors are XML.
Xwork.xml is not _that_ complex for a hello world example, most of the
elements are optional.


However, there _is_ a problem with WW2 at the moment that if a view is not
found, no debug page is shown. I think it should be ("action returned
"input" but not "input" view found).


M


On 18/8/03 8:03 AM, "boxed" ([EMAIL PROTECTED]) penned the words:


I had a discussion on #java with Epesh, and he expressed the sentiment
that WW2 might be turning into a too complex system which will alienate
new users and be "popular with the gearheads and such when it leaves
nerd-domain". After reading the responses to the "Simplicity in WW2"
email I must agree that it looks like this.


Now, to make me sound less like a whiner and more like someone with good
ideas, here is a practical proposal:


The way you have to declare each action in a rather complex XML config
file before even rudimentary testing increases the learning-curve
needlessly. I propose a few simple features that will help the average
users:

Actions can be run with the fully qualified class name.
Actions map by default to
  1. a view document with the name of the action.
  2. if 1 fails, a debug document that displays a list of the exposed
properties and their current value.

This will cut the amount of explaining needed for a hello world type app
down by an entire step. Anyone else got ideas like this that will cut
down on the learning curve for newbies?


Anders Hovmöller



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/ direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/ direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork





------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to