Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-334

Server side exception classes are exposed to EJB clients

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1, 2.0, 2.2
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently we are passing all exceptions from the server directly to clients. We should have a strategy encapsulate "system exceptions" so the client does not require server exception classes on the client.

      I propose we serialize the full exception class, the exception message, and the exception stack trace separately. This will double the size of the exception on the wire, but will allow us to attempt to deserialize the exception and if that fails, create a new replacement exception using the message and stack trace.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dain Dain Sundstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: