Java J2EE Interview Questions and Answers for Experienced - 5

Question: 21

What is mutual authentication?

An authentication mechanism employed by two parties for the purpose of proving each other’s identity to one another.

Question: 22

What is virtual host?

Multiple hosts plus domain names mapped to a single IP address.

Question: 23

Explain DOM and SAX Parser?

DOM parser is one which makes the entire XML passed as a tree Structure and will have it in memory.

Any modification can be done to the XML.

SAX parser is one which triggers predefined events when the parser encounters the tags in XML, Event driven parser.

Entire XML will not be stored in memory. Bit faster than DOM. No modifications can be done to the XML.

Question: 24

What is SSL?

Secure Socket Layer. A security protocol that provides privacy over the Internet. The protocol allows client server applications to communicate in a way that cannot be eavesdropped upon or tempered with. Servers are always authenticated, and clients are optionally authenticated.

Question: 25

What is SGML?

Standard Generalized Markup Language. The parent of both HTML and XML. Although shares SGML’s propensity for embedding presentation information in the markup, XML is a standard that allows information content to be totally separated from the mechanisms for rendering that content.

Related Questions