CHAPTER 11 Writing Your Own Java

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).

Your Java Build Environment

Java source code files are plain text files organized in directories according ...

Get PeopleSoft PeopleTools Tips & Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.