Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5955

Prepare Derby to run with Compact Profiles (JEP 161)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.10.1.1
    • JDBC, Services, SQL
    • None

    Description

      While waiting for a Java module system (aka project Jigsaw), it has been decided to define a few subsets of the Java SE Platform Specification, cf JEP 161 ( http://openjdk.java.net/jeps/161).

      A quote from the JEP: "More broadly, this feature is intended to enable the migration of applications currently built on top of the Java ME Connected Device Configuration (CDC) to appropriate Profiles of the Java SE Platform, part of the long-term effort to converge CDC with Java SE."

      It would be good if we make Derby to run on such limited profiles. The current proposal places JDBC in Compact Profile 2 (cf. link above), while other libraries used by Derby, e.g. javax.naming (JNDI) are in Profile 3 (larger).

      It would be good if Derby could run on the smallest posible platform, i.e. Profile 2, but that will probably involve some changes to make Derby gracefully limit functionality when some libraries are missing.

      Attachments

        1. derby-5955-proof-of-concept.diff
          303 kB
          Dag H. Wanvik
        2. derby-5955-proof-of-concept.stat
          9 kB
          Dag H. Wanvik
        3. embedded-graph.png
          180 kB
          Dag H. Wanvik
        4. client-graph.png
          141 kB
          Dag H. Wanvik
        5. derby-5955-ser.zip
          30 kB
          Dag H. Wanvik
        6. old-client-graph.png
          72 kB
          Dag H. Wanvik
        7. old-embedded-graph.png
          71 kB
          Dag H. Wanvik
        8. publishedapi.zip
          558 kB
          Dag H. Wanvik
        9. derby-5955-proof-of-concept-2.diff
          305 kB
          Dag H. Wanvik
        10. derby-5955-proof-of-concept-2.stat
          9 kB
          Dag H. Wanvik
        11. publishedapi.zip
          493 kB
          Dag H. Wanvik
        12. apidiff.zip
          262 kB
          Dag H. Wanvik
        13. derby-5955-embed-restructure-01.stat
          1 kB
          Dag H. Wanvik
        14. derby-5955-embed-restructure-01.diff
          84 kB
          Dag H. Wanvik
        15. derby-5955-embed-restructure-02.diff
          84 kB
          Dag H. Wanvik
        16. derby-5955-embed-restructure-02.stat
          1 kB
          Dag H. Wanvik
        17. derby-5955-embed-restructure-03.diff
          85 kB
          Dag H. Wanvik
        18. derby-5955-embed-restructure-03.stat
          1 kB
          Dag H. Wanvik
        19. derby-5955-embed-restructure-04.diff
          81 kB
          Dag H. Wanvik
        20. derby-5955-embed-restructure-04.stat
          1 kB
          Dag H. Wanvik
        21. derby-5955-embed-restructure-followup.diff
          3 kB
          Dag H. Wanvik
        22. derby-5955-embed-restructure-followup.stat
          0.2 kB
          Dag H. Wanvik
        23. derby-5955-client-restructure-01.diff
          82 kB
          Dag H. Wanvik
        24. derby-5955-client-restructure-01.stat
          2 kB
          Dag H. Wanvik
        25. derby-5955-client-restructure-02.diff
          184 kB
          Dag H. Wanvik
        26. derby-5955-client-restructure-02.stat
          2 kB
          Dag H. Wanvik
        27. derby-5955-client-restructure-02-delta.diff
          0.6 kB
          Dag H. Wanvik
        28. derby-5955-new-non-jndi-ds-01.diff
          30 kB
          Dag H. Wanvik
        29. derby-5955-new-non-jndi-ds-01.stat
          0.9 kB
          Dag H. Wanvik
        30. derby-5955-new-non-jndi-ds-02.diff
          30 kB
          Dag H. Wanvik
        31. derby-5955-new-non-jndi-ds-02.stat
          0.9 kB
          Dag H. Wanvik
        32. derby-5955-add-cp2-to-jars.diff
          3 kB
          Dag H. Wanvik
        33. derby-5955-make-tests-run-01.diff
          106 kB
          Dag H. Wanvik
        34. derby-5955-make-tests-run-01.stat
          5 kB
          Dag H. Wanvik
        35. derby-5955-ser-b.zip
          16 kB
          Dag H. Wanvik
        36. derby-5955-make-tests-run-02.diff
          103 kB
          Dag H. Wanvik
        37. derby-5955-make-tests-run-02.stat
          5 kB
          Dag H. Wanvik
        38. derby-5955-make-tests-run-03.diff
          88 kB
          Dag H. Wanvik
        39. derby-5955-rename.diff
          80 kB
          Dag H. Wanvik
        40. derby-5955-javadoc.diff
          25 kB
          Dag H. Wanvik
        41. derby-5955-javadoc.status
          2 kB
          Dag H. Wanvik
        42. derby-5955-javadoc-followup.diff
          11 kB
          Dag H. Wanvik
        43. derby-5955-javadoc-followup-2.diff
          4 kB
          Dag H. Wanvik

        Issue Links

          Activity

            People

              dagw Dag H. Wanvik
              dagw Dag H. Wanvik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: