you need to get some portal knowledge to understand which method will be called, no need to debug, i think.
Debugging Java EE Applications - Developing Java EE 5 Applications - SAP Library
1. very similar
2. print log in default trace
3 portal framework handle that, i think
4.yes