...
For Hibernate apps, the service calls the daos to get biz objects and performs whatever biz logic is necessary on them.
Spring Configuration
The service spring beans are configured in applicationContext.xml (not in action-servlet.xml).
For SAP apps, there is a default applicationContext that sets up the proper service properties needed to connect to SAP. (There are also some extra property settings for doing mock services; see the file).
The service interface allows you to swap out implementations in the spring config so you can use a mock service instead for testing, etc.
Message Handling
Automated RFC message handling is configured in WEB-INF/applicationContext.xml. The messageKeys property contains a list of field names that are to be treated as RFC message containers by class edu.mit.mortar.controller.action.SAPBaseAction. For example, if some RFCs return messages in a table named ET_FOO and other RFCs return messages in a structure named E_BAR, you would add these names to the messageKeys property. Note that some commonly used values are provided for convenience but may be removed if they are unused.
...