I've now been able to build and deploy the examples from my talks at No Fluff Just Stuff. The version number is still 0.0.1 and probably will be for some time. You can obtain a pre-compiled WAR, or a source distribution (with out without the PowerPoint slides) from http://howardlewisship.com/repository/com/howardlewisship/nfjs-tapestry/0.0.1/.
Good stuff!
ReplyDeleteI'm curious though - what's the idea /philosophy behind making f.ex. PasswordEncoder a Hivemind service, when all of it's methods might as well be public static, since no state is involved? Should all traditionally utility methods be made into services?
A HiveMind service is more than just the code you provide, through interceptors you can extend its behavior without writing more code. For example, to add logging, or transaction management.
ReplyDeleteThis is a very simple example.
For testing purposes, it is easier to mock the PasswordEncoder (and be able to have the mock encode passwords as "encoded" rather than a big long hex string).