Java J2EE Interview Questions and Answers for Experienced - 4

Question: 16

What is Web server?

Software that provides services to access the Internet, an intranet, or an extranet. A Web server hosts Websites, provides support for HTTP and other protocols and executes server side programs that perform certain functions.

In the J2EE architecture, Web server provides services to a Web container. For example, a Web container typically relies on a Web server to provide HTTP message handling.

The J2EE architecture assumes that a Web container is hosted by a Web server from the same vendor, so it does not specify the contract between these two entities. A Web server can host one or more Web containers.

Question: 17

What do Enterprise JavaBeans components contain?

Enterprise JavaBeans components contains Business code, which is logic that solves or meets the needs of a particular business domain such as banking retail, or finance is handled by enterprise beans running in the business tier.

All the business code is contained inside an Enterprise Bean which receives data from client programs, processes it, and sends it to the enterprise information system tier for storage.

An enterprise bean also receives data from storage, processes it and sends it back to the client program.

Question: 18

What is XLL?

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

Question: 19

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.

Question: 20

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.

Related Questions