Download/Install

Download

The current version is 1.0.6 (Changelog) The download comes with full source, javadoc and compiled classes. You can also recompile all classes from scratch (there are no external dependencies).

Installing/Running

Molly can be used for standalone java programs or in a web-server/servlet environment. After downloading the molly package, you just have to make sure that either molly.jar or the compiled classes (unjar'ed) are in your classpath. There are several possibilites (unix examples shown):


For Standalone programs:
You can install molly in a location outside of your webserver.
    unix> export CLASSSPATH=$CLASSPATH:/path/to/molly.jar
    unix> java fc.jdbc.dbo.Generate
Alternately, you can specify the classpath to the java interpreter:
    unix> java -cp $CLASSPATH:/path/to/molly.jar java fc.jdbc.dbo.Generate

For Web Applications:
You can also install molly.jar directly in your web server's WEB-INF/lib directory. (See this for more details).

The webserver will automatically add this to it's java classpath. To run programs from the command line, you would say:

    unix> export  CLASSSPATH=$CLASSPATH:/my/website/WEB-INF/lib/molly.jar
    unix> java fc.io.HexOutputStream
Alternately, you can specify the classpath to the java interpreter:
    unix> java -cp CLASSSPATH=$CLASSPATH:/my/website/WEB-INF/lib/molly.jar java fc.io.HexOutputStream


Changelog

1.0.6
  1. Modified GzipFileServlet so the paths of included files are relative to the document root (as opposed to web app context as earlier). It is more intuitive for absolute paths to be relative to the document root.
  2. Added more methods to the Page interface and improved the javadocs for both Page and PageImpl.
  3. Added a new Table class.
1.0.5
  1. Fixed a major bug in the PageMgr page reloading algorithm. This bug caused the page class to be discarded and reloaded as if the page had been modified, even when it hadn't. This caused the static fields in the page to be reinitialized at every page access, instead of when the page source was modified.

    All molly page users should immediately upgrade to this release.

1.0.4
  1. Fixed a minor bug which caused the PageMgr to throw an exception when the webapp was restarted.
1.0.3
  1. The configuration file for the DBO Generator accepts both prefix and suffix * wildcards for table names to include. (previously, a wildcard could only be either a suffix or a prefix but not both).
1.0.2
  1. Page forwards can now contain expressions. (Earlier, only Page includes could contain expressions)
  2. Misc. javadoc clarifications.
1.0.1
  1. Added GzipFileServlet. This allows serving of compressed html/js; this speeds things up considerably when downloading javascript libraries
1.0
  1. Initial public release.