January 6, 2012
Today I’m hit with the issue that Spring whines about the exception, “No Scope
registered for scope ‘request’,” when I try to run tests with request scoped
bean. Fortunately the fix is fairly easy.
Update Dec. 22, 2012:
has made it possible to use
WebApplicationContext as well as web-based scopes
available in unit tests. The fix documented here is no longer necessary if you
are on Spring 3.2.
July 16, 2011
Recently I have been trying to build the ability to send e-mails in a JSF project. Since Facelets is a great templating technology, I want to render the e-mails with Facelets. To my surprise, this isn’t an easy thing to do.
April 15, 2011
With the release of Processing.js v1.1, a very interesting feature was added —
support for Webkit touch events. At the moment, there doesn’t seem to be any
documentation on how these events can be used. (A ticket for this documentation
appears to exist.)
March 1, 2011
Recently I have been building a small chat room application, using
jQuery for Ajax and
RESTEasy for server-side RESTful services.
Because Java is used for the server side, and PHP is used to render the
Flash, Ajax imposes security restrictions for such remote invocations. Here, I’m
documenting the problems and solutions I have.
February 16, 2011
Recently I have been trying to install an LDAP server, using OpenLDAP.
Official documentation on RedHat
isn’t that straightforward. So, after spending some time both reading the
official documentation and goolging around, I’m documenting the steps I have
Update Aug. 11, 2011: OpenLdap on RedHat EL 6 uses a different config
format/structure. Instructions documented here does not apply.
December 11, 2010
Here are some commonly-used MP4Box commands.