Hi, I will join the discussion in the evening... ;-)
Am 20.03.15 um 11:05 schrieb Romain Manni-Bucau:
yes, jsonp API is quite smooth.
agree that technically we can put the factory in the builder but actually I
like having a product/spec entry point (Json, Validation,
Persistence,....). It makes the API discovery super smooth compared to have
to know N entry points.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-03-20 11:01 GMT+01:00 Werner Keil <[email protected]>:
Hi,
Being a member of the JSON-P 1.1 EG I also came across its builders and how
they're constructed.
http://docs.oracle.com/javaee/7/api/javax/json/package-summary.html
shows relevant parts of the API.
It's as simple as
JsonObject object = Json.createObjectBuilder().build();
So whatever we might call a similar factory for the builder, Configurations
or just Tamaya, doing something like
Configuration config = Tamaya.createConfigurationBuilder.build();
sounds appealing.
Of course a static create() method could also be on the
ConfigurationBuilder itself (in Java 8 even interfaces, for Java 7 we might
have to find a workaround;-)
Werner
On Thu, Mar 19, 2015 at 3:36 PM, Werner Keil <[email protected]>
wrote:
#EclipseUOMo
[email protected]
request?
ways;-D
a
a
Both
is
you
--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E [email protected]
S oliver.b.fischer
J [email protected]
X http://xing.to/obf