The ActionClass overrides execute() method.
Then in body of execute() method:
Get Initial Context
Get home object using JNDI look up.
Create the bean and call the business methods.
The hierarchy of files depends upon Struts-config.xml that plays an important role in struts framework and it is used mainly to have an access to various Action classes using the Action-mapping element and then to forward it to appropriate jsp files. The struts tag libraries include Bean tag, Template tag, Tiles tag, Logic tag, and HTML tag libraries.
Struts framework follows the Model-View-Controller design pattern. Struts framework provides the centralised control to throughout the Web application. If the application is big like any banking application etc, then you should use Struts as it is very robust, makes the things simple, it also has lot of readily available security features.