Skip to main content

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

  • From: Werner Keil < >
  • To:
  • Subject: [jsr363-experts] Re: Rename *Service as *Provider
  • Date: Sun, 14 Dec 2014 12:23:30 +0100

The concept of MicroServices no longer simply views them as "Web Service"
only. There a lot like more recent OS, see Android one module running in
the same VM or at least physical box as another can and should expose
services to another.

Wording and often mindset of JDK and its architects may not always reflect
these as quickly, but see later changes to sometimes even rather old JSRs
(like 310;-) they prefer some namings like of() over the old, traditional
valueOf() you found in key parts of the JDK for ages now, too;-)

On the other hand, Java 8 added new keywords from "pattern" vocabulary,
especially Supplier or Consumer.

Werner
Am 14.12.2014 05:08 schrieb "Martin Desruisseaux" <
>:

>  Le 13/12/14 23:19, Werner Keil a écrit :
>
>  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.
>
> I'm not sure that "Service" and "Provider" are the same thing.
>
>    - To me a service is like a "Web Service": I send a request to the
>    service, it performs some work, I get an answer, then I send a new 
> request
>    based on user action or previous request results, and so on. The Fowler's
>    description of "Micro Service" seems to be similar.
>     - To me a provider is a "on shut" action, like a connection to a
>    database: I get a "connection" (in our case, just a reference to a Java
>    object) to a service. Then, I can forget about the provider.
>
> Indeed, "SPI" in the package name stands for "Service Provider Interface":
> both "Service" and "Provider" are in the name. *Providers* provide
> *services*. In JSR-363, I think that UnitFormat can be seen as a kind of
> service. Consequently UnitFormatProvider would be the interface that give
> me UnitFormat services.
>
>     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