Re: [shale] some improvement proposal for performance

2006-05-24 Thread Craig McClanahan
On 5/24/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > the following code demo an hotswap design for file change monitoring. the > only limitation is that shall use getMap() first and once. > > map idMap = getMap(), and latter use idMap variable through an request > thread. you can use weaked

Re: [shale] some improvement proposal for performance

2006-05-24 Thread Gary VanMatre
>From: ÁÖ Ã÷ <[EMAIL PROTECTED]> > > Hello, every one. I'm an chinese, my english not good enough to express my > concepts fluently. say sorry first. > No worries, but I'm not sure what my excuse for poor English is since it's the only language I know :--) > I would like to start an new ide

Re: [action1] Snapshot of 1.3.5 available

2006-05-24 Thread Wendy Smoak
On 5/24/06, Joe Germuska <[EMAIL PROTECTED]> wrote: I haven't had a chance to file a bug on this one yet, but I think there's a problem in how the PerformForward command handles modules. (I posted about it to the list but got no responses.) Oh, I thought that message went with the issue you op

[shale] some improvement proposal for performance

2006-05-24 Thread 林 明
Hello, every one. I'm an chinese, my english not good enough to express my concepts fluently. say sorry first. I would like to start an new idea project in which jsf ,page flow and work flow are integrated seamlessly . it will use pageflow(or dialog) as the user form interfaces for every human

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread bdittmer
I'm going to take a moment to chime in here as I've been watching this thread develop. I'm going to come out in the open and say I've never used DWR or even looked at it's documentation. When I've used ajax functionality in the past we've simply made the XmlHttpRequest hit an action that in turn

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Jason Carreira
> > but if you want to model best practices, then you > have to ask "why > > would you be intent on calling Actions"? I'm not > trying to build > > walls so that people can't just get-the-job-done, > but I do know from > > experience that people tend to overload Actions > with too much > > busines

Re: JavaOne Ajax Discussion

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 1:09 pm, Ian Roughley wrote: >> I wonder about the response though... one thing I've found is that >> people >> for some reason, generally anyway, don't realize that they can use a JSP >> to render an Ajax response. Maybe all the examples they see shows the >> response being c

Re: JavaOne Ajax Discussion

2006-05-24 Thread Ian Roughley
-- From Down & Around, Inc. Innovative IT Solutions Software Architecture * Design * Development ~ web: www.fdar.com email [EMAIL PROTECTED] phone:617.821.5430 ~ Frank W. Zammetti wrote:

Re: JavaOne Ajax Discussion

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 12:38 pm, Ian Roughley wrote: > There is a point that I would like to re-iterate. The proposal is for 2 > separate approaches: > > #1 - Have struts2 actions accept JSON / XML content when being called > from a URI and have JSON/XML responses. This is to allow struts2 to > int

Re: JavaOne Ajax Discussion

2006-05-24 Thread Joe Germuska
At 7:21 PM +0300 5/24/06, Alexandru Popescu wrote: Frank you are absolutely correct about the description of how DWR works today. What I have done is exactly what you are thinking of: made DWR work through the normal WebWork chain. So, all incoming DWR requests are done to a single entry point th

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 12:09 pm, Joe Germuska wrote: > At 11:55 AM -0400 5/24/06, Frank W. Zammetti wrote: >>On Wed, May 24, 2006 11:12 am, Joe Germuska wrote: >> > Forgive me if this has been covered elsewhere, but I'm still confused >>> about why someone would want to "integrate" DWR with Struts?

Re: JavaOne Ajax Discussion

2006-05-24 Thread Ian Roughley
There is a point that I would like to re-iterate. The proposal is for 2 separate approaches: #1 - Have struts2 actions accept JSON / XML content when being called from a URI and have JSON/XML responses. This is to allow struts2 to interact with any ajax/XHR framework, and would involve new i

Re: JavaOne Ajax Discussion

2006-05-24 Thread Alexandru Popescu
On 5/24/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: On Wed, May 24, 2006 12:21 pm, Alexandru Popescu wrote: > Frank you are absolutely correct about the description of how DWR > works today. What I have done is exactly what you are thinking of: > made DWR work through the normal WebWork chai

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Alexandru Popescu
On 5/24/06, Joe Germuska <[EMAIL PROTECTED]> wrote: At 11:55 AM -0400 5/24/06, Frank W. Zammetti wrote: >On Wed, May 24, 2006 11:12 am, Joe Germuska wrote: > > Forgive me if this has been covered elsewhere, but I'm still confused >> about why someone would want to "integrate" DWR with Struts?

Re: JavaOne Ajax Discussion

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 12:21 pm, Alexandru Popescu wrote: > Frank you are absolutely correct about the description of how DWR > works today. What I have done is exactly what you are thinking of: > made DWR work through the normal WebWork chain. So, all incoming DWR > requests are done to a single ent

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Alexandru Popescu
On 5/24/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: On Wed, May 24, 2006 11:22 am, Alexandru Popescu wrote: > In my case I couldn't see a real benefit of having 2 different ways to > "call" server-side functionality. For me it makes a lot of sense, that > everything exposed by the server mus

Re: JavaOne Ajax Discussion

