ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kuznetsov <akuznet...@gridgain.com>
Subject Re: IgniteConfiguration.toXml()
Date Tue, 26 Jul 2016 08:17:21 GMT

In Web Console [1] we have generation of Spring XML and appropriate Java
code generation.
And from my experience it is not trivial thing to generate Spring XML in
some cases (if we will write code by ourselves).

If we will use Spring marshaling - that will bring a dependency from Spring
 to ignite-core and we cannot do this.
We could add this as utility method to ignite-spring module.

[1]. https://ignite.apache.org/addons.html#web-console

On Tue, Jul 26, 2016 at 2:19 PM, Pavel Tupitsyn <ptupitsyn@apache.org>

> Igniters,
> This applies equally to Java and .NET:
> Writing XML configuration in not easy or fun. I've seen lots of questions
> on how to configure things in XML.
> Spring syntax is cumbersome even when you get used to it.
> On the other hand, setting IgniteConfiguration properties directly in Java
> or C# is much easier because of the IDE support.
> Sometimes users will start with a code-only app and decide to move
> configuration to XML.
> So I propose to add IgniteConfiguration.toXml() method in Ignite.NET.
> Not sure how easy it is in Java, but .NET already has it, just hidden from
> public API.
> Thoughts? Objections?
> Pavel.

Alexey Kuznetsov
GridGain Systems

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