You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2008/09/05 20:46:46 UTC
[jira] Commented: (OPENEJB-906) Validation: Referring to a bean via
its bean class (pre 3.1)
[ https://issues.apache.org/jira/browse/OPENEJB-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628698#action_12628698 ]
David Blevins commented on OPENEJB-906:
---------------------------------------
Given these two beans:
@Stateless
public class Foo implements FooLocal
@Stateless
public class Bar implements BarLocal
The following reference is not legal in EJB 3.0:
@EJB
private Foo foo;
In EJB 3.0 you cannot refer to a bean using its bean class and must reference it via one of its business interfaces.
> Validation: Referring to a bean via its bean class (pre 3.1)
> ------------------------------------------------------------
>
> Key: OPENEJB-906
> URL: https://issues.apache.org/jira/browse/OPENEJB-906
> Project: OpenEJB
> Issue Type: Sub-task
> Reporter: David Blevins
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.