| |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
|
Tutorial 1 - Generate a simple Java Class For the first tutorial, let's ignore BeanMaker's configuration and focus on using some simple tags and a template. 1.1 Prepare the Template package $package$; import java.io.*; /** * My first java class using BeanMaker * @author $author$ * @version $version$ */ public static $class$ { public static void main ( String[] args ) { System.out.println ("Hello World!"); } } 1.2 Set the Bean Properties
1.3 The Result package com.hello.applications; import java.io.*; /** * My first java class using BeanMaker * @author My Name * @version 1.0 */ public static HelloWorld { public static void main ( String[] args ) { System.out.println ("Hello World!"); } } You can find the examples under: |
||||||||||||||||||||||||||||||||||||||||||
Copyright ©2000-2006 CyLog Software www.cylog.org | |||||||||||||||||||||||||||||||||||||||||||