I have an app in the following fashion of layers

JSF PageCode--->*Delegate--->*EJB--->*ServiceImpl---->DAO----><Actual oracle database>

I wish to collect time data for the calls that pass thrugh these layers and be able to display the top level calls (I.e Page code calls) at the Glassbox client. Additionally; the JConsole must be able to display the hierarchy calls as per this custom layer


Could u please help me show how we can write monitors for this