Sample Questions Best site for GRE, LSAT, SAT, GMAT, TOEFL, CCNA, CCSA and interview sample questions  

Technical Sample Questions : C |  C++ |  Oracle |  Java | Unix |  Operating Systems |  Data Structure

Java Sample Questions ›› J2EE Sample Questions

Technical Java Sample Questions : J2EE Sample Questions

  1. What is the web container?

    Answer: Servlet and JSP containers are collectively referred to as Web containers.It manages the execution of JSP page and servlet components for J2EE applications.Web components and their container run on the J2EE server.

  2. What is Enterprise JavaBeans (EJB) container?

    Answer: It manages the execution of enterprise beans for J2EE applications. Enterprise beans and their container run on the J2EE server.

  3. What is Applet container?

    Answer: IManages the execution of applets.Consists of a Web browser and Java Plugin running on the client together.

  4. How do we package J2EE components?

    Answer: J2EE components are packaged separately and bundled into a J2EE application for deployment.Each component, its related files such as GIF and HTML files or server-side utility classes, and a deployment descriptor are assembled into a module and added to the J2EE application.A J2EE application is composed of one or more enterprise bean,Web, or application client component modules.The final enterprise solution can use one J2EE application or be made up of two or more J2EE applications, depending on design requirements.A J2EE application and each of its modules has its own deployment descriptor.A deployment descriptor is an XML document with an.xml extension that describes a components deployment settings.

  5. What is a thin client?

    Answer: A thin client is a lightweight interface to the application that does not have such operations like query databases, execute complex business rules, or connect to legacy applications.

  6. What are types of J2EE clients?

    Answer: Following are the types of J2EE clients:

    • Applets
    • Application clients
    • Java Web Start-enabled rich clients, powered by Java Web Start technology.
    • Wireless clients, based on Mobile Information Device Profile (MIDP) technology.

  7. What is deployment descriptor?

    Answer: A deployment descriptor is an Extensible Markup Language (XML) text-based file with an.xml extension that describes a components deployment settings.A J2EE application and each of its modules has its own deployment descriptor.For example, an enterprise bean module deployment descriptor declares transaction attributes and security authorizations for an enterprise bean.Because deployment descriptor information is declarative, it can be changed without modifying the bean source code.At run time, the J2EE server reads the deployment descriptor and acts upon the component accordingly.

  8. What is the EAR file?

    Answer: An EAR file is a standard JAR file with an.ear extension, named from Enterprise ARchive file.A J2EE application with all of its modules is delivered in EAR file.

  9. What is JTA and JTS?

    Answer: JTA is the abbreviation for the Java Transaction API.JTS is the abbreviation for the Jave Transaction Service.JTA provides a standard interface and allows you to demarcate transactions in a manner that is independent of the transaction manager implementation.The J2EE SDK implements the transaction manager with JTS.But your code doesnt call the JTS methods directly.Instead, it invokes the JTA methods, which then call the lower-level JTS routines.Therefore, JTA is a high level transaction interface that your application uses to control transaction.and JTS is a low level transaction interface and ejb uses behind the scenes (client code doesnt directly interact with JTS.It is based on object transaction service(OTS) which is part of CORBA.

  10. What is JAXP?

    Answer: JAXP stands for Java API for XML.XML is a language for representing and describing text-based data which can be read and handled by any program or tool that uses XML APIs.It provides standard services to determine the type of an arbitrary piece of data, encapsulate access to it, discover the operations available on it, and create the appropriate JavaBeans component to perform those operations.

« Previous || Next »

J2EE Sample Question Number : 1-10| 11-20| 21-30| 31-40| 41-50| 51-60| 61-63
Sample Test Questions
GRE Sample Questions
CAT Sample Questions
GMAT Sample Questions
TOEFL Sample Questions
ACT Sample Questions
SAT Sample Questions
LSAT Sample Questions
PSAT Sample Questions
MCAT Sample Questions
PMP Sample Questions
GED Sample Questions
ECDL Sample Questions
DMV Sample Questions
CCNA Sample Questions
MCSE Sample Questions
Network+ Sample Questions
A+ Sample Questions
Technical Sample Questions
WASL Sample Questions
CISA Sample Questions

Other Sample Questions
Sample Interview Questions
Sample Teacher Interview Questions
Sample Citizenship Questions
Accuplacer Sample Questions
Science Bowl sample Questions
Driving Test Sample Questions
Sample Survey Questions Sample Essay Questions
Sample Behavioral Interview Questions

Copyright © 2004-2013, Best BSQ. All Rights Reserved.