Difference between revisions of "Common:Using APIs"

From LongJump Support Wiki
imported>Aeric
imported>Aeric
 
Line 2: Line 2:
In general, the [[Java API]]s and [[REST API]]s provide equivalent functionality. But there are some differences, as well. So while the Java APIs are generally more convenient to use in a JSP page, you may also want to review the functionality listed in the [[REST API:REST API CheatSheet|REST API CheatSheet]].
In general, the [[Java API]]s and [[REST API]]s provide equivalent functionality. But there are some differences, as well. So while the Java APIs are generally more convenient to use in a JSP page, you may also want to review the functionality listed in the [[REST API:REST API CheatSheet|REST API CheatSheet]].


The following Java API classes are implicitly imported into pages:
The following Java API classes are implicitly imported into JSP [[Pages]]:
:* [[Support_Classes_and_Objects#Result_Class|Result]]
:* [[Support_Classes_and_Objects#Result_Class|Result]]
:* [[Support_Classes_and_Objects#Parameters_Class|Parameters]]
:* [[Support_Classes_and_Objects#Parameters_Class|Parameters]]

Latest revision as of 01:32, 18 February 2012

In general, the Java APIs and REST APIs provide equivalent functionality. But there are some differences, as well. So while the Java APIs are generally more convenient to use in a JSP page, you may also want to review the functionality listed in the REST API CheatSheet.

The following Java API classes are implicitly imported into JSP Pages:

Other considerations:

  • You cannot make a database connection. (Use the Java Record Handling APIs, instead.)
  • The maximum number of loop iterations, along with other restrictions, is determined by the configuration of the platform Governors.)