The previous two chapters showed you how to call Java from PeopleCode. This chapter demonstrates the converse by showing how to call PeopleCode from Java.
As you’ve seen, some Java features are difficult to use in PeopleCode. For example, Java’s downcasting and overloaded methods are problematic when called from PeopleCode. On the other hand, some tasks, like data access, are easier to accomplish in PeopleCode than in Java.
In this chapter, you’ll learn how to create PeopleCode helper methods, as well as how to effectively use the PeopleSoft database connection from Java (eliminating the need for JDBC).
Java source code files are plain text files organized in directories according ...