eclipse-ee4j / eclipse-ee4j/glassfish-samples
Additional EJB example suggestion
Open
- Dominant language
- Java
- Stars
- 41
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Please could you add an example which shows two Stateless session beans which both implement the same remote interface **without** annotating the interface as remote.
In other words:
```java
public interface RemoteI
{
}
public interface LocalI
{
}
@Stateless(name = "BeanOne")
@Local(LocalI.class)
@Remote(RemoteI.class)
public class BeanOne implements LocalI, RemoteI
{
}
@Stateless(name = "BeanTwo")
@Local(LocalI.class)
@Remote(RemoteI.class)
public class BeanTwo implements LocalI, RemoteI
{
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.