Download jFin and install the distribution.
Then take a look at the examples and their source:
Details on building jFin from source and integrating with your own systems and common recipes will be coming soon.