Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11051

place Java classes ApacheInterface and JdbcInterface into single jar file

    XMLWordPrintable

Details

    Description

      It appears that both the JdbcInterface class and ApacheInterface class (among others) are currently in a java package called "wrappers" whereas the recommended package naming convention should contain the domain name. A correct package name would look something like this:

      org.mariadb.storage.connect

      This way the fully qualified Java class names would be this:

      org.mariadb.storage.connect.JdbcInterface
      org.mariadb.storage.connect.ApacheInterface

      Further, all of these classes (JdbcInterface, ApacheInterface, etc.) could be compiled into a single JAR file, say something like MariadbStorageConnect.jar would be great. Then a single JAR file can be included with all binary distributions (RPMs etc) since it is platform independent. Java doesn't mind that certain classes in the jar require other jar files (like Apache DBCP) that might not be present if you don't try to call them.

      Attachments

        Activity

          People

            bertrandop Olivier Bertrand
            rdyas Robert Dyas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.