Consume a R8 Web Service

In R8 they gave us a way to consume a web service WDSL from within a Library.I have seen how to do this in LotusScript and how to use said LotusScript library in applications.

However, I have not seen how to use a Java Library in an application.

Yes I know how to consume the web service in a Java Library but what code do I use to call it in a Java Agent