On Feb 1, 2012, at 3:40 AM, Matt Wringe wrote:
On Thu, 2012-01-12 at 15:22 +0100, Julien Viet wrote:
> I like it, it's simple and easy to use.
>
> a couple of questions:
>
> 1/ are you able to test it ?
As part of the automated tests, I am able to test that you can disable
the registration of certain web applications, and that you can manually
add the disabled web applications using the GateInServlet.
I have wasted a lot of time trying to get a test written that will
compare when any normal servlet is started and when the webapplication
gets registered (ie this basically just tests load-on-startup between
the normal servlet and when the gateinservlet does its registration). No
luck here so far.
you mean the order ?
well testing the inhibition is already cool.
> 2/ it would be part of the next minor wci release ?
If everything is ok, I would like to release a new version of wci as
soon as possible with this feature.
ok thanks.
> On Jan 11, 2012, at 8:37 PM, Matt Wringe wrote:
>
>> There have been a couple of issues arising from the ordering of portlets
>> and servlets being out of sync. For example see
>>
https://issues.jboss.org/browse/GTNPC-76
>>
>> This isn't really a bug, since the ordering of when portlets and
>> servlets are initialized is not suppose to be guaranteed. But I have a
>> couple of changes to wci which will allow for this behaviour (see patch
>> attached to GTNPC-76)
>>
>> Basically there are 2 new features which when used together will provide
>> ordering between portlets and servlets.
>>
>> 1) by using a context-parameter in the web.xml, we can tell the native
>> wci implementation to not register the specific webapp.
>>
>> 2) you can now manually add an application to the wci native
>> implementation.
>>
>> To control ordering:
>> - add in the context-parameter so the native implementation doesn't
>> register the webapplication (and therefor PC doesn't know about it)
>> - specify the generic GateInServlet in the web.xml and use the
>> load-on-startup value to control ordering against other servlets. The
>> GateInServlet will manually register itself to the native
>> implementation.
>>
>> Any objections?
>>
>> _______________________________________________
>> gatein-dev mailing list
>> gatein-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/gatein-dev
>