users@glassfish.java.net

RE: Re: How to bind _at_Resource to Outbound Resource Adapter?

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Mon, 23 Jun 2008 13:44:45 +0530

If you are asking about embedded resource-adapters:
http://docs.sun.com/app/docs/doc/819-3672/bealk?a=view

For @Resource, you can refer:
JavaEE tutorial >chapter 32 > Using @Resource annotations in Java EE
components

Thanks,
-Jagadish


On Mon, 2008-06-23 at 09:03 +0200, Markus Karg wrote:
> No I have not done anything besides bundling my RAR within my EAR.
>
> I didn't know that I must create that manually.
>
> Is there a manual explaining what I have to do?
>
> Thanks
> Markus
>
> -----Original Message-----
> From: Jagadish.Ramu_at_Sun.COM [mailto:Jagadish.Ramu_at_Sun.COM]
> Sent: Sonntag, 22. Juni 2008 16:46
> To: users_at_glassfish.dev.java.net
> Subject: Re: How to bind @Resource to Outbound Resource Adapter?
>
> Do you have a connector-resource & connector-connection-pool created ?
> @Resource (name="connector-resource-name")
> MyInterface intf
>
> should work.
>
> Thanks,
> -Jagadish
>
>
> On Thu, 2008-06-19 at 15:30 +0200, Markus Karg wrote:
> > My EAR contains a beans that shall conntect to a outbound resource adapter.
> >
> > The beans do:
> > @Resource MyInterface outbound;
> >
> > The resource adapter is found in a RAR contained in the same RAR.
> >
> > Question: How do I tell thatt MyInterface shall be bound to the RA?
>
> >
> > Thanks
> > Markus
> >
> > QUIPSY QUALITY GmbH & Co. KG
> > Ein Unternehmen der MES-Gruppe
> > Stuttgarter Strasse 23
> > D-75179 Pforzheim
> > Tel: 07231-9189-52
> > Fax: 07231-9189-59
> > www.quipsy.de
> > karg_at_quipsy.de
> > Registergericht Mannheim HRA 701214
> > Geschäftsführer: Nils Schroeder
> >
> > Diese E-Mail enthält persönliche, vertrauliche und vor Weitergabe geschützte Informationen und ist ausschließlich für den vorgesehenen o.g. Empfänger (Adressaten) bestimmt. Falls Sie diese E-Mail versehentlich erhalten haben und nicht der vorgesehene Empfänger sind, bitten wir Sie, die E-Mail und deren Anhänge nicht aufzubewahren, nicht zu vervielfältigen, nicht zu nutzen und nicht weiterzugeben. Bitte informieren Sie uns als Absender über diesen Zustellungsfehler und löschen Sie die E-Mail.
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>