Shared Objects
Shared Objects can be used in all components of a Fabric project. For example, Logical Units, References, Web Services or processes. 
Which Objects Can be Shared in a Fabric Project?
The following components can be shared in a Fabric project:
- Environments, where you can define the number of environments according to your needs and also switch between environments in the same Fabric project.
 
- Database Types, where you can define a new database type that has a JDBC driver that is not part of the Product package. In addition, you can also edit product-supported database types which are used when defining interfaces.
 
- Interfaces, a list of source connection details defined for the project.  
 
- Java files and resource files:
- SharedLogic.java, (default) containing all shared Functions from all categories, except for Product functions.
 
- SharedLogic.java, per category, containing all shared Functions for a defined physical category. Each SharedLogic.java file is positioned under the relevant Category folder.
 
- SharedGlobals.java, containing all shared Globals in a set of global parameters. 
Note that if a Global that is defined in both a Shared Object and a specific Logical Unit, the Global defined in the specific Logical Unit is used. Other Logical Units use the definitions in the Shared Object.
 
- Resources, various files that can be saved both as part of a project and also in version control.
 
 
- Translations, sets of translations which can be used for the transformation of data. A Translation defined at a Shared Objects level may be used in any LU included in the project. 
 
- Broadway, set of flows which can be used for the data movement, its transformation and orchestration. A Broadway flow defined at a Shared Objects level may be used in any LU included in the project. 
 
Notes 
- If a function, a translation or a Broadway flow is defined both under Shared Objects and under a Logical Unit with the same name and parameters, the Logical Unit function code has priority.
 
- Since Shared Objects are not self-deployed, changes to an item under a Shared Object used by several components require redeployment to become available.
 
Click for more information about Project Structure and Creating a New Project in Fabric.
