You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Call Java Program from PeopleCode

1 reply [Last post]
Guest's picture
Guest

I am just wondering how can we call java program from PeopleCode?
Does PeopleCode Classes allow to create java objects?

CompShack's picture
User offline. Last seen 6 years 1 week ago. Offline
Joined: 12/09/2007
Posts: 167
Re: Call Java Program from PeopleCode

Using the PeopleCode Java functions, you can access Java classes, or create instances of Java objects. Use the CreateJavaObject function to create a Java object that can be manipulated in PeopleCode and use the GetJavaClass function to access a Java class so that you can manipulate it in PeopleCode.

Please. refer to PeopleBooks PeopleCode Language Reference (Built-in Functions section). There are quite a few examples to get you started.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog