[
https://issues.apache.org/jira/browse/TOMEE-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13608277#comment-13608277
]
Romain Manni-Bucau commented on TOMEE-839:
------------------------------------------
Note: you can add @LocalBean on the stateless and it should work out of the box
> @Stateless EJBs which are also @WebService annotated don't get picked up in
> embedded mode
> -----------------------------------------------------------------------------------------
>
> Key: TOMEE-839
> URL: https://issues.apache.org/jira/browse/TOMEE-839
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.5.1
> Reporter: Mark Struberg
> Attachments: TOMEE-839-fix_candidate_1.patch, TOMEE-839.patch
>
>
> {noformat}
> @Stateless
> @WebService
> public class MyBean {..
> {noformat}
> This class does not get picked up as EJB. It can neither get injected via
> @Inject, nor @EJB nor manually looked up in the Context. If I remove the
> @WebService annotation, then all works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira