Difference between revisions of "Common:Using APIs"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
m (Text replace - '__NOINDEX__' to '<noinclude>__NOINDEX__</noinclude>')
 
Line 1: Line 1:
__NOINDEX__
<noinclude>__NOINDEX__</noinclude>
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]].



Latest revision as of 00:14, 12 December 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.)