org.melati.app
Class PoemApp
java.lang.Object
org.melati.app.AbstractConfigApp
org.melati.app.AbstractPoemApp
org.melati.app.PoemApp
- All Implemented Interfaces:
- App
public class PoemApp
- extends AbstractPoemApp
An example of how to access a POEM database from the command line.
Invoke:
java -cp melati.jar;site\properties;lib\hsqldb.jar
org.melati.app.PoemApp poemtest
(Note: if you have configured a WebmacroServletTemplateEngine then you will
need webmacro.jar and servlet.jar in your classpath).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoemApp
public PoemApp()
doPoemRequest
protected void doPoemRequest(Melati melati)
throws Exception
- The main method to override.
- Specified by:
doPoemRequest
in class AbstractPoemApp
- Parameters:
melati
- A Melati
with arguments and properties set
- Throws:
Exception
- if anything goes wrong- See Also:
AbstractPoemApp.doPoemRequest(org.melati.Melati)
main
public static void main(String[] args)
throws Exception
- The main entry point.
- Parameters:
args
- in format db table troid method
- Throws:
Exception
Copyright © 2000-2010 PanEris. All Rights Reserved.