action4Java is a lightweight, modular, extendible, and recursive Java component framework. It contains some standardized actions and a data container. These actions are called when a comment tag is found. The action is controlled by the attributes within. Actions can have any purpose. Templating is just an action by itself. The template controls loading of data and storing to a file by itself, and runs independently from a Java development environment. It includes simple examples demonstrating looping within a page or creating several pages based on the data of a simple Excel sheet, and more.