CREATE Versus CreateInstance: Know the Difference

As the title of this chapter indicates, we are discussing how to invoke logic in EAServer using intercomponent development methods. Figures 10.4 and 10.5 show two different methods for gaining access to logic in an NVO—one uses the CreateInstance function and the other uses a CREATE statement. Let's examine these two methods of instantiation more closely.

Figure 10.4. Calling CREATE will create an object in the same thread.

Figure 10.5. Calling CreateInstance will create a component in a new thread.

Traditionally we have relied on the CREATE statement when developing PowerBuilder applications. ...

Get PowerBuilder® 9: Internet and Distributed Application Development 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.