You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Martin Marinschek <ma...@gmail.com> on 2005/07/27 17:43:22 UTC

StartupServletContextListener

A discussion Matze and I had at the ApacheCon was with the Atanion people 
about the StartupServletContextListener. There was one Webcontainer who 
screwed up if you added the StartupServletContextListener to the TLD file 
directly - apparently, this issue has been resolved in the last version of 
this container (it was Weblogic, I think).

So we might finally be able to get rid of adding the Listener to the
web.xmlfile and might be able to add it to the TLD instead.

regards,

Martin

Re: StartupServletContextListener

Posted by Bruno Aranda <br...@gmail.com>.
That's good news!

Bruno

2005/7/27, Martin Marinschek <ma...@gmail.com>:
> A discussion Matze and I had at the ApacheCon was with the Atanion people
> about the StartupServletContextListener. There was one Webcontainer who
> screwed up if you added the StartupServletContextListener to the TLD file
> directly - apparently, this issue has been resolved in the last version of
> this container (it was Weblogic, I think).
>  
>  So we might finally be able to get rid of adding the Listener to the
> web.xml file and might be able to add it to the TLD instead.
>  
>  regards,
>  
>  Martin
>

Re: StartupServletContextListener

Posted by Martin Marinschek <ma...@gmail.com>.
did just that...

regards,

Martin

On 7/27/05, Sean Schofield <se...@gmail.com> wrote:
> 
> We should add a JIRA issue on this so that when its closed, it will be
> part of the release notes. Also, the release notes for this release
> should come right out of JIRA. Its simple to generate them this way.
> 
> sean
> 
> 
> On 7/27/05, Craig McClanahan <cr...@gmail.com> wrote:
> > On 7/27/05, Matthias Wessendorf <mw...@gmail.com> wrote:
> > > > That will be really popular with people currently using the RI and
> > > > wanting to try out MyFaces, since that's the way the RI does it.
> > >
> > > you are talking about your build scripts, isn't it ? :)
> > >
> >
> > But of course! :-)
> >
> > The Ant hacks (for Shale) that I'm using to conditionally add the
> > listener work ... but they have the disadvantage of making the source
> > code of the web.xml file not be valid XML, which NetBeans whines
> > about.
> >
> > Craig
> >
> > > But, sure this "solution" will be fine to people, since they don't see
> > > any differences between RI and MyFaces. That is a common point. I
> > > often hear "MyFaces needs a ContextListener, but RI doesn't"
> > >
> > > -Matthias
> > >
> > > > > regards,
> > > > >
> > > > > Martin
> > > > >
> > > >
> > > > Craig
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > >
> >
>

Re: StartupServletContextListener

Posted by Sean Schofield <se...@gmail.com>.
We should add a JIRA issue on this so that when its closed, it will be
part of the release notes.  Also, the release notes for this release
should come right out of JIRA.  Its simple to generate them this way.

sean


On 7/27/05, Craig McClanahan <cr...@gmail.com> wrote:
> On 7/27/05, Matthias Wessendorf <mw...@gmail.com> wrote:
> > > That will be really popular with people currently using the RI and
> > > wanting to try out MyFaces, since that's the way the RI does it.
> >
> > you are talking about your build scripts, isn't it ? :)
> >
> 
> But of course!  :-)
> 
> The Ant hacks (for Shale) that I'm using to conditionally add the
> listener work ... but they have the disadvantage of making the source
> code of the web.xml file not be valid XML, which NetBeans whines
> about.
> 
> Craig
> 
> > But, sure this "solution" will be fine to people, since they don't see
> > any differences between RI and MyFaces. That is a common point. I
> > often hear "MyFaces needs a ContextListener, but RI doesn't"
> >
> > -Matthias
> >
> > > >  regards,
> > > >
> > > >  Martin
> > > >
> > >
> > > Craig
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
>

Re: StartupServletContextListener

Posted by Craig McClanahan <cr...@gmail.com>.
On 7/27/05, Matthias Wessendorf <mw...@gmail.com> wrote:
> > That will be really popular with people currently using the RI and
> > wanting to try out MyFaces, since that's the way the RI does it.
> 
> you are talking about your build scripts, isn't it ? :)
> 

But of course!  :-)

The Ant hacks (for Shale) that I'm using to conditionally add the
listener work ... but they have the disadvantage of making the source
code of the web.xml file not be valid XML, which NetBeans whines
about.

Craig

> But, sure this "solution" will be fine to people, since they don't see
> any differences between RI and MyFaces. That is a common point. I
> often hear "MyFaces needs a ContextListener, but RI doesn't"
> 
> -Matthias
> 
> > >  regards,
> > >
> > >  Martin
> > >
> >
> > Craig
> >
> 
> 
> --
> Matthias Wessendorf
>

Re: StartupServletContextListener

Posted by Matthias Wessendorf <mw...@gmail.com>.
> That will be really popular with people currently using the RI and
> wanting to try out MyFaces, since that's the way the RI does it.

you are talking about your build scripts, isn't it ? :)

But, sure this "solution" will be fine to people, since they don't see
any differences between RI and MyFaces. That is a common point. I
often hear "MyFaces needs a ContextListener, but RI doesn't"

-Matthias

> >  regards,
> >
> >  Martin
> >
> 
> Craig
> 


-- 
Matthias Wessendorf

Re: StartupServletContextListener

Posted by Craig McClanahan <cr...@gmail.com>.
On 7/27/05, Martin Marinschek <ma...@gmail.com> wrote:
> A discussion Matze and I had at the ApacheCon was with the Atanion people
> about the StartupServletContextListener. There was one Webcontainer who
> screwed up if you added the StartupServletContextListener to the TLD file
> directly - apparently, this issue has been resolved in the last version of
> this container (it was Weblogic, I think).
>  
>  So we might finally be able to get rid of adding the Listener to the
> web.xml file and might be able to add it to the TLD instead.
>  

That will be really popular with people currently using the RI and
wanting to try out MyFaces, since that's the way the RI does it.

>  regards,
>  
>  Martin
>  

Craig