You can install Java classes in the Adaptive Server database, and then invoke the methods of those classes, both from within the SQL system and from client systems.
The methods of an object-oriented language correspond to the functions of a procedural language. You can invoke Java methods as UDFs in, for example, select lists and where clauses. You can use methods from other sources as well as methods you have created and tested.