Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Guidewire Best Practices Exam study guide

Rating
-
Sold
-
Pages
22
Grade
A+
Uploaded on
28-10-2024
Written in
2024/2025

Guidewire Best Practices Exam study guide Avoid using internal path for your classes ** Answ** wire.* should be avoided. These can always be potentially changed or replaced during an upgrade. When referencing typecodes, use the static property on the typelist class instead of the string representation ** Answ** Use TC_TYPECODE instead of "typecode", example: LossCause.TC_REAREND instead of "rearend" Use the text for logical operators instead of the symbols ** Answ** Use "and","or", and "not" instead of "&&", "||", and "!"

Show more Read less
Institution
Course

Content preview

Guidewire Best Practices Exam study guide
Avoid using internal path for your classes ** Answ** com.guidewire.* should be avoided.
These can always be potentially changed or replaced during an upgrade.


When referencing typecodes, use the static property on the typelist class instead of the string
representation ** Answ** Use TC_TYPECODE instead of "typecode", example:
LossCause.TC_REAREND instead of "rearend"


Use the text for logical operators instead of the symbols ** Answ** Use "and","or", and
"not" instead of "&&", "||", and "!"


Code placement ** Answ** 1) Avoid placing code within the CODE tab of a PCF. Create a
UI helper class instead


2) Avoid extending entity enhancements with code supporting UI operations


Avoid using deprecated classes and methods ** Answ** Guidewire will eventually remove
deprecated classes and methods.


Turn on and run Studio Inspections ** Answ** These analyze configuration resources


Use whitespace effectively ** Answ** Add spaces around operators
Do not add spaces between parentheses and operators
Indent logical blocks of code by two spaces only
Add a blank line after code blocks
Add two blank lines after methods, including the last method in a class


Comments and Annotations ** Answ** Document new classes and functions with Javadoc-
style comments

,Use single-line comments within functions and methods when you need to clarify the intent of
the code
Use GoseDoc annotations which are included when generating GosuDoc


"Upgrade-Safe" naming conventions: Add the suffix _Ext to ** Answ** Columns added to
existing entities
Typecodes added to existing typelists
The name of custom entities
The name of custom typelists
New PCF files
Script parameters


Package naming conventions ** Answ** Use the format
customer.application.featurecategory.feature
Customer - company name abbreviation
Application- InsuranceSuite application code (pc, bc, cc, suite)
Feature Category - major feature (delinquency, configuration, integration)
Feature - feature (rating, catastrophe, authentication)
Example: si.suite.integration.authentication


Class naming conventions ** Answ** Use UpperCamelCase
Do not add _Ext to classes within customer package spaces


Function naming conventions ** Answ** Use lowerCamelCase
Use a verb that describes that the function is doing i.e. verifyAddress
Do not add _Ext suffix to private functions or enhancements in customer package spaces


Variable naming conventions ** Answ** Member variable names use lowerCamelCase with
a leading underscore i.e. _pluginCallbackHandler
Local variable names use lowerCamelCase short names that describe the purpose i.e.
latestPolicyRevision

, Display key naming conventions ** Answ** Add suffix _Ext too all new display keys
Do not modify automatically generated display keys


Logging is ** Answ** The process of recording application actions and state to a secondary
interface


Logging is used for ** Answ** Application maintenance and troubleshooting
Creating statistics relating to application usage
Auditing by capturing significant events


Typical events to log are ** Answ** Success / Failure - a transaction or action has succeeded
or failed
Recovery - a system went down or connection failed, retried, and recovered
Identification - any large functional areas such as integration, rating, reinsurance, and rules


Logging components - Logger ** Answ** has a category and level, sends content to an
Appender


Logging components - Appender ** Answ** is an output destination (server console or
rolling file)


Logging components - Layout ** Answ** defines the format of the content sent to an
appender


Logging Level - Trace ** Answ** Description: Fine-grained informational events
When to use: Log method entry and exit


Logging Level - Debug ** Answ** Description: Detailed informational events
When to use: Log important steps and calculations for diagnosing problems

Written for

Course

Document information

Uploaded on
October 28, 2024
Number of pages
22
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$9.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
smartchoices Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
36
Member since
5 year
Number of followers
5
Documents
4499
Last sold
2 weeks ago

4.8

9 reviews

5
7
4
2
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions