JustAnswer.com

Friday, November 9, 2007

J2EE Interview questions and answers

331. What is XSL

Extensible Stylesheet Language. A standard that lets
you do the following: Specify an addressing mechanism,
so that you can identify the parts of an XML document
that a transformation applies to (XPath). Specify tag
conversions, so that you can convert XML data into
different formats (XSLT). Specify display
characteristics, such page sizes, margins, and font
heights and widths, as well as the flow objects on
each page. Information fills in one area of a page and
then automatically flows to the next object when that
area fills up. That allows you to wrap text around
pictures, for example, or to continue a newsletter
article on a different page (XSL-FO).

332. What is XSL-FO

A subcomponent of XSL used for describing font sizes,
page layouts, and how information flows from one page
to another.

333. What is XSLT

XSL Transformations. An XML document that controls the
transformation of an XML document into another XML
document or HTML. The target document often has
presentation-related tags dictating how it will be
rendered by a browser or other presentation mechanism.
XSLT was formerly a part of XSL, which also included a
tag language of style flow objects.

334. What is XSLTC

A compiling version of XSLT.

335. What is binary entity

A general entity that contains something other than
XML. By its nature, an unparsed entity contains binary
data.

336. What is component (JavaServer Faces technology)

A user interface control that outputs data to a client
or allows a user to input data to a JavaServer Faces
application.

J2EE Interview questions and answers

321. What is well-formed

An XML document that is syntactically correct. It does
not have any angle brackets that are not part of tags,
all tags have an ending tag or are themselves
self-ending, and all tags are fully nested. Knowing
that a document is well formed makes it possible to
process it. However, a well-formed document may not be
valid. To determine that, you need a validating parser
and a DTD.

322. What is Xalan

An interpreting version of XSLT.



323. What is XHTML

An XML look-alike for HTML defined by one of several
XHTML DTDs. To use XHTML for everything would of
course defeat the purpose of XML, because the idea of
XML is to identify information content, and not just
to tell how to display it. You can reference it in a
DTD, which allows you to say, for example, that the
text in an element can contain < em > and < b > tags
rather than being limited to plain text.

324. What is XLink

The part of the XLL specification that is concerned
with specifying links between documents.

325. What is XLL

The XML Link Language specification, consisting of
XLink and XPointer.



326. What is XML

Extensible Markup Language. A markup language that
allows you to define the tags (markup) needed to
identify the content, data, and text in XML documents.
It differs from HTML, the markup language most often
used to present information on the Internet. HTML has
fixed tags that deal mainly with style or
presentation. An XML document must undergo a
transformation into a language with style tags under
the control of a style sheet before it can be
presented by a browser or other presentation
mechanism. Two types of style sheets used with XML are
CSS and XSL. Typically, XML is transformed into HTML
for presentation. Although tags can be defined as
needed in the generation of an XML document, a
document type definition (DTD) can be used to define
the elements allowed in a particular type of document.
A document can be compared by using the rules in the
DTD to determine its validity and to locate particular
elements in the document. A Web services application's
J2EE deployment descriptors are expressed in XML with
schemas defining allowed elements. Programs for
processing XML documents use SAX or DOM APIs.

327. What is XML registry

An infrastructure that enables the building,
deployment, and discovery of Web services. It is a
neutral third party that facilitates dynamic and
loosely coupled business-to-business (B2B)
interactions.



328. What is XML Schema

The W3C specification for defining the structure,
content, and semantics of XML documents.

329. What is XPath

An addressing mechanism for identifying the parts of
an XML document.

330. What is XPointer

The part of the XLL specification that is concerned
with identifying sections of documents so that they
can be referenced in links or included in other
documents.