> 2. The CometD servlet now has to be loaded before the CometDService can be
> instanciated.
> So you would have to initialize it on demand in your application.

I ran into that this morning. Can't this be avoided? I didn't look into the
code thoroughly yet, but I saw that CometdService is now extending jetty's
Bayeux Service which needs the Bayeux in the constructor. Having the
ServletContext initialised at the time my Beans are instantiated is kinda
tricky for me, as I can't initialise the services lazily as there is a whole
lot of cross-dependencies. 
I could do it the hard way and remove the service from my springcontext, let
it be instantiated by the application and add the application as
reference-bean to the services that formerly needed the ChannelService - but
this sounds like a workaround, doesn't it?
When jetty implemented their new BayeuxService they must have thought about
such a problem, haven't they?
How did you go about this?

regards,
Michael

On Fri, Aug 15, 2008 at 1:29 PM, Michael Sparer
<[EMAIL PROTECTED]>wrote:

>
> As the recent change from wicketstuff-push 1.3.0-SNAPSHOT to 1.3.4
> involved
> major changes (see
> http://www.nabble.com/wicketstuff-push-update-to18765345.html) as far as
> dependencies are concerned (new version of jetty-cometd with major API
> changes), I'd suggest a 1.3.0 branch.
> I do have commit rights but don't have permission to do the branch. So
> please either branch wicketstuff-push from version 3267 or give me
> permission to do so (my username is msparer).
>
> thanks in advance
>
> regards,
> Michael
>
> -----
> Michael Sparer
> http://talk-on-tech.blogspot.com
> --
> View this message in context:
> http://www.nabble.com/Permission-for-branching-wicketstuff-push-tp19002588p19002588.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>




-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: 
http://www.nabble.com/Permission-for-branching-wicketstuff-push-tp19002588p19027990.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.

Reply via email to