JodaTime setCurrentMillisSystem()
When programs have logic based on the current time, it's important to be able to programmatically set the current time for testing purposes. Other not so great options we have…
When programs have logic based on the current time, it's important to be able to programmatically set the current time for testing purposes. Other not so great options we have…
Here's how to accept java.util.Date parameters in your Spring MVC Controller. This has been tested on Spring 3.1. 1. In your Spring MVC Controller, add a request parameter with a…
Creating the Openfire Patch This is how to patch Openfire to add cipher suite support. 1. Download the Openfire source distribution from http://www.igniterealtime.org/downloads/source.jsp. 2. Edit the class org.jivesoftware.openfire.nio.NIOConnection. 3. Look…