You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by Antoine Sabot-Durand <an...@sabot-durand.net> on 2011/12/20 17:04:36 UTC

[DISCUSS][DELTASPIKE-14] "Generic Beans"

fyi: please check [1] before you answer.

[2] provides a short introduction as well as the basic usage.
[3] provides documentation of the feature

the basic concept:

We're talking about Generic Beans feature by Solder at [2] and documented at [3] 
http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/solder-genericbeans.html
The use cases for this feature are not very clear and documentation lack details and seems erroneous.
Yet Generic Beans could be a useful feature in some cases.


please send
+1, +0 or -1 because...
for the basic idea
if there are >basic< objections, please also add them to [4]

If we like the idea we'll probably need to update Javadoc and documentation and as it's an high level feature
write down real examples where Generic Bean could be useful.


[1] http://markmail.org/message/7yefspfuvtz4jvmp
[2]
https://github.com/seam/solder/tree/develop/impl/src/main/java/org/jboss/solder/bean/generic
[3]
http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/solder-genericbeans.html
[4]
https://cwiki.apache.org/confluence/display/DeltaSpike/SE+Feature+Ranking

Antoine SABOT-DURAND
---------------------------------------
Blog : http://www.next-presso.com
Twitter ; http://twitter.com/antoine_sd
LinkedIn : http://fr.linkedin.com/in/antoinesabotdurand

Re: [DISCUSS][DELTASPIKE-14] "Generic Beans"

Posted by Antoine Sabot-Durand <an...@sabot-durand.net>.
Gerhard,

Le 20 déc. 2011 à 17:30, Gerhard Petracek a écrit :

> hi antoine,
> 
> imo we need at least a short but correct description as well as a clear
> vision (e.g. at least one real-world use-case which shows that there is a
> real benefit for users).
> 

Totally agree on that. I'll work on a complete description (try to provide something before my vacation at the end of the week)


> @seam-social:
> it's nice that you could use it there, but currently i can't see the need
> to use it (compared to std. cdi concepts). imo we have to discuss if the
> approach justifies the qualifier tricks.

Generic beans are only helpers I could have done the same with CDI but it would have been less friendly for people extending Social framework (adding support for a new service)

> (-> it's important that all of us understand the use-case/s for it as well
> as the basic concept (of generic beans) before we start the discussion).
> 

That's why I'll start from my needs and the scenario without Generic to measure the comfort they bring.

> regards,
> gerhard
> 
> 
> 
> 2011/12/20 Antoine Sabot-Durand <an...@sabot-durand.net>
> 
>> +1
>> I'm using it in Social and it avoids me to create a lot of producers for
>> each OAuth Services. I think more people could use it if it has a better
>> documentation
>> 
>> Antoine SABOT-DURAND
>> 
>> Le 20 déc. 2011 à 17:04, Antoine Sabot-Durand a écrit :
>> 
>>> fyi: please check [1] before you answer.
>>> 
>>> [2] provides a short introduction as well as the basic usage.
>>> [3] provides documentation of the feature
>>> 
>>> the basic concept:
>>> 
>>> We're talking about Generic Beans feature by Solder at [2] and
>> documented at [3]
>>> 
>> http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/solder-genericbeans.html
>>> The use cases for this feature are not very clear and documentation lack
>> details and seems erroneous.
>>> Yet Generic Beans could be a useful feature in some cases.
>>> 
>>> 
>>> please send
>>> +1, +0 or -1 because...
>>> for the basic idea
>>> if there are >basic< objections, please also add them to [4]
>>> 
>>> If we like the idea we'll probably need to update Javadoc and
>> documentation and as it's an high level feature
>>> write down real examples where Generic Bean could be useful.
>>> 
>>> 
>>> [1] http://markmail.org/message/7yefspfuvtz4jvmp
>>> [2]
>>> 
>> https://github.com/seam/solder/tree/develop/impl/src/main/java/org/jboss/solder/bean/generic
>>> [3]
>>> 
>> http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/solder-genericbeans.html
>>> [4]
>>> 
>> https://cwiki.apache.org/confluence/display/DeltaSpike/SE+Feature+Ranking
>>> 
>>> Antoine SABOT-DURAND
>>> ---------------------------------------
>>> Blog : http://www.next-presso.com
>>> Twitter ; http://twitter.com/antoine_sd
>>> LinkedIn : http://fr.linkedin.com/in/antoinesabotdurand
>> 
>> 


