JIMSoft

Contact: cutthisprefixordieifyouarespammer_biuro@jimsoft.pl

Introduction FAQ

1. What do we do?

Informatic projects and systems, mostly for telecommunication market.

2. Why does this page look like scrap?

We have no time for creating beautiful web pages. There are many more interesting things to do, i.e. programming.

3. What can I find here?

There is no reason not to share our knowledge and experience with other programmers. Here you can find many useful tools and parts of code you can freely use and redistribute.

Open Source projects:

JDAO

JDAO is free Java Database Objects generator. It was created for Oracle database, but it is very easy to support other db engines.
JDAO creates all necessary classes to provide easy access to database tables including selecting and searching records, update, delete and insert operations.

Advantages:

Architecture:

All four elements: Implementation, Metadata, PK Value Objects and Table Value Objects are generated atuomatically.
Thanks to base classes extended by generated classes, all generated code is quite small, easy to understand and simple.

JDAO customization:

Many settings are possible through properties file JDAO.properties. Here you can set:

# GENERATOR JDAO.GEN.PATH=./src/

# DATABASE
JDAO.JDBC.SID=sid
JDAO.JDBC.DRV=oracle.jdbc.driver.OracleDriver
JDAO.JDBC.URL=jdbc:oracle:thin:@hostname:1521:ora1
JDAO.JDBC.USR=master
JDAO.JDBC.PWD=master

# CODE
JDAO.GEN.PACKAGE=pl.jimsoft.jdao.generated
JDAO.GEN.VO=vo
JDAO.GEN.PK=pk
JDAO.GEN.METADATA=md
JDAO.GEN.IMPLEMENT=impl

JDAO.GEN.PATH points to path where generated classes should be created.
JDAO.GEN.PACKAGE is your generated classes base package.
JDAO.GEN.VO is package under your base package where value classes will be stored.
JDAO.GEN.PK is package under your base package where primary key classes will be stored.
JDAO.GEN.METADATA is package under your base package where metadata classes will be stored.
JDAO.GEN.IMPLEMENT is package under your base package where implementation classes will be stored.

JDAO.JDBC.* settings points to your database from from which you want to generate JDAO classes.

Running JDAO generator:

Simply launch main method in pl.jimsoft.jdao.generator.Generator.java class. All necessary classes will be automatically created.

Using JDAO generated classes:

Check pl.imsoft.jdao.test.Test.java class. All you really need is to create an instance of JDAO Value Object class, JDAO Primary Key class and JDAO Implementation class for specific table. Check all methods JDAO Implementation class provides.

DOWNLOAD JDAO