Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-364

Remote EJB methods should be able to observe

    Details

      Description

      Unneccessary restriction is currently present

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            gavin.king Gavin King added a comment -

            Yes, there is a subtlety in the spec. Remote interfaces are not bean types. However, producer, disposer and observer methods may be methods of a remote interface (rather than methods of a local interface). That's not a contradiction, since producers/disposers/observers are part of the "container view" of the bean, not part of the "client view". Frankly, if it were up to me, I would just drop the requirement that producers/disposers/observers be part of a business interface, but Sun didn't like this.

            Show
            gavin.king Gavin King added a comment - Yes, there is a subtlety in the spec. Remote interfaces are not bean types. However, producer, disposer and observer methods may be methods of a remote interface (rather than methods of a local interface). That's not a contradiction, since producers/disposers/observers are part of the "container view" of the bean, not part of the "client view". Frankly, if it were up to me, I would just drop the requirement that producers/disposers/observers be part of a business interface, but Sun didn't like this.
            Hide
            pmuir Pete Muir added a comment -

            Slip, this is too complex a change to introduce this late

            Show
            pmuir Pete Muir added a comment - Slip, this is too complex a change to introduce this late
            Hide
            pmuir Pete Muir added a comment -

            Work in progress at http://github.com/pmuir/core/tree/WELD-364_WELD-8 - now blocked JBAS-8290 as can't test the issue without the ability to invoke against remote interfaces.

            Show
            pmuir Pete Muir added a comment - Work in progress at http://github.com/pmuir/core/tree/WELD-364_WELD-8 - now blocked JBAS-8290 as can't test the issue without the ability to invoke against remote interfaces.
            Hide
            pmuir Pete Muir added a comment -

            Requires EJB fixes in AS. ETA unknown so moving to TBC for clarity.

            Show
            pmuir Pete Muir added a comment - Requires EJB fixes in AS. ETA unknown so moving to TBC for clarity.
            Hide
            mkouba Martin Kouba added a comment -

            Note that the event payload must be serializable, otherwise the observer notification through the remote EJB proxy would most likely fail (and actually it does on WildFly8).

            Show
            mkouba Martin Kouba added a comment - Note that the event payload must be serializable, otherwise the observer notification through the remote EJB proxy would most likely fail (and actually it does on WildFly8).

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                nickarls Nicklas Karlsson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development