deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: [DISCUSS] [DELTASPIKE-28] ServiceProvider
Date Thu, 22 Dec 2011 11:01:20 GMT
hi john,

the impl. would >not< be bound to a cdi impl.
owb as well as weld (see [1]) support java5.

regards,
gerhard

[1]
https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/util/ServiceLoader.java



2011/12/22 John D. Ament <john.d.ament@gmail.com>

> -1
> Java5 is past EOL at this point.  Not suitable for production deployments
> from my perspective.  Java EE 6 (since any code we write for delta spike is
> against EE6) is for Java SE 6.  Even if the implementation is using Java 5
> at compilation time, the runtime is 6; and I would hope we would code
> against spec rather than specific impls.
>
> John
>
> On Wed, Dec 21, 2011 at 3:41 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
> > hi @ all,
> >
> > fyi: please check [1] before you answer.
> >
> > [2] is the implementation used in owb. i suggest to start with it
> (instead
> > of the version of codi), because the version of codi provides additional
> > mechanisms we might need later on (if we include the corresponding
> > features).
> >
> > the basic concept:
> > ServiceProvider (btw. DefaultLoaderService) is a custom implementation of
> > the ServiceLoader mechanism which allows to use codi with java 1.5 (if
> the
> > cdi container allows it as well).
> > in case of java6+ the std. ServiceLoader gets used.
> >
> > please send
> > +1, +0 or -1 because...
> > for the basic idea as well as the basic concept.
> > if there are >basic< objections, please also add them to [3]
> >
> > regards,
> > gerhard
> >
> > [1] http://markmail.org/message/7yefspfuvtz4jvmp
> > [2]
> >
> >
> https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.1.3/webbeans-impl/src/main/java/org/apache/webbeans/service/DefaultLoaderService.java
> > [3]
> >
> https://cwiki.apache.org/confluence/display/DeltaSpike/SE+Feature+Ranking
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message