need pattern replication tool

Discussions

EJB design: need pattern replication tool

  1. need pattern replication tool (1 messages)

    Hello all,

    Does anybody know any tool for pattern replication?

    Suppose I have own composite pattern comprised of CMP EJB, VO and VO Factory (aka Service Locator) and I need to reproduce it 20 times - this will result in about 100-120 java files. Theese tuples will differ mainly by the set of fields and entity name. Too tedious work for doing by hand ...
  2. need pattern replication tool[ Go to top ]

    There was some article in Javaworld about storing the fields in database, extracting an XML who represent a single entity and then using XSL to transform it to Java files. Other chance it was in onjava.com.

    Even if you can't find it, you can use this idea to implement something of your own...

    David