Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFLY-9288 - Handle EJB session auto creation for stateless locators #10466

Closed
wants to merge 1 commit into from
Closed

WFLY-9288 - Handle EJB session auto creation for stateless locators #10466

wants to merge 1 commit into from

Conversation

jaikiran
Copy link
Contributor

@jaikiran jaikiran commented Sep 4, 2017

The commit here implements the semantics noted in https://issues.jboss.org/browse/WFLY-9288. It also includes a test case to verify the change. Going forward, with this commit, the following will happen:

  • If the incoming invocation is on a stateful EJB and the invocation is backed by a stateless locator, then a new session gets auto-created and is used for that invocation (and any invocation through the newly converted locator).

NOTE - This above change is a change in semantics from previous versions where the invocation on stateful beans backed by a stateless locator (a.k.a invocations without session) would fail.

  • If the incoming invocation is on a stateless EJB and the invocation is backed by a stateful locator, then the invocation is aborted and a failure is returned back to the caller.

…stateless locators & deny invocations on stateless beans through stateful locators
@jaikiran jaikiran closed this Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant