Most asked top Interview Questions and Answers & Online Test
Education platform for interview prep, online tests, tutorials, and live practice

Build skills with focused learning paths, mock tests, and interview-ready content.

WithoutBook brings subject-wise interview questions, online practice tests, tutorials, and comparison guides into one responsive learning workspace.

Prepare Interview

JAXB Interview Questions and Answers

Question: Discuss Global Bindings attributes.
Answer: • collectionType
– ā€œindexedā€ (uses array and provides methods to get/set elements) or fully-qualified-java-class-name(must implement java.util.List)
– default is ā€œjava.util.ArrayListā€
• enableFailFastCheck
– ā€œtrueā€ or ā€œfalseā€ (default)
– if true, invalid property values are reported as soon as they are set, instead of waiting until validation is requested
– not implemented yet in RI
• generateIsSetMethod
– ā€œtrueā€ or ā€œfalseā€ (default)
– if true, generates isSet and unSet methods for the property
• underscoreBinding
– ā€œasCharInWordā€ or ā€œasWordSeparatorā€ (default)
– if ā€œasWordSeparatorā€ , underscores in XML names are removed and words are camel-cased to form Java name
– for example, ā€œgear_shift_knobā€ goes to ā€œgearShiftKnobā€
• bindingStyle (was modelGroupAsClass)
– ā€œmodelGroupBindingā€ or ā€œelementBindingā€ (default)
• choiceContentProperty
– ā€œtrueā€ or ā€œfalseā€ (default)
– allows objects to hold one of a number of property choices which may each have a different data type
• enableJavaNamingConventions
– ā€œtrueā€ (default) or ā€œfalseā€
• fixedAttributeAsConstantProperty
– ā€œtrueā€ or ā€œfalseā€ (default)
– if true, ā€œfixedā€ attributes will be represented as constants
• typesafeEnumBase
– ā€œxsd:stringā€ , ā€œxsd:decimalā€ , ā€œxsd:floatā€ , ā€œxsd:doubleā€ or ā€œxsd:NCNameā€ (default)
– defines field type used to represent enumerated values in generated typesafe enum class
• typesafeEnumMemberName
– ā€œgenerateNameā€ or ā€œgenerateErrorā€ (default)
– specifies what to do if an enumerated value cannot be mapped to a valid Java identifier
– ā€œgenerateNameā€ generates names in the form VALUE_#
– ā€œgenerateErrorā€ reports an error

Save For Revision

Bookmark this item, mark it difficult, or place it in a revision set.

Open My Learning Library
Is it helpful? Yes No

Most helpful rated by users:

Copyright Ā© 2026, WithoutBook.