Ignore this email. My mail reader is doing weird things :(

M

On Fri, 11 Jul 2003 09:53:30 -0700, Matt Ho <[EMAIL PROTECTED]> wrote:

On Wed, 9 Jul 2003 17:17:54 -0700, Brett Knights <[EMAIL PROTECTED]> wrote:

In the discussion so far there are two examples of things I need to do to in
my business code that are mandated by the environment. Neither of these is
in any way related to the business rules implemented by my model classes:
1. Somehow mark the methods I want called (configured) when the object is
instantiated. Currently this requires creating an artificial constructor.
2. Allow the object to work in a servlet environment that manages reloading by serializaton/deserialization. I suspect clustering solutions may also use serialization for distributing objects.


Even if you offload item 1. to yet another configuration file (files?) you still need to address item 2. in some fashion. The current direction
(picocontainer) breaks Serialization which I think is a bad thing. It
requires an artificial constructor (also a bad thing IMO). Objects may have to re-set themselves into a session (another environment aware behaviour) in order to be shared in a cluster.

Serialization/deserialization is definitely an issue with pico as it stands. However, it does looks like those guys are making progress on dealing with the issue. So, rather than change IoC containers again, I'd rather let some of this dust settle first and then decide.


With regards to clustering, I'm ok with not doing this transparently as clustering almost always requires some knowledge of how the underlying container works.

M




------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork







-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to