Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdi-dev] CDI profiles
  • From: Manfred Riem <m_riem@xxxxxxxxxxx>
  • Date: Tue, 26 Jan 2021 20:41:14 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0QFowAyJXj0pICTigy93lX676AwyFpKEtNC7YbiYYxA=; b=L/6gXsp0l4amHChSvsnb/XyKu6B1iENwpWHiGQkACnBqwIDuINKPVFkyHx9Ubis3KcKmSGOpiTJ60EWNMg6iEO8ySWRHzv2yG+aWb5YwV5uvYGiKNqmnmh/nb7JR2cRUFCYMfG0PsnE5LD8mrLTcnLq7SLRkBMvTxvjtRwd51mPMrp2/29664ZorVwRMDzCgSnWSR5KrTBJoyLsjEiCdCU7pS5V7A3relKH73kM6NQShG8y7UetfpZFqTLcN8ekghq43kumxOkKI5I110iwdNrKecpIDo+GbNekmUsUI+YFqJxG6YxvRT67mvJJn5hN2Tzt732BUquL/s75FfJvKig==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HeH0HEzBjZ0W7qSqWpGGTlrRoRlZHOpiBZLS+3DWP3sgbixT5RxUrpfgT0E9ot2enVLBwSkzbDRZum+pIxECkQOKfhIQ6npyTCqUYzFozSzV8VCjZbyfMHfuYuq8FeAWy0vTd5Aoa46abE3I+GcX3kTUzY0zf9D9dlACSxZkUU2/+nt8dLjSad0Gl3c70/uwePpB3l4/FFxC2KjKt0WEfYAc0Thx1VdMKxj3SZNpmLrTslqjC/TLg5uImJ/TNZ0oTSDKY7Nj70N5lzJOhCE6kcKOSh7poa9JN/6mn7cqM2uEQTd29NPsxTvGcqOmc3F45x0hJD6Px6oj3bbP40tiRQ==
  • Delivered-to: cdi-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdi-dev/>
  • List-help: <mailto:cdi-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdi-dev>, <mailto:cdi-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdi-dev>, <mailto:cdi-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: Adb0I5Yy4dRtGRVCTOKiRc1iAXBdiw==
  • Thread-topic: [cdi-dev] CDI profiles

Hi all,

 

So can we get a consensus on this profiles approach and then if we all agree on going the profiles route

consensus on what profiles are going to be delivered as part of the new specification?

 

Thanks!

 

Kind regards,

Manfred Riem

 

From: cdi-dev <cdi-dev-bounces@xxxxxxxxxxx> On Behalf Of Ladislav Thon
Sent: Tuesday, January 26, 2021 9:18 AM
To: cdi-dev@xxxxxxxxxxx
Subject: Re: [cdi-dev] CDI profiles (was RE: About parsing beans.xml files in Lite)

 

Hi,

I think that's very nice, and quite close to what we've just discussed on the call. (Meeting minutes coming :-) )

I'd like to get back to the "defining feature", if I may. I have probably misunderstood you completely. At this point, there's no new _feature_ proposed, no new API, no new configuration, etc. (except the new extension API, which is just inevitable fact of life and I guess we would all be happier if we didn't have to do them :-) ). It's mostly about restructuring or redefining of what's already there, in a way that doesn't break existing CDI users yet allows CDI to be used in more environments (notably, in an environment that "pre-wires" beans during application build).

Hope that I said it better than the last time.

LT

On 26. 01. 21 16:22, Manfred Riem wrote:

Hi,

 

As it is clear that we are NOT gravitating towards a solution here I would like to pivot and propose an alternative that could be hopefully acceptable to all parties involved.

 

  1. Drop the notion of CDI Lite
  2. Introduce the notion of CDI profiles
  3. Define 3 profiles for the CDI specification
    1. CDI
    2. CDI – CP (Core Profile)
    3. CDI – BTF (Build Time Profile)
  1. Make 3c an optional profile as far as the specification is concerned (EE runtimes should not have to be required to support 3c)

 

Where 3b is a proper subset of 3a and 3c is a subgroup of 3b (or in other words 3c uses 3b and it is allowed to add its own incompatible  “sugar”).

 

Thoughts?

 

Thanks!


Kind regards,

Manfred Riem

 

From: cdi-dev <cdi-dev-bounces@xxxxxxxxxxx> On Behalf Of Ladislav Thon
Sent: Tuesday, January 26, 2021 7:59 AM
To: cdi-dev@xxxxxxxxxxx
Subject: Re: [cdi-dev] About parsing beans.xml files in Lite

 

Hi,

On 26. 01. 21 15:27, Manfred Riem wrote:

 I am sorry you think me asking for the one defining feature is inconvenient and make you feel like going around and around, but from my perspective it is a very important question to answer.

no, that's not inconvenient, I understand the desire to have a "defining feature" -- I'm just pointing out that we already went through a very similar discussion (here on this mailing list).


What is the one defining feature for CDI itself? I would argue when most folks think about CDI they think Dependency Injection.

 

So my question stands! What would most folks think this to be named variant would stand for?

 

Everything I have heard so far does not tell me that as I have only heard implementation concerns.

I don't think it's an implementation concern. If the specification can't be implemented under certain constraints, then either such implementation doesn't make any sense, or the specification needs to change. I personally believe it's the latter.

LT

 

Thanks!

 

Kind regards,

Manfred Riem



_______________________________________________
cdi-dev mailing list
cdi-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdi-dev

Back to the top