We use a shared library defined in the websphere admin console to share classes between several applications. I was wondering if it is possible to use CDI in these classes? If so do I just need to put the beans.xml in the jar that is in the shared library, or are there further steps?
Note: I can't move away from using a shared library, as this would be too much refactoring work.
This topic has been locked.
Pinned topic Using CDI in a websphere shared library
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
bergmark 110000GUM942 Posts
Re: Using CDI in a websphere shared library2013-03-05T15:04:02ZThis is the accepted answer. This is the accepted answer.Unfortunately the CDI container does not scan shared libraries for CDI managed beans.