Overview of generating Java code (Java code)
ACS helps you develop your Java code by generating the Java code required to implement a Class Model defined in Modeler.
Using Modeler you can quickly define your system in an environment that allows you to view the structure as a whole. ACS can then generate Java code for the selected Model or Package. After generating the Java code, you use your Java development tools to further develop your system.
After you have set up ACS, it works in the background and you do not have to interact with it. ACS monitors a model and its generated code for changes:
When ACS detects a change made by you in the model that affects the code, ACS can automatically generate the relevant code files.
When ACS detects a change to the code associated with an Operation body, ACS can automatically reverse engineer the changed text to the model.
ACS is provided with the following Code Generator DLLs for generating Java code:
Java Generator Production
Java Generator Animation
* 
You can customize a supplied ACS Code Generator DLL through its associated TDK model
As with modeling other code in Modeler, you model Java code using the Class Modeling facilities in Modeler; however, to model Java specific information, you use the Stereotypes and Tag Definitions of the Java Profile package. Tell me more...
For information about generating Java code for systems that can work with ThingWorx Mashups and systems that can communicate using the ThingWorx AlwaysOn protocol, see Overview of integration for ThingWorx.
ACS generates Java code for the following Modeler objects:
Packages
Classes
Data Types
Interfaces
Attributes
Operations
Parameters
Associations and Roles
Dependencies
Generalizations
State Diagrams and their items
If you are learning to use Modeler and ACS, you may find the Modeler tutorials useful. For information about downloading and opening the Windchill Modeler tutorials, see Windchill Modeler tutorials
The Examples database includes the Heart Monitor Java model, which demonstrates how to model a Java application in Modeler. The Read Me text diagram in the Heart Monitor Java model provides instructions for generating and building the provided Heart Monitor application using the Eclipse Java development environment. For information about working with the Hear Monitor Java simulation, see Overview of the heart monitor Java simulation
To use ACS with Java code, you require an ACS license, a Modeler license and an ACS Language Pack for Java license. If you want to customize the generation of Java code, you additionally require an ACS Transformation Development Kit license.
For generic information about using ACS, including deciding on a strategy for reverse engineering reversible properties, see the Automatic Code Synchronizer (ACS) section of the Modeler Help, or see Overview of ACS.
For information about customizing ACS Code Generator DLLs through TDK, click here Overview of TDK (link works only if TDK is installed).
Was this helpful?