i have this senario and i want know if that is possible. i want to apply some aspect-oriented concept.
i want to have something like, say two classes. one extract some piece of data from xml file and use JSP to display the data.
another class/aspect that log the same data from the xml to a text file( for simplicity, but it could be a database).
so i want the logging to be the crosscutting concerns.i.e as i read the xml and display the data,the logging also happens.
how can i go about this problem?
any good links on these?