Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D6421912D for ; Tue, 12 Apr 2016 08:45:31 +0000 (UTC) Received: (qmail 14071 invoked by uid 500); 12 Apr 2016 08:45:26 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 13972 invoked by uid 500); 12 Apr 2016 08:45:25 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 13948 invoked by uid 99); 12 Apr 2016 08:45:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 08:45:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BB7D12C14E1 for ; Tue, 12 Apr 2016 08:45:25 +0000 (UTC) Date: Tue, 12 Apr 2016 08:45:25 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-2977) Implement generic ability to invoke Java code from non-Java platforms. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vladimir Ozerov created IGNITE-2977: --------------------------------------- Summary: Implement generic ability to invoke Java code from non-Java platforms. Key: IGNITE-2977 URL: https://issues.apache.org/jira/browse/IGNITE-2977 Project: Ignite Issue Type: Task Components: platforms Affects Versions: 1.5.0.final Reporter: Vladimir Ozerov Assignee: Vladimir Ozerov Priority: Critical Fix For: 1.6 *Problem* Sometimes user could have mixed cluster when some nodes are running Java and some nodes running in platform mode. Obviously, in such deployments it is impossible to invoke non-Java code on Java nodes. It appears to be a serious limitation for users. For example, if cache nodes are Java-only, it is impossible to set remote filter from .NET. Known problematic places: - Remote filter in continuous query - Compute API - Scan Queries - Cache.invokes - "load cache" with non-null predicate - services - messaging remote listener - events remote query *Proposed solution* 1) Define two new types: {{JavaObject}} - encoded Java object; identified by a fully-qualified class name and a map of properties. {{JavaObjectFactory}} - factory object for more complex cases when some additional logic on Java side is required. Factory must support injections. 2) Implement corresponding wrappers in .NET/CPP and ensure they are unwrapped correctly. 3) Support individual features from the list above. -- This message was sent by Atlassian JIRA (v6.3.4#6332)