Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2172

JNDI code contribution, samples to use Derby

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • None
    • None
    • fp2

    Description

      I'm opening this issue to track the status of John Gentilin's contribution of Eric's code for new JNDI work.

      John has also reworked some samples to use Derby (hope I'm expressing this correctly).

      The new code will more easily create a database and run code/tests.
      The amount of setup needed to get involved in this code was rather
      high, one needs to install a database management system, plus get
      the JDBC libraries, etc. Derby has an embeded version where all
      you need to do use a jar file.

      John G. has reviewed Eric's JNDI code,
      and integrated/tested on his
      system. Eric will test in a JNDI environment.

      One new class, the rest is patches to existing parts.

      Instant DB is no longer used, MySQL is not used and John G. has reworked
      the examples to use Derby ( http://incubator.apache.org/projects/derby.html )

      Rather than include the Derby jars in the distribution, or in the
      ./lib directory or the ./examples directory, we should propably point
      users to where they can get the jars. For example we no longer ship
      the Jakarta bsf.jar with our distribution.

      If the jars go in ./test/java/bin that is OK, it is not part of
      the distribution, and the smoketest could use them.

      The old ./instantdb that can go.

      John will be providing documentation changes as well.
      Yash has agreed to review.

      There are still open issues on this one regarding dependencies.
      Please record discussion/patches/reviews in this issue.

      Attachments

        1. Xalan-SQL-JNDI-with-reflection.txt
          13 kB
          John Gentilin
        2. derby-jars.zip
          2.10 MB
          John Gentilin
        3. XalanSQLExamples.txt
          35 kB
          John Gentilin
        4. XalanSQLDocs-Samples.patch
          18 kB
          John Gentilin
        5. Xalan-SQLSamples-ShowError.patch
          15 kB
          John Gentilin
        6. XalanDocs-ExtensionLib-SQL.patch
          19 kB
          John Gentilin

        Activity

          People

            johnglinux@eyecatching.com John Gentilin
            minchau@ca.ibm.com Brian Minchau
            Yash Talwar Yash Talwar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: