eclipse-ee4j / eclipse-ee4j/glassfish-samples

Additional EJB example suggestion

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.