Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
jvx:common:setup:dbindependent_config [2020/06/19 11:35]
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
jvx:common:setup:dbindependent_config [2020/06/19 11:44] (current)
cduncan
Line 1: Line 1:
-~~Title: Database ​Independent-Configuration of the Application~~+~~Title: Database-Independent ​Configuration of the Application~~
  
 JVx allows the development of database-independent applications. However, access to the database requires specific information,​ such as host name, database port, database name, username, password, etc. JVx allows the development of database-independent applications. However, access to the database requires specific information,​ such as host name, database port, database name, username, password, etc.
Line 19: Line 19:
   </​securitymanager>​   </​securitymanager>​
   ​   ​
-  <!-- predefined life-cycle object names -->+  <!-- predefined life cycle object names -->
   <​lifecycle>​   <​lifecycle>​
     <​mastersession>​com.sibvisions.apps.packung.Session</​mastersession>​     <​mastersession>​com.sibvisions.apps.packung.Session</​mastersession>​
Line 30: Line 30:
 After the database has been defined, the application has to access it. After the database has been defined, the application has to access it.
  
-To access the database, an object of type IDBAccess is required. A number of different implementations exist, such as OracleDBAccessDerbyDBAccess.+To access the database, an object of type IDBAccess is required. A number of different implementations exist, such as OracleDBAccess ​or DerbyDBAccess.
  
-The developer could now use a specific implementation,​ such as OracleDBAccess to access only Oracle databases. Although this allows the use of special features provided by OracleDBAccess if the database is changed, the source code has to be altered as well.+The developer could now use a specific implementation,​ such as OracleDBAccessto access only Oracle databases. Although this allows the use of special features provided by OracleDBAccessif the database is changed, the source code has to be altered as well.
  
 In this case, we chose a generic approach to access the database: In this case, we chose a generic approach to access the database:
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information