jrun.ejb
Class EntityGenerator

java.lang.Object
  |
  +--jrun.ejb.EntityGenerator

public class EntityGenerator
extends java.lang.Object

This class code gens the entity bean implementation for any EJB CMP 2.0 abstract entity beans. It might be replaced later with on the fly byte code generation, but this works for now and has some added benefits like being able to be stepped through in a debugger and writing Java is always easier than byte code. It will most likely make CMP 2.0 entity bean deployment slower, though.

Author:
Paul Reilly

Constructor Summary
EntityGenerator()
           
 
Method Summary
static java.io.File generate(EntityMetaData entityMetaData, java.io.File directory, java.lang.String packageName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityGenerator

public EntityGenerator()
Method Detail

generate

public static java.io.File generate(EntityMetaData entityMetaData,
                                    java.io.File directory,
                                    java.lang.String packageName)
                             throws DeploymentException,
                                    java.io.IOException


Copyright � 2002 Macromedia Corporation. All Rights Reserved.