ECS - haven't had a chance to look at it in detail but from what I've seen
so far it looks good.
I'd like to use ecs as a mechanism for building object representations of a
page to be served via servlets - nothing new there.
This is the sort of process I'd see as being useful for building a web app
using ecs / servlets. For each request there would be this sequence of
events:
1) populate the values of page entities from values within the request.
2) trigger code dependant upon which entity the submit occured from.
3) make decisions about the appropriate course of action to take based upon
the values within the various entities e.g:
error messages
search results
redirects
4) return newly generated output.
I think this object oriented approach to web programming is a good paradigm
for controlling the behaviour of a web page; Query the values of the
entities to determine the state rather than working directly from the
request. For those of you who are familiar with the silverstream
application server, this is almost exactly the approach they take for web
pages. Whilst I like the approach, Silverstream forces you into using
proprietary code. I have for some time been looking for a mechanism to
'copy' the silverstream approach without getting sucked into proprietary
closed source code. Hopefully ECS will enable me to do this.
Firstly, is this a sensible use of ECS? Or have I missed the point
completely?
Secondly, are there any plans to integrate ECS with servlet code or are
there utilities available to facilitate the sequence of events above
outlined above.
I've only just joined the ECS mail list so If all of this has been discussed
before I'd be grateful if someone could point me in the right direction.
Thanks
Nathan Coast
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]