Hello Sisinda

Thanks for looking at JUnit tests and maintaining a README.

Le 23/06/2017 à 17:38, Sisinda Dinusha a écrit :

> Android provides SQLiteOpenHelper abstract class to help to get
> connection to the database. Reference to the database can be retrieved
> by instantiating the subclass of SQLiteOpenHelper.
>
It seems similar to instantiating a javax.sql.DataSource subtype in
standard Java. But javax.naming purpose is (among others) to enable this
operation outside Java code, for example in a web application
configuration file, in some central registry managed by a container,
etc. But maybe this is considered not necessary on Android. For example
can we assume that the embedded SQLite server is always running and that
most users are unlikely to want to use another database engine?


> Apart from SIS, com.sun.xml.bind:jaxb-impl package (which is added as
> a dependency for JAXB) requires java.awt package. The usage of
> java.awt is found in only two classes in jaxb-impl package and not
> sure if they actually do anything in our situation.
>
With JDK9 modularisation (project Jigsaw), this dependency seems to have
been removed. At least I do not see it in the dependency list of
"java.xml.bind" module. So I think we can assume that JAXB is either
already independent of AWT for our purpose, or will become independent soon.

    Martin


Reply via email to