Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Ebean and CDI

Received: by 10.224.173.195 with SMTP id q3mr3232198qaz.0.1336378872285;
        Mon, 07 May 2012 01:21:12 -0700 (PDT)
X-BeenThere: ebean@googlegroups.com
Received: by 10.224.174.206 with SMTP id u14ls2655970qaz.8.gmail; Mon, 07 May
 2012 01:21:11 -0700 (PDT)
Received: by 10.224.173.195 with SMTP id q3mr3232185qaz.0.1336378871675;
        Mon, 07 May 2012 01:21:11 -0700 (PDT)
Received: by 10.224.173.195 with SMTP id q3mr3232184qaz.0.1336378871650;
        Mon, 07 May 2012 01:21:11 -0700 (PDT)
Return-Path: <robin.bygr...@gmail.com>
Received: from mail-qc0-f170.google.com (mail-qc0-f170.google.com [209.85.216.170])
        by gmr-mx.google.com with ESMTPS id a39si6831217qch.0.2012.05.07.01.21.11
        (version=TLSv1/SSLv3 cipher=OTHER);
        Mon, 07 May 2012 01:21:11 -0700 (PDT)
Received-SPF: pass (google.com: domain of robin.bygr...@gmail.com designates 209.85.216.170 as permitted sender) client-ip=209.85.216.170;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of robin.bygr...@gmail.com designates 209.85.216.170 as permitted sender) smtp.mail=robin.bygr...@gmail.com; dkim=pass header...@gmail.com
Received: by qcmt36 with SMTP id t36so2919351qcm.15
        for <ebean@googlegroups.com>; Mon, 07 May 2012 01:21:11 -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=gN2uyV+yJQRRwW8TNjPhiQnsErxxsel79Nao9vNae8Y=;
        b=Sn2o2WsZsjha82r5y2dJCz+HKgtngdnL+aVH8cX/IxAz0JlwprZCfeoGuGq+H/0ZtZ
         uUyMFkA/DTh1S+VnFzOorg4sXb64EqTkl4+8pEST40TfevMq6GUX2gblfVZXtDMsp6Lz
         WiycD0tl08QreH3pzYhbcPuw7unbfzinRAyycyOPIJYwnwoPC3ORq8fnsvKpUfr3MPT5
         /5IiLh2Es6IEJsKQ3cMLlQViLnAb3/fXI4YWz+Ecwqz3GrSYjRFgKcoqfB98IXE7lS1l
         dSFSnZwhyZ6X82ZA9210QYTWcW2JrvOrwgM3tXnnU84Ili1fudzrIDpNxA7ev+1mlrqD
         /2QA==
MIME-Version: 1.0
Received: by 10.229.135.69 with SMTP id m5mr6524112qct.59.1336378871442; Mon,
 07 May 2012 01:21:11 -0700 (PDT)
Received: by 10.229.71.66 with HTTP; Mon, 7 May 2012 01:21:11 -0700 (PDT)
In-Reply-To: <29654326.633.1336377896717.JavaMail.geo-discussion-forums@ynbv36>
References: <28718576.11.1336341694610.JavaMail.geo-discussion-forums@yndm3>
	<CALHF5tpi5yxO5+8_Y2uv12GY==dA3+Kec+P4+2n7r8EmgMP...@mail.gmail.com>
	<CAC=ts-F=L4NBbWNn99i7NfEzOEFqLyEbwRSa5tzHk3kGGvP...@mail.gmail.com>
	<29654326.633.1336377896717.JavaMail.geo-discussion-forums@ynbv36>
Date: Mon, 7 May 2012 20:21:11 +1200
Message-ID: <CAC=ts-HrZ_2RcLa-D-5Nk1Ei7dX9Bm+Gg52LFdNFcrhJbJ6...@mail.gmail.com>
Subject: Re: [ebean] Ebean and CDI
From: Rob Bygrave <robin.bygr...@gmail.com>
To: ebean@googlegroups.com
Content-Type: multipart/alternative; boundary=00248c6a680eeaeea504bf6df3d1

--00248c6a680eeaeea504bf6df3d1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

To clarify,  do you mean injecting an application scoped bean (MailService)
into a domain/entity bean (User)  ... so mailService is a transient field
of the User entity bean?


On 7 May 2012 20:04, Pavel Arno=C5=A1t <pavel.arn...@loutka.cz> wrote:

> Hi,
>
> thanks for replies. I have meant injecting domain/entity beans that
> EbeanServer returns, e.g. I would like to inject instances of class User
> with MailService ApplicationScoped bean.
>
> Regards,
> Pavel
>

--00248c6a680eeaeea504bf6df3d1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

To clarify,=C2=A0 do you mean injecting an application scoped bean (MailSer=
vice) into a domain/entity bean (User)=C2=A0 ... so mailService is a transi=
ent field of the User entity bean?<br><br><br><div class=3D"gmail_quote">On=
 7 May 2012 20:04, Pavel Arno=C5=A1t <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:pavel.arn...@loutka.cz" target=3D"_blank">pavel.arn...@loutka.cz</a>&gt;<=
/span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi,<div><br></div><div>thanks for replies. I=
 have meant injecting domain/entity beans that EbeanServer returns, e.g. I =
would like to inject instances of class User with MailService ApplicationSc=
oped bean.</div>
<div><br></div><div>Regards,</div><div>Pavel<br></div></blockquote></div><b=
r>

--00248c6a680eeaeea504bf6df3d1--