1 Introduction
HOPEX provides APIs enabling access to the repository and handling actions on the repository.
The aim of this document is to provide information required to start with VB Script and Java APIs in HOPEX.
In HOPEX, to execute code using APIs, always use the macro concept. Macros can be written in VB script or Java. Depending on the implementation type to be added, you must choose the suitable programming language as follows:
• VB Script for simple implementations (few algorithmic code) and when implementing code close to the MetaModel (Command, Property Pages, calculated attributes, etc.).
The advantage of using VB Script is that you can access and easily read your code.
• Java for lengthy processing (including more algorithmic code) and requiring higher performance such as for exports, synchronizations, etc.
The disadvantage of using Java is that the code is directly stored in a jar library and not directly readable.
This document details these two access modes to APIs (VB Script and Java) and provides a toolkit to use in your implementation.
It is important that you bear in mind the recommendations included in this document regarding performance and confidentiality:
• MEGA applications are Web applications, execution time must be optimized to avoid any potential timeout of the application.
• Clients are increasingly demanding regarding security.
Be careful during migration and maintenance, sources must remain available.
|
Be aware that:
• Advanced customizations may require additional development to work properly after migrating to a HOPEX next major version.
• HOPEX Technical Support does not provide assistance with developing, maintaining or upgrading MEGA advanced customizations.
For information on:
• Java MEGA API documentation, see the JavaDoc documentation (html format) accessible from the online documentation (HOPEX Cuqtomization (Windows) > Using APIs > JavaDoc).
The JavaDoc documentation is provided in the HOPEX installation "java\doc" directory.
• Mega Operators – Method, from HOPEX menu bar select Help > APIs > Methods.