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 2006/03/27 10:41:16 UTC

Playing round with 1.5 features

Hi *,

Sylvain and me want to play around with 1.5 features a little -
annotations and whatever there is. Particularly, we want to build a
maven-plugin which creates the faces-config.xml (both managed-beans
and navigation rules) file automatically from annotations.

We considered a new subdirectory under tomahawk and maven-plugins for
this - a directory, which would not be included in the normal build,
but which would have to be built separately.

The directory under tomahawk might be called sandbox15.

Comments - suggestions - alternatives?

regards,

Martin

--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: Playing round with 1.5 features

Posted by Enrique Medina <e....@gmail.com>.
Yes, Martin, that's the point. I see here another Sun crusade to the use of
annotations for everything, as happened with EJBs ;-)

It shouldn't be an all-or-nothing solution...

On 3/27/06, Martin Marinschek <ma...@gmail.com> wrote:
>
> Well, yes,
>
> it's something we can discuss about - but annotations do have some
> merits as well.
>
> If the configuration is something that will change with the code
> itself, it doesn't make much sense to have it externally. In any case,
> it's possible to use a mixed approach without a problem.
>
> regards,
>
> Martin
>
> On 3/27/06, Enrique Medina <e....@gmail.com> wrote:
> > Hi Martin,
> >
> > We have already discussed it directly, but I would like to stress my
> > skepticism about the convenience to go back again to put configuration
> stuff
> > in code, abandoning XML files.
> >
> > XML configuration files do quite well their job and were designed to
> avoid
> > coupling parametrization stuff in code. Now it seems we return to the
> point
> > were we started. It seems more a response to .NET than real desirable
> > functionality, as we already had it with external configuration files.
> >
> > Regards,
> > Enrique Medina.
> >
> >
> > On 3/27/06, Martin Marinschek <ma...@gmail.com> wrote:
> > > Hi *,
> > >
> > > Sylvain and me want to play around with 1.5 features a little -
> > > annotations and whatever there is. Particularly, we want to build a
> > > maven-plugin which creates the faces-config.xml (both managed-beans
> > > and navigation rules) file automatically from annotations.
> > >
> > > We considered a new subdirectory under tomahawk and maven-plugins for
> > > this - a directory, which would not be included in the normal build,
> > > but which would have to be built separately.
> > >
> > > The directory under tomahawk might be called sandbox15.
> > >
> > > Comments - suggestions - alternatives?
> > >
> > > regards,
> > >
> > > Martin
> > >
> > > --
> > >
> > > http://www.irian.at
> > >
> > > Your JSF powerhouse -
> > > JSF Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> >
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>

Re: Playing round with 1.5 features

Posted by Martin Marinschek <ma...@gmail.com>.
Well, yes,

it's something we can discuss about - but annotations do have some
merits as well.

If the configuration is something that will change with the code
itself, it doesn't make much sense to have it externally. In any case,
it's possible to use a mixed approach without a problem.

regards,

Martin

On 3/27/06, Enrique Medina <e....@gmail.com> wrote:
> Hi Martin,
>
> We have already discussed it directly, but I would like to stress my
> skepticism about the convenience to go back again to put configuration stuff
> in code, abandoning XML files.
>
> XML configuration files do quite well their job and were designed to avoid
> coupling parametrization stuff in code. Now it seems we return to the point
> were we started. It seems more a response to .NET than real desirable
> functionality, as we already had it with external configuration files.
>
> Regards,
> Enrique Medina.
>
>
> On 3/27/06, Martin Marinschek <ma...@gmail.com> wrote:
> > Hi *,
> >
> > Sylvain and me want to play around with 1.5 features a little -
> > annotations and whatever there is. Particularly, we want to build a
> > maven-plugin which creates the faces-config.xml (both managed-beans
> > and navigation rules) file automatically from annotations.
> >
> > We considered a new subdirectory under tomahawk and maven-plugins for
> > this - a directory, which would not be included in the normal build,
> > but which would have to be built separately.
> >
> > The directory under tomahawk might be called sandbox15.
> >
> > Comments - suggestions - alternatives?
> >
> > regards,
> >
> > Martin
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: Playing round with 1.5 features

Posted by Enrique Medina <e....@gmail.com>.
Hi Martin,

We have already discussed it directly, but I would like to stress my
skepticism about the convenience to go back again to put configuration stuff
in code, abandoning XML files.

XML configuration files do quite well their job and were designed to avoid
coupling parametrization stuff in code. Now it seems we return to the point
were we started. It seems more a response to .NET than real desirable
functionality, as we already had it with external configuration files.

Regards,
Enrique Medina.

On 3/27/06, Martin Marinschek <ma...@gmail.com> wrote:
>
> Hi *,
>
> Sylvain and me want to play around with 1.5 features a little -
> annotations and whatever there is. Particularly, we want to build a
> maven-plugin which creates the faces-config.xml (both managed-beans
> and navigation rules) file automatically from annotations.
>
> We considered a new subdirectory under tomahawk and maven-plugins for
> this - a directory, which would not be included in the normal build,
> but which would have to be built separately.
>
> The directory under tomahawk might be called sandbox15.
>
> Comments - suggestions - alternatives?
>
> regards,
>
> Martin
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>

Re: Playing round with 1.5 features

Posted by Werner Punz <we...@gmx.at>.
Great we are badly in need for something like that,
there are some things, which are way better being implemented in 1.5
(for instance some interfaces which ease the component programming by
exposing annotations)



Martin Marinschek schrieb:
> Hi *,
> 
> Sylvain and me want to play around with 1.5 features a little -
> annotations and whatever there is. Particularly, we want to build a
> maven-plugin which creates the faces-config.xml (both managed-beans
> and navigation rules) file automatically from annotations.
> 
> We considered a new subdirectory under tomahawk and maven-plugins for
> this - a directory, which would not be included in the normal build,
> but which would have to be built separately.
> 
> The directory under tomahawk might be called sandbox15.
> 
> Comments - suggestions - alternatives?
> 
> regards,
> 
> Martin
> 
> --
> 
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces
>