Last update: December 2018.
This is the eleventh version of DB-MAIN, the Database Engineering tool. In its current state, it includes most basic functions commonly found in other DB CASE environments, but also some other functions which are less frequently available. Currently, the tool offers functions for:
The JIDBM (Java Interface for DB-MAIN) library is designed to develop Java plug-ins for DB-MAIN. With this library, the DB-MAIN users can develop their own functions in the tool.
Specific methodologies can be built thanks to a method development environment (MDL) that includes a method description language, a complier and a graphical engine.
DB-MAIN is implemented with wxWidgets a open-source GUI library.
This tool is implemented in C++ and runs on Windows (95, 98, Me, NT, 2000, XP, Vista, 7, 8 and 10) and Linux. It works well on 32 bits and 64 bits operating systems.
It is compliant UTF-8 since version 10.
Execute the dbm-11xx-win-i386-setup.exe (32 bits) or dbm-11xx-win-amd64-setup.exe (64 bits) file to install DB-MAIN on your machine.
This installation creates a directory for DB-MAIN and fills it.
In the registry, only a single entry is created for easy uninstallation of DB-MAIN.
Go to the Start menu and click on the entry DB-MAIN X.Y.Z.
A file DB_MAIN.INI is created in the user's application data directory when DB-MAIN is run for the first time.
Except that, nothing else is written outside of the DB-MAIN directory.
IMPORTANT for Windows 7, 8 and 10 users: At first start, run DB-MAIN as administrator (right click on the shortcut DB-MAIN and select Run as administrator) to allow the license file writing. Next starts, run DB-MAIN normally.
Two kinds of installation may be performed:
cd ~/db-main
tar -xf dbm-11xx-linux-i386-setup.tar.gz or
tar -xf dbm-11xx-linux-amd64-setup.tar.gz
export DB_MAIN_BIN=~/db-main/bin
export PATH=$DB_MAIN_BIN:$PATH
# For 32 bits
export LD_LIBRARY_PATH=$DB_MAIN_BIN:$DB_MAIN_BIN/../java/jre/lib/i386/server:$LD_LIBRARY_PATH
# For 64 bits
export LD_LIBRARY_PATH=$DB_MAIN_BIN:$DB_MAIN_BIN/../java/jre/lib/amd64/server:$LD_LIBRARY_PATH
cd /usr/local/db-main
sudo tar -xf dbm-11xx-linux-i386-setup.tar.gz or
sudo tar -xf dbm-11xx-linux-amd64-setup.tar.gz
sudo chmod a+x /usr/local/db-main/bin/db_main
Edit the global bash profile for all users (something like /etc/bash.bashrc) and add the following lines (adapt the /usr/local/db-main/bin directory to the one chosen previously and choose the export LD_LIBRARY_PATH line corresponding to your hardware architecture):export DB_MAIN_BIN=/usr/local/db-main/bin
export PATH=$DB_MAIN_BIN:$PATH
# For 32 bits
export LD_LIBRARY_PATH=$DB_MAIN_BIN:$DB_MAIN_BIN/../java/jre/lib/i386/server:$LD_LIBRARY_PATH
# For 64 bits
export LD_LIBRARY_PATH=$DB_MAIN_BIN:$DB_MAIN_BIN/../java/jre/lib/amd64/server:$LD_LIBRARY_PATH
To run DB-MAIN, there are also two approaches:
Execute the file db_main as a normal user from the command prompt.
Create a shortcut on your desktop that calls a shell file that contains something like this:
#!/bin/sh
export DB_MAIN_BIN=/the-path-to-the-db-main-bin-directory
export PATH=$DB_MAIN_BIN:$PATH
# For 32 bits
export LD_LIBRARY_PATH=$DB_MAIN_BIN:$DB_MAIN_BIN/../java/jre/lib/i386/server:$LD_LIBRARY_PATH
# For 64 bits
export LD_LIBRARY_PATH=$DB_MAIN_BIN:$DB_MAIN_BIN/../java/jre/lib/amd64/server:$LD_LIBRARY_PATH
cd /the-path-to-the-db-main-bin-directory/
db_main
Adapt the-path-to-the-db-main-bin-directory to your environment, choose the export LD_LIBRARY_PATH line corresponding to your computer architecture, save the shell file in the DB-MAIN bin directory (called db_main.sh for example) and give the execute permissions for all users.
Finally, put the following command in the shortcut:
/bin/sh /the-path-to-the-db-main-bin-directory/db_main.sh
A file db_main.ini is created in the .db-main directory of the user's home directory when DB-MAIN is run for the first time.
The setup files (dbm-11xx-win-i386-setup.exe or dbm-11xx-win-amd64-setup.exe for Windows, dbm-11xx-linux-i386-setup.tar.gz or dbm-11xx-linux-amd64-setup.tar.gz for Linux) contains:
DB-MAIN is UTF-8 compliant.
Menu items (available from the menu bar and keyboard shortcuts) related to clipboard operations ("Copy", "Paste", ...) act upon objects in textual and graphical views. If the insertion point is in a text input area, you should use the shortcut menu (control-click or right-click).
DB-MAIN tries to provide keyboard shortcuts in accordance with the general usage. However, the documentation refers to the "Ctrl" key for shortcuts; you should use the Command key in place (labeled "cmd", "⌘" or "").
The DB-MAIN packages are located at: DB-Main web site [Download menu].
The principles of the DB-MAIN approach to DB engineering have been presented in various research papers and tutorials.
Some of them can be obtained, in PDF format, on the site of the Database Application Engineering Laboratory of the University of Namur.
REVER S.A. (www.rever.eu) |
|
Rue Godefroid, 5-7 |
Phone: +32 81 72 51 31 |
B-5000 Namur |
E-mail: dbm@rever.eu |
Belgium |
Website: www.db-main.eu |