Return-Path: X-Original-To: apmail-devicemap-dev-archive@www.apache.org Delivered-To: apmail-devicemap-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 7867BCFFC for ; Mon, 5 Jan 2015 17:19:39 +0000 (UTC) Received: (qmail 77472 invoked by uid 500); 5 Jan 2015 17:19:40 -0000 Delivered-To: apmail-devicemap-dev-archive@devicemap.apache.org Received: (qmail 77426 invoked by uid 500); 5 Jan 2015 17:19:40 -0000 Mailing-List: contact dev-help@devicemap.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@devicemap.apache.org Delivered-To: mailing list dev@devicemap.apache.org Received: (qmail 77413 invoked by uid 99); 5 Jan 2015 17:19:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2015 17:19:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of werner.keil@gmail.com designates 209.85.214.177 as permitted sender) Received: from [209.85.214.177] (HELO mail-ob0-f177.google.com) (209.85.214.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2015 17:19:12 +0000 Received: by mail-ob0-f177.google.com with SMTP id va2so60794793obc.8 for ; Mon, 05 Jan 2015 09:19:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TzQ55p859AKhqrN/LFe8jmcMeLE0wdsyVABWhdLsu1Y=; b=mXBsAWC6zjSruOCGCmrA3QrE206wk+liJVR6UVHXN8H/pSKfVswxbrg9oAzLcqWQsC VCvN5+JnR59/9UV/5nZHnGcmjh0yBoQAgsdiEwIQ2EInAZxyMojGAh9gHrefFVY++1st S0yYhSUa24MEjzkQcvB4n2D7GKcYvQV+/4lw+HiUSV3dboUfJ0YMQvtYnrtsJ2nORTcQ eF2PrFdLQt0RoDUOx68BIe7G1nOYOaH1Ikn/XC0ZsPC9Tou7V3tN5iAyZ0btDL9eG28C 7oDuqEjmqEQaRJ0lBaPY7ni29PpNYfSeoySM2Spw/bahDgUttslRXUK4y4V5m68IuZzi lDTg== MIME-Version: 1.0 X-Received: by 10.60.173.211 with SMTP id bm19mr53922787oec.66.1420478350607; Mon, 05 Jan 2015 09:19:10 -0800 (PST) Received: by 10.202.129.131 with HTTP; Mon, 5 Jan 2015 09:19:10 -0800 (PST) In-Reply-To: References: Date: Mon, 5 Jan 2015 18:19:10 +0100 Message-ID: Subject: Re: Should we implement the W3C DDR standard or not? From: Werner Keil To: dev@devicemap.apache.org Content-Type: multipart/alternative; boundary=089e011764eb7fd065050beae347 X-Virus-Checked: Checked by ClamAV on apache.org --089e011764eb7fd065050beae347 Content-Type: text/plain; charset=UTF-8 Some of that is also mentioned by the MIS fact sheet: http://www.w3.org/2005/MWI/DDWG/drafts/api/MIS-DDRSimpleAPI/slide10.jpg AFAIK he did that at least initially with a W3C DDR compliant library like OpenDDR, Eberhard applied persisting device data into a cache store or NoSQL DB already. Changing the vocabulary or even parts of the implementation at runtime without restarting the JVM would work through OSGi. At the moment it is not applied, but a rather modular approach (compared to just a single large parser class in the current classifier, even both XML files are processed by a single class) makes that easier where necessary to adapt without changing the Service layer or other core components. Werner On Mon, Jan 5, 2015 at 6:10 PM, Werner Keil wrote: > With a few exceptions where patches to device data are mainly asked for > via JIRA there is no massive change on a daily or even hourly basis from > what we know now. > I mentioned given there is a solid, stable, mature and reliable W3C DDR > client for Java since the early days of this project (changes mainly for > the sake of package naming according to Apache standards, then where the > device data had changed e.g. by introducing new categories of device, that > was also accomplished and all clients are currently compatible) > > If in a year or more the structure may so drastically change, that some or > all files became incompatible with the W3C standard, none of us can tell, > because at most there is some vague "vision" for a 2.x data structure that > (regarding the use of "3 files") does not differ from the number of > data-bearing files in the current repository. > > More importantly, the W3C Spec offers tool to cover "Aspects" and a > vocabulary: http://www.w3.org/TR/DDR-Simple-API/#sec-vocabularies but it > does not mandate a particular format or how many files such vocabularies > shall be stored in. Hence, if a 2.x format looked differently, as long as > you get n properties out of it, a V 2 W3C client will also still work. > > You (Bertrand) should know the Java Content Repository (JCR) standard > rather well;-) > The JCR API just like W3C DDR defines a set of base elements like > Property, Node, Value, etc. but it neither mandates what the names of each > property have to be in a particular solution nor if you use a flat file > system (like XML) RDBMS or NoSQL DB to persist those values. Same concept > with the W3C standard. > > Werner > > > On Mon, Jan 5, 2015 at 5:51 PM, Bertrand Delacretaz < > bdelacretaz@apache.org> wrote: > >> On Mon, Jan 5, 2015 at 5:34 PM, Werner Keil >> wrote: >> > ...It's not necessarily about 2 or 3 Java clients (some may be W3C >> compliant, >> > others not) but the question, if DeviceMap wants to offer at least one >> W3C >> > DDR standard implementation for languages and platforms where this is >> > justified.... >> >> As far as I'm concerned, if someone is willing to maintain a W3C DDR >> client implementation that's fine. >> >> The question is whether this has impact on the device data set that's >> going to be shared between the different client implementations. That >> data set is the focus of DeviceMap, so it's important to make sure it >> can be maintained easily without conflicting requirements. Do people >> see potential problems with that? >> >> -Bertrand >> > > --089e011764eb7fd065050beae347--