2006-05-24 Thread Alexandru Popescu
Frank you are absolutely correct about the description of how DWR works today. What I have done is exactly what you are thinking of: made DWR work through the normal WebWork chain. So, all incoming DWR requests are done to a single entry point that is than initializing/making the request pass thro

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Joe Germuska
At 11:55 AM -0400 5/24/06, Frank W. Zammetti wrote: On Wed, May 24, 2006 11:12 am, Joe Germuska wrote: > Forgive me if this has been covered elsewhere, but I'm still confused about why someone would want to "integrate" DWR with Struts? I've only used it a bit, but in each case, I didn't real

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 11:22 am, Alexandru Popescu wrote: > In my case I couldn't see a real benefit of having 2 different ways to > "call" server-side functionality. For me it makes a lot of sense, that > everything exposed by the server must be an action. This allows me to > re-use almost everythin

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 11:12 am, Joe Germuska wrote: > At 10:46 AM -0400 5/24/06, Frank W. Zammetti wrote: >>I haven't seen your work, so I can't talk intelligently about it... I >>would agree though that if DWR is going to make HTTP calls to execute >>Actions (a suggestion I might add that I made ab

Re: JavaOne Ajax Discussion

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 11:10 am, Alexandru Popescu wrote: > Not sure how to read it, but call it request, or XMLHttpRequest it is > still a request hiting your server. Probably on the comet-part things > may be different, but that's completely another story. I think this is worth going at a little m

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Alexandru Popescu
In my case I couldn't see a real benefit of having 2 different ways to "call" server-side functionality. For me it makes a lot of sense, that everything exposed by the server must be an action. This allows me to re-use almost everything and maybe later on to redesign my site by mixing AJAX with no

DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-24 Thread Joe Germuska
At 10:46 AM -0400 5/24/06, Frank W. Zammetti wrote: I haven't seen your work, so I can't talk intelligently about it... I would agree though that if DWR is going to make HTTP calls to execute Actions (a suggestion I might add that I made about two months ago to Joe with regard to how to better in

Re: JavaOne Ajax Discussion

2006-05-24 Thread Alexandru Popescu
On 5/24/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: On Wed, May 24, 2006 10:32 am, Alexandru Popescu wrote: > In the DWR-WW action invocation toy I have used when building > InfoQ.com, the action invocation passes through exactly the same > process as a normal request, so I have no concerns.

Re: JavaOne Ajax Discussion

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 10:32 am, Alexandru Popescu wrote: > In the DWR-WW action invocation toy I have used when building > InfoQ.com, the action invocation passes through exactly the same > process as a normal request, so I have no concerns. I haven't seen your work, so I can't talk intelligently a

Re: JavaOne Ajax Discussion

2006-05-24 Thread Alexandru Popescu
On 5/24/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: On Wed, May 24, 2006 9:46 am, Alexandru Popescu wrote: > I am somehow a little confused by some of the comments... pls see inlined What, me confusing?!?!? NNNOOO... ;) > On 5/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: >> On

Re: JavaOne Ajax Discussion

2006-05-24 Thread Frank W. Zammetti
On Wed, May 24, 2006 9:46 am, Alexandru Popescu wrote: > I am somehow a little confused by some of the comments... pls see inlined What, me confusing?!?!? NNNOOO... ;) > On 5/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: >> On Tue, May 23, 2006 2:57 pm, Ian Roughley wrote: >> > Joe th

Re: JavaOne Ajax Discussion

2006-05-24 Thread Alexandru Popescu
I am somehow a little confused by some of the comments... pls see inlined On 5/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: On Tue, May 23, 2006 2:57 pm, Ian Roughley wrote: > Joe thought that a Struts2 > creator that read could read existing Struts2 configuration files, and > expose a pa

Re: JavaOne Ajax Discussion

2006-05-24 Thread Ian Roughley
Animesh, I'm a little confused by your comments below. Currently the ajax validation uses DWR and returns a value from the server-side java - take a look at the DWRValidator class. Are you talking about direct remoting, or the new comet functionality? I think the first thing that needs to

[Fwd: Re: JavaOne Ajax Discussion]

2006-05-24 Thread Ian Roughley
-- From Down & Around, Inc. Innovative IT Solutions Software Architecture * Design * Development ~ web: www.fdar.com email [EMAIL PROTECTED] phone:617.821.5430 ~ --- Begin Message --- Fr

Re: [action1] Snapshot of 1.3.5 available

2006-05-24 Thread Joe Germuska
At 9:48 PM -0700 5/23/06, Wendy Smoak wrote: Struts Action 1.3.5-SNAPSHOT has been deployed to Apache's Maven 2 snapshot repo, and the distributions are available here: http://people.apache.org/builds/struts/maven/trunk/nightly/struts-action/ For more information, please see the release plan:

Re: [Standalone Tiles] Removing taglib attributes

2006-05-24 Thread Cedric Dumoulin
Hi, This is a backward compatibility reason, as nearly all the complex stuff in Tiles :-). The discussion should be in the old struts archives. If you remove redundancies, you will break some backward compatibilities, but you will certainly simplify Tiles. Cedric Wendy Smoak wrote: