The Struts User's Guide suggests that business logic be encapsulated in
beans.  Business logic modules are generally stateless, so one would
generally implement them as static utility classes (with only static
methods) or singletons (with private constructors and static factory
methods), neither of which can be "beans" (which, by definition, have public
constructors).  To effectively manage stateless classes as beans (without
re-instantiating them for each use), one would have to implement a
lookup/mapping mechanism (an "EJB-lite").  Are the Struts developers
suggesting that we develop such mechansisms?  Might such a mechanism be
slated for a future version of Struts?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to