Skip to main content

[jsr363-experts] Re: Rename *Service as *Provider

  • From: Werner Keil < >
  • To: " " < >
  • Subject: [jsr363-experts] Re: Rename *Service as *Provider
  • Date: Sat, 13 Dec 2014 15:19:20 +0100

That's because of the good old "Jigsaw/Sun vs. OSGi" fight;-)

The concept of Service is still largely unknown even on the EE side, but in
earlier implementations both JScience and Eclipse UOMo OSGi is an essential
part of their technology.
With the new MicroService frency (also a concept strongly driven by Fowler
who inspired many of the underlying principles of the API like Quantity;-)
going across the entire industry right now, I think Service is at least as
appropriate or better.

@Jean-Marie, you are a strong supporter of OSGi, what do you think about it?

HTH,
Werner

On Sat, Dec 13, 2014 at 1:58 PM, Otávio Gonçalves de Santana <
>
 wrote:

> I agree
>
> The javax.measure.spi package defines the following interfaces:
>
>    - SystemOfUnitsService
>    - UnitFormatService
>
> However the usage in the JDK seems to use the Provider suffix instead than
> Service, as we can find in the following packages:
>
>    - java.nio.channels.spi
>    - java.nio.charset.spi
>    - java.nio.file.spi
>    - java.text.spi
>    - java.util.spi
>    - javax.sound.midi.spi
>    - javax.sound.sampled.spi
>    - javax.sql.rowset.spi
>    - javax.xml.ws.spi
>
> Exceptions to the "Provider" suffix usage are below (but none of them use
> "Service"):
>
>    - javax.imageio.spi
>    - javax.naming.spi
>    - javax.security.auth.spi
>
> I suggest to comply to JDK usage are replace "Service" by "Provider" in
> above-cited interface names.
>
>     Martin
>
>


[jsr363-experts] Rename *Service as *Provider

Martin Desruisseaux 12/13/2014

[jsr363-experts] Re: Rename *Service as *Provider

Otávio Gonçalves de Santana 12/13/2014

[jsr363-experts] Re: Rename *Service as *Provider

Werner Keil 12/13/2014

[jsr363-experts] Re: Rename *Service as *Provider

Martin Desruisseaux 12/14/2014

[jsr363-experts] Re: Rename *Service as *Provider

Werner Keil 12/14/2014

[jsr363-experts] Re: Rename *Service as *Provider

Martin Desruisseaux 12/14/2014

[jsr363-experts] Re: Rename *Service as *Provider

Leonardo Lima 12/16/2014
 
 
Close
loading
Please Confirm
Close