GW INSURANCE SUITE 2025
FUNDAMENTALS 10.0
ANSWER ALL QUESTIONS IN THIS SECTION
QUESTION 1
What does a code generator do? - ANSWERS-A code generator processes a GW
resource defined in XML format (such as PCF file, entity, etc) and produces a
Gosu or Java class.
QUESTION 2
Name at least one difference between incremental and bulk code generation. -
ANSWERS--incremental code generator can process a single file, while bulk
processes a set of files
-incremental is not supported for every resource type
-incremental can be start on save or during project make while bulk can be started
on the CodeGen menu or during project rebuild.
QUESTION 3
What is a breakpoint? - ANSWERS-indicates a place where you want to suspend
execution of Gosu or Java code.
END OF
PAGE 1
, GW INSURANCE SUITE 2025
FUNDAMENTALS 10.0
QUESTION 4
What is a PCF method? How can you debug a PCF method? - ANSWERS-It is a
plain old Gosu function that is local in a PCF file and executes logic tied to that
file. You can open the <PCFFileName>Expressions.gs file, find the function and
click on the gutter area at the desired line to set a breakpoint.
QUESTION 5
What is the difference between an ETX file and an ETI file? - ANSWERS-ETI file
defines a new custom entity from scratch.
ETX file extends a base app entity (ex/ adding new columns)
QUESTION 6
Does the base app have ETI files? Can developers create new ETI files? Where
and how? - ANSWERS-Yes, ETI files are in the base app. Developers can create
new ETI files in the \extensions\entity\folder using GW Studio and the Entity
Editor.
END OF
PAGE 2
, GW INSURANCE SUITE 2025
FUNDAMENTALS 10.0
QUESTION 7
If the ABLawyer entity has an array of Cases, what type of field is required on the
Case entity? - ANSWERS-The Case entity requires a foreign key field in the ETI
definition that specifies the fkentity attribute as the ABLawyer entity.
QUESTION 8
To deploy data model changes, are you required to
a) Regenerate the Data Dictionary?
b) Restart the app server?
c) Restart Studio? - ANSWERS-a) No, not required. Regenerating the data
dictionary will identify any errors in the data model. If successful, the process will
add new and modified entities to the data dictionary.
b) Yes, you must restart the app server to deploy the new and modified entities.
The process creates new database tables and/or upgrades the database.
c) No, studio is immediately aware of the data model changes. It is not necessary to
restart GW Studio.
END OF
PAGE 3
FUNDAMENTALS 10.0
ANSWER ALL QUESTIONS IN THIS SECTION
QUESTION 1
What does a code generator do? - ANSWERS-A code generator processes a GW
resource defined in XML format (such as PCF file, entity, etc) and produces a
Gosu or Java class.
QUESTION 2
Name at least one difference between incremental and bulk code generation. -
ANSWERS--incremental code generator can process a single file, while bulk
processes a set of files
-incremental is not supported for every resource type
-incremental can be start on save or during project make while bulk can be started
on the CodeGen menu or during project rebuild.
QUESTION 3
What is a breakpoint? - ANSWERS-indicates a place where you want to suspend
execution of Gosu or Java code.
END OF
PAGE 1
, GW INSURANCE SUITE 2025
FUNDAMENTALS 10.0
QUESTION 4
What is a PCF method? How can you debug a PCF method? - ANSWERS-It is a
plain old Gosu function that is local in a PCF file and executes logic tied to that
file. You can open the <PCFFileName>Expressions.gs file, find the function and
click on the gutter area at the desired line to set a breakpoint.
QUESTION 5
What is the difference between an ETX file and an ETI file? - ANSWERS-ETI file
defines a new custom entity from scratch.
ETX file extends a base app entity (ex/ adding new columns)
QUESTION 6
Does the base app have ETI files? Can developers create new ETI files? Where
and how? - ANSWERS-Yes, ETI files are in the base app. Developers can create
new ETI files in the \extensions\entity\folder using GW Studio and the Entity
Editor.
END OF
PAGE 2
, GW INSURANCE SUITE 2025
FUNDAMENTALS 10.0
QUESTION 7
If the ABLawyer entity has an array of Cases, what type of field is required on the
Case entity? - ANSWERS-The Case entity requires a foreign key field in the ETI
definition that specifies the fkentity attribute as the ABLawyer entity.
QUESTION 8
To deploy data model changes, are you required to
a) Regenerate the Data Dictionary?
b) Restart the app server?
c) Restart Studio? - ANSWERS-a) No, not required. Regenerating the data
dictionary will identify any errors in the data model. If successful, the process will
add new and modified entities to the data dictionary.
b) Yes, you must restart the app server to deploy the new and modified entities.
The process creates new database tables and/or upgrades the database.
c) No, studio is immediately aware of the data model changes. It is not necessary to
restart GW Studio.
END OF
PAGE 3