HOME      PRODUCTS      CUSTOMERS      BUY      CORPORATE     SUPPORT

PRODUCT BENEFITS     DOCUMENT LIBRARY     FIRESTORM/DAO DOWNLOAD      PRESS RELEASES

CodeFutures

 

FireStorm/DAO™ Architect Edition Technical Specifications

FireStorm/DAO™ Architect Edition builds on the power of the Enterprise Edition by allowing custom code generation modules to be built to meet any bespoke requirements. The Architect Edition also ships with full source code for the code generators from the Enterprise Edition.

FireStorm/DAO™ Architect Edition is priced at $3,495 per developer and can be purchased from the online store.

A more general product description of FireStorm/DAO™ Architect Edition is available here.

Architect Edition Features

  • Contains all functionality from Enterprise Edition
  • Provides API allowing custom code generation modules to be developed
  • FireStorm API provides access to FireStorm project file meta-data
  • Contains full source code for code generation modules

Custom Code Generation

FireStorm/DAO™ Architect Edition allows custom code generation modules to be developed and integrated into the FireStorm/DAO™ product.

The FireStorm/DAO™ SDK provides two interfaces that must be implemented by user-defined code generation providers. These are the Provider and ProviderOptions interfaces.

Once the user-defined provider class has been developed it can be integrated with FireStorm/DAO™ by simply adding the class name to the firestorm-conf.xml file as in the following example:

<codegen-providers>
  <provider>com.mycompany.codegen.MyProvider</provider>
</codegen-providers>

This code generation provider will now be available within the "Generate" menu in the FireStorm/DAO™ user interface and will also be available to the Ant code generation task.

The following syntax can be used to invoke a user-defined code generation provider using Ant:

<codegen
  home="${firestorm.home}"
  src="${firestorm.home}/projects/myproject.xml"
  provider="myprovider"
  output="generated-code"
/>

Example of Code Generation Template

/*
* Copyright 2005 Code Futures Software, Ltd. All rights reserved.
*
* This is vendor code. Use is subject to license terms.
*
* Author: Andy Grove
* Date: 21-Aug-2004
* Time: 08:57:11
*
* Visit / for more information.
*/

package com.codefutures.firestorm.codegen.dao;

import com.codefutures.jingo.source.dom.JClass;
import com.codefutures.jingo.source.dom.JAttribute;
import com.codefutures.jingo.source.factory.SourceFactory;
import com.codefutures.firestorm.project.dom.TableDao;
import com.codefutures.firestorm.project.dom.TableDaoColumn;
import com.codefutures.firestorm.project.dom.PrimaryKey;
import com.codefutures.firestorm.api.CommonOptions;

public class GenTablePk
{
    public static JClass generate(
    TableDao dao,
    CommonOptions config
    )
    {
        JClass c = SourceFactory.createClass(
        config.getDtoPackageName(),
        dao.getJavaName()
        + DaoConst.PK_SUFFIX
        );

        c.setJavaDoc(
            "This class represents the primary key of the "
            + dao.getSqlName()
            + " table."
        );

        c.addImport( "java.io.Serializable" );
        c.addImplements( "Serializable");

        PrimaryKey pk = dao.getPrimaryKey();

        if (pk != null)
        {
            TableDaoColumn col[] = dao.getPrimaryKeyColumnList();
            for (int i = 0; i col.length; i++)
            {
                JAttribute attr = c.createAttribute(
                col[i].getJavaType(),
                col[i].getJavaName()
                );

                c.createAccessorMethods( attr );
            }

            c.createConstructor( c.getAttributeList() );
        }

        DaoCodeGenHelper.createToStringMethod(
            c,
            dao.getPrimaryKeyColumnList()
        );

        return c;
    }

}




 

Products:

FireStorm/DAO

FireStorm/SDO

FireStorm/DAO:

Product Overview

Product Benefits

Technical Feature List

Technical Architecture

DAO Background

Technical Tutorial

FireStorm/DAO FAQs

Evaluation Download

Weblogs:

Corporate Weblog

Press Releases

Buy FireStorm/DAO Developer Support:

Support Pricing

Online Payment

Authorized Distributors

Purchase Orders

Educational Program

Product Delivery

Newsletter:

Newsletter Subscription


Customer Testimonial

"Before we discovered FireStorm/DAO, we were reluctant to write DAO code ourselves as it required a lot of time and effort. Now we can concentrate on the real business logic and application requirements."
Kobus Steenekamp, Senior Java Developer, Discovery Health





   
 
  FireStorm/DAO is a code generator for Java persistence that generates Data Access Objects based on Java DAO, JDBC DAO, Hibernate Java Persistence, JPA Persistence, and Spring DAO.

 

Copyright © 2003-2008 CodeFutures Corporation. All rights reserved.

APPLICATION DEVELOPMENT PRODUCTIVITY™
 
Data Persistence | Data Access Object
Site Map | Java Persistence | Legal
Data Transfer Object | Hibernate DAO

FireStorm/DAO™, FireStorm/SDO™, and CodeFutures™ are trade marks of Code Futures Software Ltd.