At 6:27 PM -0600 12/3/05, netsql wrote:
Sorry to be a broken record.... but Shale + DWR might be a good
combo to consider since Shale has an Ajax module.
That Shale has an Ajax module has nothing to do with DWR; DWR
provides all of its own AJAX plumbing, if by AJAX you mean having a
page communicate with a server without a full page refresh. (The
other facet of behavior commonly lumped under AJAX is DHTML effects;
DWR has a small util library for those but doesn't really try to
serve that space.)
Frank's pointer to the DWR site hits the button, I think. If you
have designed your Struts application correctly, then you can easily
use DWR where you need to, but DWR has no need to know anything about
Struts at all. You would have two servlets in one application
context sharing access to the same business-level components.
If you have so much behavior bound up in Struts Actions and
ActionForms that you can't easily use DWR in the same application
context, then you have too much behavior bound up in Struts. Time to
refactor!
We're using DWR on my most current project to very nice effect. I
heartily recommend it. I wouldn't presume to make security
recommendations for a banking application, but DWR seems to have a
pretty good handle on basic security issues, in that it only exposes
the things you configure for exposure, rather than automatically
allowing things.
Joe
.V
Frank W. Zammetti wrote:
From the DWR web site:
http://getahead.ltd.uk/dwr/server/struts
Just reading through it quickly, that's just about what I would
have suggested too in terms of separating out core logic from
Actions and letting your Actions and DWR servlet call them as
needed. There might be some better approaches, but it sounds like
the DWR team is looking for those approaches themselves.
Frank
Sonali Kulkarni wrote:
Please suggest if there are any good links, or some working examples that
explain how Struts could be integrated into the DWR (AJAX) framework. Any
help would be appreciated. There is hardly any online support or
documentation.
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction" -The Ex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]