Menu

[r3190]: / trunk / ch.sahits.codegen.help / html / gettingstarted / desc_javacodegen.html  Maximize  Restore  History

Download this file

44 lines (42 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Description Java Code Generation</title>
</head>
<body>
<h1>Description Java Code Generation</h1>
<p>This project aims to provide a plug-in (ch.sahits.codegen.java)
for Java code generation (Wizard). It is highly flexible concerning the
the in and output. This is achieved by a highly configurable
architecture with templates. A simple scenario is to generate a Bean
class for some database table.<br />
The process breaks down into two parts:<br />
</p>
<ol>
<li>Analysing the input: The form of the input can
virtually be anything, e.g. the physical database table or the create
script for the table. This input is parsed and stored in a XML file.
Some input methods are supplied by the plug-in, others are for custom
extensions. Based on the kind of further processing the generated XML
file or the underlining datamodel or its representation as an object
will be used.</li>
<li>Code generation: There are several ways to go
about:
<ol>
<li>Generating the java-class with a JET
transformation based on the input XML generated above.</li>
<li>Generate an abstract syntax tree based on a
reference implementation with the input model combined.</li>
</ol>
</li>
</ol>
<p>The plug-in stands under the <a
href="http://www.eclipse.org/legal/epl-v10.html">Eclipse Public
License - v 1.0</a>.</p>
<p>For this application to work you will
need to run your Eclipse with at least JVM 1.5 and Eclipse 3.2.</p>
<p>The project page can be found at <a
href="http://sahits.ch/project/javacodegen/">http://sahits.ch/project/javacodegen/</a>. </p>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.