Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 107401893C for ; Mon, 13 Jul 2015 15:14:26 +0000 (UTC) Received: (qmail 44779 invoked by uid 500); 13 Jul 2015 15:14:26 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 44729 invoked by uid 500); 13 Jul 2015 15:14:25 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 44718 invoked by uid 99); 13 Jul 2015 15:14:25 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2015 15:14:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 72656D4315 for ; Mon, 13 Jul 2015 15:14:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id kzA_5xWr743Y for ; Mon, 13 Jul 2015 15:14:16 +0000 (UTC) Received: from plasma6.jpberlin.de (plasma6.jpberlin.de [80.241.56.68]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 4A6E7212C5 for ; Mon, 13 Jul 2015 15:14:16 +0000 (UTC) Received: from gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) by plasma.jpberlin.de (Postfix) with ESMTP id 91BC0A6911; Mon, 13 Jul 2015 17:13:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from plasma.jpberlin.de ([91.198.250.140]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10024) with ESMTP id 5Hi78tkIccNe; Mon, 13 Jul 2015 17:13:07 +0200 (CEST) Received: from webmail.jpberlin.de (sinatra7.heinlein-hosting.de [91.198.250.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmueller@jpberlin.de) by plasma.jpberlin.de (Postfix) with ESMTPSA id 4813BA23A2; Mon, 13 Jul 2015 17:13:07 +0200 (CEST) Received: from xHMfpIKAn6moqEqqN5iil+nxnr9vsNfkCo1t0sg03+A= (gIxuPX8/8hzknNfJQcfDiBpHPLbIUOAL) by webmail.jpberlin.de with HTTP (HTTP/1.1 POST); Mon, 13 Jul 2015 17:13:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 13 Jul 2015 17:13:07 +0200 From: =?UTF-8?Q?Florian_M=C3=BCller?= To: Alex Devasia Cc: dev@chemistry.apache.org Subject: Re: Web Services and Java 8/9 In-Reply-To: <297556959.955720.1436781121234.JavaMail.yahoo@mail.yahoo.com> References: <9ff7d3fe64d22e57673befbbcae730fd@jpberlin.de> <297556959.955720.1436781121234.JavaMail.yahoo@mail.yahoo.com> Message-ID: <04eebdc6f60465f67a55712a88a01f0a@jpberlin.de> X-Sender: fmui@apache.org User-Agent: RoundCube Webmail Hi Alex, It doesn't matter which JAX-WS implementation we choose, there will always be pros and cons and people who prefer one or the other. From a licenses point of view, Apache CXF is the better choice because it's under the Apache license. Removing CDDL dependencies is a good thing. From an OpenCMIS development point of view, it doesn't make a big difference. From a support point of view, Apache CXF is also the better choice. There are more documentation and support channels for Apache CXF than there are for the Metro RI. There is more information on the Internet how to run CXF on various application servers than there is for Metro RI. There shouldn't be much impact for applications that also provide other Web Services in the boundaries of JAX-WS. It's a different story for applications that use Metro RI internal APIs - like OpenCMIS did. If this is an issue for someone, please let us know. I think there is no need to have two versions of the server framework. If you don't want the Web Services binding, you only have to remove the servlet configuration from the web.xml. You can also remove the Web Services related dependencies or - if you use Maven - exclude them in your pom.xml. Would it help if we provide sample web.xml and pom.xml files? - Florian > Hi Florian, > Would upgrading to a newer version of Metro RI have helped instead of > moving to Apache CXF? The latest version available is 2.2.10.  I guess > moving to CXF would make it difficult for any application that's > already using Sun's JAX-WS and the OpenCMIS server framework. Does it > make sense to have 2 versions of the server framework available - one > with support for all 3 bindings and the other with atompub and browser > binding only? > Thanks   > From: Florian Müller > To: dev@chemistry.apache.org > Sent: Sunday, July 12, 2015 2:12 AM > Subject: Web Services and Java 8/9 > > Hi, > > The Web Service binding server implementation of OpenCMIS was based on > the Sun JAX-WS RI. This JAX-WS implementation seems to have serious > issues with Java 8 and 9 (see [1] and [2]). > The Web Service binding client implementation used the JAX-WS provided > by the JRE. Because of some shortcomings of the JAX-WS specification we > had to call a few internal APIs. That's not working anymore with > upcoming Java 8 and 9 releases. > > So, I have changed the Web Service binding implementation (client and > server) to use Apache CXF 3.0 instead. > This is a major change! It should not affect code that uses OpenCMIS, > but it affects the deployment. OpenCMIS has now different dependencies. > Updating to the next OpenCMIS release will need some more work and > attention than before. > > The new implementation (in trunk) is complete but not well tested. The > TCK passes and my smoke tests were all successful so far. It would be > great if someone else could test it as well. > > > - Florian > > > > [1] https://issues.apache.org/jira/browse/CMIS-917 > [2| > https://mail-archives.apache.org/mod_mbox/chemistry-dev/201506.mbox/%3C2FBF817A4032C64CA8DE5F4F73ED93A4438F3EEE%40otmucxg20.opentext.net%3E