Ignite Java server with .net client limitations

classic Classic list List threaded Threaded
9 messages Options
IgniteDotnetUser IgniteDotnetUser
Reply | Threaded
Open this post in threaded view
|

Ignite Java server with .net client limitations

I am trying a POC with ignite. I have a Java ignite server and want to use
ignite.net on the client side on the UI. I have come across a few major
limitations and want to make sure I am not missing something w.r.t these:

Thin clients:
1) thinclients do not support continuous queries.

Thick clients:
1) there is no way to have a Java ignite server with .net thick client if we
want to use continuous query with filter.
2) cache invokes are not possible.

My usecase is pretty simple. I want to be able to request filtered data from
Java ignite server and be able to listen to updates on it.

Please let me know if I am missing something and if the above are possible.

If not, can you please share if they are planned for a future release. If
you can share the release date as well, that would be great.

Is there any workaround in the mean time that can be used?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
stephendarlington stephendarlington
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Java server with .net client limitations

Invoke and the continuous query filters both mean sending code from the client to the server. The Java server does not, of course, understand the CLR.

If you want to run .net code on your server, you need to run the ignite.net server. You can do that on a Linux server using Mono.

Regards,
Stephen

> On 11 Mar 2019, at 15:22, IgniteDotnetUser <[hidden email]> wrote:
>
> I am trying a POC with ignite. I have a Java ignite server and want to use
> ignite.net on the client side on the UI. I have come across a few major
> limitations and want to make sure I am not missing something w.r.t these:
>
> Thin clients:
> 1) thinclients do not support continuous queries.
>
> Thick clients:
> 1) there is no way to have a Java ignite server with .net thick client if we
> want to use continuous query with filter.
> 2) cache invokes are not possible.
>
> My usecase is pretty simple. I want to be able to request filtered data from
> Java ignite server and be able to listen to updates on it.
>
> Please let me know if I am missing something and if the above are possible.
>
> If not, can you please share if they are planned for a future release. If
> you can share the release date as well, that would be great.
>
> Is there any workaround in the mean time that can be used?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


IgniteDotnetUser IgniteDotnetUser
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Java server with .net client limitations

Thank you for the reply. Having .net with mono would call for a lot of work
on our side.

Just wondering, if there were some pre-defined filters in ignite which just
accept some parameters and are understood by both Java and .net, that would
probably help?

Also, is this going to be a limitation with ignite for mixed-platform
implementations or is this going to be resolved soon?




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
stephendarlington stephendarlington
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Java server with .net client limitations

I’m not sure what resolution you have in mind? The fundamental problem is that the JVM can’t run .net code and vice versa.

Ignite solves that with a .net server that integrates with the usual Java server. The other alternative would be to have a Java client.

Regards,
Stephen

> On 11 Mar 2019, at 16:09, IgniteDotnetUser <[hidden email]> wrote:
>
> Thank you for the reply. Having .net with mono would call for a lot of work
> on our side.
>
> Just wondering, if there were some pre-defined filters in ignite which just
> accept some parameters and are understood by both Java and .net, that would
> probably help?
>
> Also, is this going to be a limitation with ignite for mixed-platform
> implementations or is this going to be resolved soon?
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


ptupitsyn ptupitsyn
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Java server with .net client limitations

> You can do that on a Linux server using Mono

Mono is not officially supported, and I won't recommend it.
Use .NET Core instead to run Ignite.NET on Linux.

>  some pre-defined filters in ignite which just accept some parameters and are understood by both Java and .net

We actually had something like this in mind.
A predicate builder of some sort that produces and expression tree which can be executed by Java server node.
This will allow predicates from any language and client.
But this never got implemented.

Can you please describe your use case in more detail? Why is it a problem to run Ignite.NET server nodes? They don't have any limitations.

On Mon, Mar 11, 2019 at 7:40 PM Stephen Darlington <[hidden email]> wrote:
I’m not sure what resolution you have in mind? The fundamental problem is that the JVM can’t run .net code and vice versa.

Ignite solves that with a .net server that integrates with the usual Java server. The other alternative would be to have a Java client.

Regards,
Stephen

> On 11 Mar 2019, at 16:09, IgniteDotnetUser <[hidden email]> wrote:
>
> Thank you for the reply. Having .net with mono would call for a lot of work
> on our side.
>
> Just wondering, if there were some pre-defined filters in ignite which just
> accept some parameters and are understood by both Java and .net, that would
> probably help?
>
> Also, is this going to be a limitation with ignite for mixed-platform
> implementations or is this going to be resolved soon?
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


IgniteDotnetUser IgniteDotnetUser
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Java server with .net client limitations

We have a team that takes care of server part and they work on Java. They are
planning on switching to ignite. We use .net for UI data display. So we are
kind of stuck with Java on server and .net for UI.

On UI, users generally put some dynamic filters and get the data and the
grid displaying the data is “live” (It listens to any changes and updates
the grid accordingly).





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Java server with .net client limitations

Hello!

You can ask your Java backend side to implement Ignite Services with some defined API, and you can call those services from .Net thick client much like any native API.

Please consider this approach.

Regards,
--
Ilya Kasnacheev


пн, 11 мар. 2019 г. в 20:26, IgniteDotnetUser <[hidden email]>:
We have a team that takes care of server part and they work on Java. They are
planning on switching to ignite. We use .net for UI data display. So we are
kind of stuck with Java on server and .net for UI.

On UI, users generally put some dynamic filters and get the data and the
grid displaying the data is “live” (It listens to any changes and updates
the grid accordingly).





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
IgniteDotnetUser IgniteDotnetUser
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Java server with .net client limitations

Not sure I understand the ignite services approach. We can invoke something
from .net on Java servers? Would it give the ability to listen on data
modifications? Can u pls share some url or documentation on this?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Java server with .net client limitations

Hello!

Yes, you can invoke Java services from .net:

I'm not sure about vice versa, but if it is supported they could notify your service from Java when there is data update.

Regards,
--
Ilya Kasnacheev


пн, 11 мар. 2019 г. в 21:22, IgniteDotnetUser <[hidden email]>:
Not sure I understand the ignite services approach. We can invoke something
from .net on Java servers? Would it give the ability to listen on data
modifications? Can u pls share some url or documentation on this?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/