getResourceStream is being called multiple times for Resource subclasses used to create dynamic images and/or textual data. This can be extremely inefficient depending on the work required to generate the resource. In my case, it presents a more serious problem because data inserted in the overriden getResourceStream method is duplicated in the database.
The attached quickstart creates a dynamic image in getResourceStream. The method is called twice for a single request.