There are 2 types of Java files in Fabric Studio, one is dedicated to the development of Java functions and the other for the creation of Globals variables. In Fabric Studio, the term Logic Category Files refers to a Java package that stores the Logic.java file. The Logic.java file contains all the Java functions defined under the Logic Category. While several Java files can reside in a category/package, only a single Logic file shall exist there. Although the functions are presented in the Project Tree as separate files, they are basically stored under a single file, called the Logic.java file, under the selected category.
Java files that reside on a shared level can be inherited by any project components, for example, Web Services, References or Logical Units, and can be shared throughout a project. It is highly recommended to avoid duplicating names of Shared Objects at lower levels of a project, for example, within a Logical Unit component. However, if there are duplicated object file names, the file that resides under the specific lower level component - gets a priority upon execution. A Java file, which resides on a Shared Objects level, has 2 out-of-the-box Java template files:
Designated Logic.java files are files assigned to their levels of definition; such levels can be either References, Web Services or Logical Units. The Globals.java file is automatically created under either the References or each Logical Unit.
When creating a new Java function, it must be associated to a category such as Built-in or Product. Each category has multiple sub-categories, like Date or Math, that hold the most common types of functions for that sub-category.
There are 2 types of Java files in Fabric Studio, one is dedicated to the development of Java functions and the other for the creation of Globals variables. In Fabric Studio, the term Logic Category Files refers to a Java package that stores the Logic.java file. The Logic.java file contains all the Java functions defined under the Logic Category. While several Java files can reside in a category/package, only a single Logic file shall exist there. Although the functions are presented in the Project Tree as separate files, they are basically stored under a single file, called the Logic.java file, under the selected category.
Java files that reside on a shared level can be inherited by any project components, for example, Web Services, References or Logical Units, and can be shared throughout a project. It is highly recommended to avoid duplicating names of Shared Objects at lower levels of a project, for example, within a Logical Unit component. However, if there are duplicated object file names, the file that resides under the specific lower level component - gets a priority upon execution. A Java file, which resides on a Shared Objects level, has 2 out-of-the-box Java template files:
Designated Logic.java files are files assigned to their levels of definition; such levels can be either References, Web Services or Logical Units. The Globals.java file is automatically created under either the References or each Logical Unit.
When creating a new Java function, it must be associated to a category such as Built-in or Product. Each category has multiple sub-categories, like Date or Math, that hold the most common types of functions for that sub-category.