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 ...
-
need pattern replication tool (1 messages)
- Posted by: Mike Skorik
- Posted on: February 09 2004 10:50 EST
Threaded Messages (1)
- need pattern replication tool by David Rabinowitz on February 09 2004 12:14 EST
-
need pattern replication tool[ Go to top ]
- Posted by: David Rabinowitz
- Posted on: February 09 2004 12:14 EST
- in response to Mike Skorik
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