Once you have installed the agent onto the web app server, and connected it up to the portal, you can then do a recording targeting java. You choose java, then choose the agent that was installed...then you choose the package/classes that you want to record. Be careful to only select the classes you want to avoid noise.
The recorder will make an image of all the dao traffic you may desire and then can be played back and managed in the VSI. Java virtualization, like JDBC works via the agent and requires no endpoint changes like soap, rest.
Once deployed/active, the agent will intercept all web app layer traffic and respond with the virtual image.