Software Reality
Programming with
a dose of satire.

Site Map Search


Agile Development
 
Extreme Programming
 
Code Generation


Articles
Lifecycle
Design
Programming
Soapbox
Reviews
Cthulhu

Java Swing
Swing's greatest threat isn't SWT, it's Flash
Swing Survival Guide


 
Check out our ageing Reviews Section


Use Case Driven
Use Case Driven Object Modeling with UML: Theory and Practice
Get from use cases to working, maintainable source code. Examples use Spring Framework, JUnit and Enterprise Architect

Agile UML
Agile Development with ICONIX Process
A practical subset of agile development techniques, illustrated by example

Get Controversial!
Extreme Programming Refactored
Extreme Programming with a dose of satire
Available now:



Programming

Code-Generating a Message Forum With JGenerator

<< Back to the article

Here's the BDL (Business Definition Language) file for the FpML project:

 

# ######################################################
# COPYRIGHT JAVELIN SOFTWARE 2000-2002, ALL RIGHTS RESERVED
#


#############################################################
# PROJECT PROPERTIES

source=fpml

$PACKAGE=com.javelin.fpml
$CONTEXTNAME=Fpml
$ROOT=C:/javelin/fpml/fpml30
$JBEANS=C:/javelin/core/src

default.pathName=$ROOT
classes.pathName=$ROOT/src

#Used for compilation
classPath=C:/java/j2sdkee1.4/lib/j2ee.jar;C:/forte4j/lib/ext/servlet.jar;$JBEANS;$ROOT/src

#Header
Copyright=<a href="http://www.javelinsoft.com">Copyright Javelinsoft Ltd, All rights reserved.</a>
Version=FpML 3.0 - 1.0
Author=Javelin Software

#verbose=true

#############################################################
# INCLUSIONS

#$INCLUDE=ISO4217.properties,ISO3166.properties,exchange-id-MIC-1-0.properties

#############################################################
# CONTEXT PROPERTIES

# Remove Comment to go to 2-tier
ContextProperties=$PACKAGE.jdbc.JdbcContextProperties

# NAME CHANGES ##########################################

Strategy.strategy.columnName=parentStrategy
Portfolio.portfolio.columnName=parentPortfolio

#############################################################
# VENDOR PROPERTIES

schemes.vendor=ms
schemes.userName=schemes
schemes.password=schemes

shared.vendor=ms
shared.userName=shared
shared.password=shared

#############################################################
# DTD PROPERTIES

#Map Entities from files to databases. This allows entities to be mapped to packages
dtd.entitypackage.0=dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-shared-3-0-2002-09-13.dtd=shared
dtd.entitypackage.1=dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-main-3-0-2002-09-13.dtd=shared
dtd.entitypackage.2=dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-ird-3-0-2002-09-13.dtd=ird
dtd.entitypackage.3=dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-fx-3-0-2002-09-13.dtd=fx
dtd.entitypackage.4=dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-eqd-3-0-2002-09-13.dtd=eqd

#############################################################
# READER / WRITER

# READERS ##############################

#2002-04-17
#2002-09-13

reader.0=$GENERATOR.Filter source=schemes
reader.1=$GENERATOR.xml.DTDSchemeReader dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-main-3-0-2002-09-13.dtd FpML
reader.2=$GENERATOR.properties.PropertiesReader

reader.3=$GENERATOR.Filter source=shared
reader.4=$GENERATOR.xml.DTDReader dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-main-3-0-2002-09-13.dtd FpML
reader.5=$GENERATOR.properties.PropertiesReader

reader.6=$GENERATOR.Filter source=fx
reader.7=$GENERATOR.xml.DTDReader dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-main-3-0-2002-09-13.dtd FpML
reader.8=$GENERATOR.properties.PropertiesReader

reader.9=$GENERATOR.Filter source=ird
reader.10=$GENERATOR.xml.DTDReader dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-main-3-0-2002-09-13.dtd FpML
reader.11=$GENERATOR.properties.PropertiesReader

reader.12=$GENERATOR.Filter source=eqd
reader.13=$GENERATOR.xml.DTDReader dtd-lcwd-fpml-3-0-2002-09-13/lcwd-fpml-dtd-main-3-0-2002-09-13.dtd FpML
reader.14=$GENERATOR.properties.PropertiesReader

# WRITERS ##############################

writer.0=$GENERATOR.Filter source=schemes
writer.1=$GENERATOR.AggregateWriter beans
writer.2=$GENERATOR.AggregateWriter jdbc

writer.3=$GENERATOR.Filter source=shared
writer.4=$GENERATOR.AggregateWriter beans
writer.5=$GENERATOR.AggregateWriter jdbc

writer.6=$GENERATOR.Filter source=fx
writer.7=$GENERATOR.AggregateWriter beans
writer.8=$GENERATOR.AggregateWriter jdbc

writer.9=$GENERATOR.Filter source=ird
writer.10=$GENERATOR.AggregateWriter beans
writer.11=$GENERATOR.AggregateWriter jdbc

writer.12=$GENERATOR.Filter source=eqd
writer.13=$GENERATOR.AggregateWriter beans
writer.14=$GENERATOR.AggregateWriter jdbc

writer.15=$GENERATOR.beans.ClassContextWriter schemes shared fx eqd ird
writer.16=$GENERATOR.jdbc.JdbcContextPropertiesWriter schemes shared fx eqd ird

writer.17=$GENERATOR.properties.SortedPropertiesWriter


# ELABORATE ##############################

#Remove Ambiguity with java.util.Currency
imports.0=$PACKAGE.schemes.Currency

readTable.0=Country
readColumn.Country.0=currencyKey INT NULL ASSOCIATES Currency
readColumn.Country.1=name VARCHAR(100) NULL

readTable.1=Currency
readColumn.Currency.0=minorUnit VARCHAR(20) NULL
readColumn.Currency.1=majorUnit VARCHAR(20) NULL
readColumn.Currency.2=symbol VARCHAR(5) NULL
readColumn.Currency.3=dominant BIT NULL


<< Back to the article

All trademarks and copyrights on this page are owned by their respective owners.
Stories and articles are owned by the original author.
All the rest Copyright © 1998-2008 Matt Stephens. ALL RIGHTS RESERVED.