Web / Apache Axiom Interview questions
What are the two implementation types provided by Axiom (LLOM and DOM)?
Axiom ships two concrete implementations of the same OM interfaces: LLOM (linked-list object model, in the axiom-impl module) and a DOM-compatible implementation (in axiom-dom).
LLOM is the default, lightweight tree structure most applications use day to day - it's simply a linked-list of nodes optimized for Axiom's deferred-building model with minimal overhead.
The DOM implementation builds the same logical tree but additionally implements the standard org.w3c.dom interfaces, so the resulting objects can be handed directly to any library that expects a real DOM Node or Document - an XSLT transformer, for instance - without a separate conversion step.
Both share Axiom's underlying deferred-building and StAX-based parsing model; the DOM variant simply adds a compatibility layer, at a small extra cost, on top of the same core.
More Related questions...