Java J2EE Interview Questions and Answers for Freshers - 1

Question: 1

What is Servlet container, distributed?

A servlet container that can run a Web application that is tagged as distributable and that executes multiple Java virtual machines running on the same host or on different hosts.

Question: 2

What is SOAP?

A light weight protocol intended for exchanging structured information in a decentralized, distributed environment.

It defines, using XML technologies, an extensible messaging framework containing a message construct that can be exchanged over a variety of underlying protocols.

Question: 3

What is SQL/J?

A set of standards that includes specifications for embedding SQL statements in methods in the Java programming language and specifications for called Java static methods as SQL stored procedures and user defined functions.

An SQL checker can detect errors in static SQL statements at program development time, rather than at execution time as with a JDBC driver.

Question: 4

What is message driven bean?

An enterprise bean that is an asynchronous message consumer.

A message driven bean has no state for a specific client, but its instance variables can contain state across the handling of client messages, including an open database connection and an object reference to an EJB object.

A client accesses a message driven bean by sending messages to the destination for which the bean is a message listener.

Question: 5

What is namespace?

A standard that lets you specify a unique label for the set of element names defined by a DTD.

A document using the DTD can be included in any other document without having a conflict between element names.

Related Questions