Re: [DISCUSS][DELTASPIKE-14] "Generic Beans"

Posted by Gerhard Petracek <ge...@gmail.com>.
hi antoine,

imo we need at least a short but correct description as well as a clear
vision (e.g. at least one real-world use-case which shows that there is a
real benefit for users).

@seam-social:
it's nice that you could use it there, but currently i can't see the need
to use it (compared to std. cdi concepts). imo we have to discuss if the
approach justifies the qualifier tricks.
(-> it's important that all of us understand the use-case/s for it as well
as the basic concept (of generic beans) before we start the discussion).

regards,
gerhard



2011/12/20 Antoine Sabot-Durand <an...@sabot-durand.net>

> +1
> I'm using it in Social and it avoids me to create a lot of producers for
> each OAuth Services. I think more people could use it if it has a better
> documentation
>
> Antoine SABOT-DURAND
>
> Le 20 déc. 2011 à 17:04, Antoine Sabot-Durand a écrit :
>
> > fyi: please check [1] before you answer.
> >
> > [2] provides a short introduction as well as the basic usage.
> > [3] provides documentation of the feature
> >
> > the basic concept:
> >
> > We're talking about Generic Beans feature by Solder at [2] and
> documented at [3]
> >
> http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/solder-genericbeans.html
> > The use cases for this feature are not very clear and documentation lack
> details and seems erroneous.
> > Yet Generic Beans could be a useful feature in some cases.
> >
> >
> > please send
> > +1, +0 or -1 because...
> > for the basic idea
> > if there are >basic< objections, please also add them to [4]
> >
> > If we like the idea we'll probably need to update Javadoc and
> documentation and as it's an high level feature
> > write down real examples where Generic Bean could be useful.
> >
> >
> > [1] http://markmail.org/message/7yefspfuvtz4jvmp
> > [2]
> >
> https://github.com/seam/solder/tree/develop/impl/src/main/java/org/jboss/solder/bean/generic
> > [3]
> >
> http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/solder-genericbeans.html
> > [4]
> >
> https://cwiki.apache.org/confluence/display/DeltaSpike/SE+Feature+Ranking
> >
> > Antoine SABOT-DURAND
> > ---------------------------------------
> > Blog : http://www.next-presso.com
> > Twitter ; http://twitter.com/antoine_sd
> > LinkedIn : http://fr.linkedin.com/in/antoinesabotdurand
>
>

Re: [DISCUSS][DELTASPIKE-14] "Generic Beans"

Posted by Antoine Sabot-Durand <an...@sabot-durand.net>.
+1
I'm using it in Social and it avoids me to create a lot of producers for each OAuth Services. I think more people could use it if it has a better documentation

Antoine SABOT-DURAND

Le 20 déc. 2011 à 17:04, Antoine Sabot-Durand a écrit :

> fyi: please check [1] before you answer.
> 
> [2] provides a short introduction as well as the basic usage.
> [3] provides documentation of the feature
> 
> the basic concept:
> 
> We're talking about Generic Beans feature by Solder at [2] and documented at [3] 
> http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/solder-genericbeans.html
> The use cases for this feature are not very clear and documentation lack details and seems erroneous.
> Yet Generic Beans could be a useful feature in some cases.
> 
> 
> please send
> +1, +0 or -1 because...
> for the basic idea
> if there are >basic< objections, please also add them to [4]
> 
> If we like the idea we'll probably need to update Javadoc and documentation and as it's an high level feature
> write down real examples where Generic Bean could be useful.
> 
> 
> [1] http://markmail.org/message/7yefspfuvtz4jvmp
> [2]
> https://github.com/seam/solder/tree/develop/impl/src/main/java/org/jboss/solder/bean/generic
> [3]
> http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/solder-genericbeans.html
> [4]
> https://cwiki.apache.org/confluence/display/DeltaSpike/SE+Feature+Ranking
> 
> Antoine SABOT-DURAND
> ---------------------------------------
> Blog : http://www.next-presso.com
> Twitter ; http://twitter.com/antoine_sd
> LinkedIn : http://fr.linkedin.com/in/antoinesabotdurand