Return-Path: X-Original-To: apmail-openwebbeans-user-archive@www.apache.org Delivered-To: apmail-openwebbeans-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFF1399E4 for ; Fri, 22 Jun 2012 18:10:21 +0000 (UTC) Received: (qmail 33547 invoked by uid 500); 22 Jun 2012 18:10:20 -0000 Delivered-To: apmail-openwebbeans-user-archive@openwebbeans.apache.org Received: (qmail 33524 invoked by uid 500); 22 Jun 2012 18:10:20 -0000 Mailing-List: contact user-help@openwebbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@openwebbeans.apache.org Delivered-To: mailing list user@openwebbeans.apache.org Received: (qmail 33516 invoked by uid 99); 22 Jun 2012 18:10:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 18:10:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rmannibucau@gmail.com designates 209.85.160.50 as permitted sender) Received: from [209.85.160.50] (HELO mail-pb0-f50.google.com) (209.85.160.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 18:10:14 +0000 Received: by pbbrr4 with SMTP id rr4so3590949pbb.9 for ; Fri, 22 Jun 2012 11:09:53 -0700 (PDT) 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=4PVfAU1HyVUn/tjuRBWiui2zRIUARAOz9W1SdOsZOBY=; b=nyhkPHMHtUQWD/kI8aEEcA4RQ2mfE7ggASGlQs9GqRnbmu/igP1eM8Y1pWiRMqs1n2 CkBzaAdwFDMRAf2NLHUJnxOE6he0NLxm5fOhitQZzf4YbLkbPLcvMEskLagGt4Lw1kc9 wHjxImP0YefLD22Wtm+jkQLUefqTV1Fb/uMVRkFN0oe2797OATXprlNb2XfGnnuSG1w5 SGlo+lhCqojhu1aXy/2ghZUZ62Jm0Mo9PW/CaVlV8EXjqV8nofwX/FUHiZTR5c0GDxoW H0KCn/jkXuKcmppMMAFgo+saL5S6C1K1uIt0nsAL9h9s+uFAPlH5d7FCVtu27cBNWxKy cUwQ== MIME-Version: 1.0 Received: by 10.68.236.34 with SMTP id ur2mr12541827pbc.108.1340388593157; Fri, 22 Jun 2012 11:09:53 -0700 (PDT) Received: by 10.142.111.14 with HTTP; Fri, 22 Jun 2012 11:09:52 -0700 (PDT) Received: by 10.142.111.14 with HTTP; Fri, 22 Jun 2012 11:09:52 -0700 (PDT) In-Reply-To: <4FE4B32B.7050300@googlemail.com> References: <4FE4AF76.5020305@googlemail.com> <4FE4B32B.7050300@googlemail.com> Date: Fri, 22 Jun 2012 20:09:52 +0200 Message-ID: Subject: Re: Booting in Java SE? From: Romain Manni-Bucau To: user@openwebbeans.apache.org Content-Type: multipart/alternative; boundary=047d7b33d9a8f4c60504c3138973 --047d7b33d9a8f4c60504c3138973 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable No cdi bean neither today so same fight ;) Le 22 juin 2012 20:02, "Harald Wellmann" a =E9crit : > Am 22.06.2012 19:51, schrieb Romain Manni-Bucau: > >> Getunstance is replaced by currentinstance, just a semantic change. >> >> > Ok. so I'll use WebBeansContext.**currentInstance(). You might want to > add a reference to the getInstance() Javadoc, though. Users tend to get > confused when you deprecate a method and don't tell them what to use > instead ;-) > > > > There is no standard api that's why it is in test module but it is >> comparable to weldse. Deltaspike is the proof. If you want sthg standard >> there is the EJBContainer and openejb for instance. >> > > Yes, but there are no EJBs in Java SE... > > Best regards, > Harald > > --047d7b33d9a8f4c60504c3138973 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

No cdi bean neither today so same fight ;)

Le 22 juin 2012 20:02, "Harald Wellmann&quo= t; <hwellmann.de@googlema= il.com> a =E9crit=A0:
Am 22.06.2012 19:51, schrieb Romain Manni-Bucau:
Getunstance is replaced by currentinstance, just a semantic change.


Ok. so I'll use WebBeansContext.currentInstance(). You might wan= t to add a reference to the getInstance() Javadoc, though. Users tend to ge= t confused when you deprecate a method and don't tell them what to use = instead ;-)



There is no standard api that's why it is in test module but it is
comparable to weldse. Deltaspike is the proof. If you want sthg standard there is the EJBContainer and openejb for instance.

Yes, but there are no EJBs in Java SE...

Best regards,
Harald

--047d7b33d9a8f4c60504c3138973--