Computer Knowledge

Java Enterprise and Web Technologies

2,279 Questions

Java enterprise and web technologies questions focus on J2EE architecture, web services like SOAP, and servlet functionalities. These topics frequently appear in IT officer and specialist scale examinations. Regular practice ensures familiarity with enterprise application components.

HttpServlet methodsSOAP and web servicesEJB architecture rolesJ2EE componentsJSP servlet callingUDDI concepts

Java Enterprise and Web Technologies Questions

Multiple choice active mq
  1. SSL

  2. clustering,SSL

  3. SSL,TCP

  4. Clustering,SSL,TCP,persistence

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

ActiveMQ provides enterprise messaging features including clustering for scalability, SSL for secure communication, TCP as a transport protocol, and persistence for message durability, making it suitable for production enterprise deployments.

Multiple choice active mq
  1. Enterprise Application Integration

  2. Middle ware

  3. Enterprise Service Bus

  4. Service Oriented architecture

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Apache ActiveMQ serves as the messaging backbone in Enterprise Service Bus (ESB) implementations like Apache ServiceMix and Apache Camel, enabling integration between different applications and services in a service-oriented architecture.

Multiple choice general knowledge science & technology
  1. J2SE is the core Java language and APIs. J2EE is a collection of specifications for web-enabled development.

  2. they two entirely diffrent technology, nothing in common

  3. J2SE cant b used in web applications

  4. they are same

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

J2SE (Java 2 Standard Edition) is the core Java platform containing the base language, fundamental APIs, and runtime environment. J2EE (Java 2 Enterprise Edition) builds upon J2SE, adding specifications for enterprise features like web services, EJB, servlets, and database connectivity. They are not entirely different technologies - J2EE depends on J2SE - and J2SE can be used in web applications, but lacks enterprise-specific features.

Multiple choice general knowledge science & technology
  1. SCA/SCP

  2. SCJA/SCJP

  3. SCJB/SCJP

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Sun Microsystems' Java certification hierarchy included SCJA (Sun Certified Java Associate) for entry-level knowledge and SCJP (Sun Certified Java Programmer) for core language proficiency before Java 7. Oracle acquired Sun in 2010 and rebranded these certifications to OCA (Oracle Certified Associate) and OCP (Oracle Certified Professional), but SCJA/SCJP were the original, widely-recognized names.

Multiple choice general knowledge
  1. Asynchronous java and XML

  2. Asynchronous java-script and XML

  3. Asymmetric java-script and XML

  4. Asymmetric java and XML

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

AJAX stands for Asynchronous JavaScript and XML, a technique for creating interactive web applications that update without reloading the page. While option B uses 'java-script' (should be 'JavaScript' as one word), it correctly identifies Asynchronous, the JavaScript component, and XML. Options A and D incorrectly use 'java' instead of JavaScript, and option C uses 'Asymmetric' which is wrong.

Multiple choice general knowledge science & technology
  1. BeansScript

  2. SunScript

  3. LiveScript

  4. ClassScript

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JavaScript was originally developed by Netscape under the name LiveScript in 1995. It was renamed to JavaScript shortly before release as a marketing move to capitalize on the popularity of Java. The name change caused ongoing confusion between the two unrelated languages.

Multiple choice general knowledge science & technology
  1. Repetitive state transition

  2. Representational state transfer

  3. Reclusive state transfer

  4. Repetitive stand transition

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

REST stands for Representational State Transfer. It's an architectural style for distributed systems that uses standard HTTP methods like GET, POST, PUT, DELETE. The key idea is that resources are represented and transferred between client and server in various formats (JSON, XML, HTML).

Multiple choice general knowledge
  1. J2EE Compatibility Test Suite

  2. J2EE Blueprints

  3. J2EE Specification

  4. J2EE reference implementation

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

J2EE Reference Implementation is the element that includes a fully functional J2EE server. J2EE Specification defines standards, Blueprints provide design patterns, and Compatibility Test Suite validates compliance - none include the actual server implementation.

Multiple choice general knowledge
  1. J2EE reference implementation

  2. Industry acceptance of C and C++

  3. Component reuse

  4. Interactive development environments

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JavaBeans introduced the concept of reusable software components in Java, allowing developers to create self-contained components that could be visually manipulated in builder tools. This was a foundational step toward component-based development in Java. The other options don't align with JavaBeans' historical significance.

Multiple choice general knowledge
  1. Browser tier

  2. J2EE server tier

  3. Communications tier

  4. server tier

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The J2EE application model is organized into tiers, with the J2EE server tier being the core where business logic and enterprise services execute. This tier hosts EJBs, servlets, and JSPs that process requests and manage application functionality.

Multiple choice general knowledge
  1. Applets

  2. HTML pages

  3. JSPs

  4. Server-side utility classes

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JSPs (JavaServer Pages) are officially considered web components by the J2EE specification, along with Servlets. Applets run on the client side, HTML pages are static content, and server-side utility classes are supporting code - none of these qualify as web components in the specification.

Multiple choice general knowledge
  1. Authorization management

  2. Business logic

  3. Presentation logic

  4. Thread management

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

J2EE containers provide authorization management as a core service, handling security and access control for components. Business and presentation logic are implemented by developers in their code, and thread management is handled by the container but isn't a primary service exposed to components.