Hi

I'm not sure if this answer will do it for you. We used to run WAS 8.5 and
it did not work well with WINK and CDI so we instead packaged WINK and used
the JCDI bridge to make that work. In WAS 8.5.5 they fixed it so that WINK
and CDI works fine together. However when moving from WAS 8.5 to 8.5.5 they
changed the packaging of features to use OSGI features (that is on
Websphere Liberty Profile that we us in development) and this resulted in a
dependency error which prevented us from loading any WINK User Handlers.
They provided us a fix for that and it will appear in 8.5.5.1 as far as I
can understand.

To be able to create WINK User Handlers that are CDI managed we still
needed to provide our own User Handlers Factory that did programatically
created the beans using the CDI BeanManager. Injecting CDI managed beans
into the WINK JAX-RS resources, Exceptions Mappers etc works fine however,
as well as applying Interceptors, Decorators and so on.

Regards
Fredrik





On Sun, Nov 3, 2013 at 5:01 AM, Harris, Christopher P <
[email protected]> wrote:

> Hi.  I’ve created a Question on JIRA:
> https://issues.apache.org/jira/browse/WINK-417
>
> I’ve read about a icdi patch submitted by Gerhard Petracek.  I’m using
> wink-client 1.4, however, I haven’t added the wink-server dependency to my
> pom.xml.  I’ve registered the Wink servlet
> (org.apache.wink.server.internal.servlet.RestServlet) in web.xml without,
> so I take it that WAS v8.0 provides Wink 1.0.  I also haven’t declared the
> ibm-wink-jaxrs.jar artifact that I’ve seen in several Wink/IBM tutorials.
>  That artifact come with the Web 2.0 feature pack.
>
> So, to further expand my CDI question:
> 1.) I Gerhard’s patch included in the latest 1.4.x snapshot?
> 2.) If so, where can I obtain this 1.4.x snapshot?  I assume the Apache
> snapshots repo.  It would be great if a snapshot dependency could be
> published to Maven Central and a pom.xml dependency snippet could be
> included in the download documentation on your main site.
> 3.) Can someone confirm that WAS v8.0 indeed provides an Apache Wink
> server?
> The information transmitted is intended only for the person(s) or entity
> to which it is addressed and may contain confidential and/or legally
> privileged material. Delivery of this message to any person other than the
> intended recipient(s) is not intended in any way to waive privilege or
> confidentiality. Any review, retransmission, dissemination or other use of,
> or taking of any action in reliance upon, this information by entities
> other than the intended recipient is prohibited. If you receive this in
> error, please contact the sender and delete the material from any computer.
>
> For Translation:
>
> http://www.baxter.com/email_disclaimer
>
>


-- 
Med vänlig hälsning / Best regards

Lars-Fredrik Smedberg

STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended recipient, please notify Lars-Fredrik Smedberg
immediately at [email protected], and destroy all copies of this
message and any attachments.

Reply via email to