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

Reduce the number of places where CORBA config parameters are specified.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2
    • corba
    • None

    Description

      The CORBA configuration situation is a bit of a mess currently, with information scattered over multiple locations. Much of this information is ORB implementation specific, which makes it very difficult to switch between ORBs. For example, various CORBABean configurations manage bits of the ORB configuration using:

      1) The name of an ORB config adapter class.
      2) ORB.init() properties specified on the CorbaBean declaration
      3) ORB.init() arguments specified on the
      4) CORBASystemProperties values that must be set in System.properties before initializing the ORB.

      2), 3), and 4) above are values that are handled in a non-portable fashion, and are scattered over seemingly unreleated portions of the configs.

      A better solution would be to have GBeans that encapsulate the knowledge about what ORB is going to be used as the server and pull these pieces together into a simple GBean declaration, which would make it much easier to switch between ORB implementations. The ORB config adapter seems tailor made for this. It just needs to be turned into a GBean rather than a classname argument to CorbaBean and CSSBean.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rickmcguire Richard McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: