A Java Program Object (JPO) is just another type of Program object that contains code written in the Java language. Generally, anywhere a Program object can be used, a JPO can be used. For more information, see MQL Concepts: Java Program Objects. An external program consists of commands that are evaluated by the command line syntax of the machines from which they will be run. When creating external programs, remember that the commands that you enter will be evaluated at each user’s workstation as if they were being typed at the operating system’s command prompt. Be sure that the users have the appropriate application files available from their workstation. External program objects can also be defined as “piped,” providing a built-in MQL command line service to handle standard input and output. For more information, see Piped Clause for the Add Program Command. An MQL program can be run from any machine with the 3DEXPERIENCE Platform installed; it is not necessary for MQL to be available on the machine. If not specified, mql is the default.
Since MQL can be launched from a command line, MQL code could be specified in an external program. This would spawn a separate MQL session that would run in the background. In this case, MQL would have to be installed on every machine that will run the program.
A Java program has code written in the Java language. A Java program can be run anywhere a program object can be used.
|