On 10/26/2017 12:09 PM, Yasser Zamani wrote:
> With thanks to Łukasz, he pointed out a good thing, abstraction by a
> plugin. I thought more and saw reflection maybe makes core somehow
> rough-and-tumble. Now I'm going to go with a plugin named
> struts-servlet3-plugin. I'll improve the core s
On 10/23/2017 4:07 PM, Christoph Nenning wrote:
> Would it be possible to have servlet-api 3 as optional dependency?
I tried but cannot work. Currently javac cannot union same classes in
same paths ;) Maven says I pick first found class (i.e. cannot pick
union of classes).
> I'm not so happy
On 10/23/2017 4:07 PM, Christoph Nenning wrote:
> YAY!
> Congrats :)
Thank you :) I became very excited when I saw it works. I would like to
say it works as you wished before. Do you remember you wished a
mechanism to wake up Struts for resuming? That is
AsyncContext.dispatch() which wakes up
> > I would add an abstraction to cover direct need for Servlet 3.0 Async
> > API. I don't know how do you want to implement this (directly in the
> > Core or via a plugin) but having such abstraction give us flexibility
> > and allows use different implementations.
>
> Today I successfully got an
On 10/23/2017 12:54 PM, Lukasz Lenart wrote:
> I would add an abstraction to cover direct need for Servlet 3.0 Async
> API. I don't know how do you want to implement this (directly in the
> Core or via a plugin) but having such abstraction give us flexibility
> and allows use different implementa
2017-10-22 10:08 GMT+02:00 i...@flyingfischer.ch :
> Servlet API 3.0 is needs Java 6. As far as I remember Struts minimal
> requirements are also Java 6. I do not see anything hindering us in
> upgrading Struts officially to Servlet API 3.0?
This isn't a case with Java 7 but rather how many users
2017-10-21 14:51 GMT+02:00 Yasser Zamani :
> Just one blocking problem :( Currently Struts is on servlet-api 2.4. I
> remember Struts 2.6 will have servlet 2.5. And so so ... As I need
> servlet 3, I have to wait for Struts 3 ?! :/
>
> I thought about keep Struts dependencies unchanged and doing my
Hi,
According to wiki it was intended to switch to servlet-api 3 with struts
3:
https://cwiki.apache.org/confluence/display/WW/Struts+Next
But IMHO we could use servlet api 3 already for struts 2.6.
Regards,
Christoph
> > After some studies on Strut's internals, Servlet 3's spec, other
Am 21.10.2017 um 14:51 schrieb Yasser Zamani:
> With thanks to Struts good design, fortunately, it was not as hard as I
> thought and I almost finished :)
>
> Just one blocking problem :( Currently Struts is on servlet-api 2.4. I
> remember Struts 2.6 will have servlet 2.5. And so so ... As I nee
On 10/19/2017 4:12 PM, Yasser Zamani wrote:
> After some studies on Strut's internals, Servlet 3's spec, other
> framework's internals and a few blog posts, I think I'm good to go for
> SLS case (Short request processing, Long action execution, Short
> response processing) :)
>
> I putted thi
After some studies on Strut's internals, Servlet 3's spec, other
framework's internals and a few blog posts, I think I'm good to go for
SLS case (Short request processing, Long action execution, Short
response processing) :)
I putted this on monitor at [1].
[1] https://issues.apache.org/jira/b
Nice :)
2017-10-18 13:26 GMT+02:00 Yasser Zamani :
> Interestingly, I spotted a user request for this support at [1] :)
>
> [1]
> https://stackoverflow.com/questions/46808518/struts-send-response-from-asynccontext
>
> On 10/10/2017 1:23 PM, Yasser Zamani wrote:
>> If @dev agree I have an idea. For
Interestingly, I spotted a user request for this support at [1] :)
[1]
https://stackoverflow.com/questions/46808518/struts-send-response-from-asynccontext
On 10/10/2017 1:23 PM, Yasser Zamani wrote:
> If @dev agree I have an idea. For first step, what do you think to
> level-up it to filter lev
On 10/9/2017 12:56 PM, Christoph Nenning wrote:
> I'd rather have just a very thin wrapper around servlet api, like so:
> - actions might be declared async, this causes struts to call
> request.startAsync()
> - applications using that must use their own threads to do work (as with
> servlet api)
gt; To: "dev@struts.apache.org" ,
> Date: 08.10.2017 08:32
> Subject: Re: Support for actors/asynchronous request handling
>
>
>
>
>
> On 10/6/2017 1:10 PM, Christoph Nenning wrote:
>
> > Hi,
>
> >
>
> >
>
> >
>
>
ne such interface for actions also, then yes, I think we will have gain.
Overall I think it's not as simple as it appears and needs advanced
knowledge in http, servlets, filters and Strut's internals.
Sincerely Yours,
Yasser.
[1] http://www.byteslounge.com/tutorials/asynchronous-servlets-in-jav
general
AsyncResult would be executed in SATP, too) ?
Regards,
Christoph
> From: Yasser Zamani
> To: "dev@struts.apache.org" ,
> Date: 04.10.2017 11:09
> Subject: Re: Support for actors/asynchronous request handling
>
> Dave, Christoph, Łukasz, hello, Eureka!
Dave, Christoph, Łukasz, hello, Eureka!
I think I have good news :) I think, now, I have good info which are
helpful for Struts structural decisions and what and how we can do in
Struts about asynchronous!
After about one month fooling my computer ;) I think I can update this
thread as below (
2017-08-21 19:03 GMT+02:00 Yasser Zamani :
> @Lukasz, maybe I did not understand well but I studied and saw Struts
> already allows calling same action in same time in parallel. What Struts
> does not have now is SERVER SIDE ASYNC REQUEST PROCESSING. My studies
> show async servlets don't mean clie
Hello guys, thanks all for your writings, these days I studied more and
please see below:
On 8/21/2017 12:26 PM, Lukasz Lenart wrote:
> 2017-08-18 10:19 GMT+02:00 Christoph Nenning :
>> I think of it like async servlets. Execution of action could be delegated
>> to some executor thread pool and e
2017-08-18 10:19 GMT+02:00 Christoph Nenning :
> I think of it like async servlets. Execution of action could be delegated
> to some executor thread pool and execution of result (which requires tcp
> connection / http response stream) must be done with some callback.
>
> It is up to application to
>
> To find out why and how actor model can help Struts2, I searched a lot
> but just found following [1] at [2].
>
> I wonder if you @dev have anything in your mind about: Why and how actor
> model can help specifically Struts2 ? I don't mean in detail but if for
> example there is a general
On Thu, Aug 17, 2017 at 10:44 AM, Yasser Zamani wrote:
> Or if for example we can run interceptors in parallel.
That would require developer knowledge since some interceptors are strictly
order-dependent. Not impossible, but would require explicit configuration.
The only real place I can see act
23 matches
Mail list logo