Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-117

Prohibit bindings if there isn't a corresponding business interface

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR4
    • None
    • None
    • None

      The following 2 constructs should throw an informative error to the bean provider:

      @Stateless
      @Remote(MyRemote.class)
      @LocalBinding(jndiBinding="Whatever") // There's no local business interface
      public class MyBean implements MyRemote

      {...}


      @Stateless
      @Local(MyLocal.class)
      @RemoteBinding(jndiBinding="Whatever") // There's no remote business interface
      public class MyBean implements MyLocal{...}

            arubinge@redhat.com Andrew Rubinger (Inactive)
            arubinge@redhat.com Andrew Rubinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: