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 .net asp
  1. Allows you to include server executed code into any ASP application.

  2. Allows you to use one file in several different web pages.

  3. Allows you to use a piece of code more than once.

  4. All of the above

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

Server-Side Includes (SSI) enables all three capabilities: including server-executed code in ASP applications, reusing a single file across multiple web pages, and reusing code snippets multiple times. SSI promotes code modularity and maintainability by allowing developers to include common elements like headers, footers, or navigation bars across many pages from a single source file.

Multiple choice .net asp
  1. Implement application and session level events

  2. Declare Global variables

  3. No use

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

Global.asax is the ASP.NET application file that handles application-level and session-level events. It contains event handlers like Application_Start, Application_End, Session_Start, and Session_End, allowing developers to respond to key application lifecycle events.

Multiple choice .net asp
  1. Session Objects

  2. Application Objects

  3. Viewstate

  4. All of the above

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

ASP.NET supports multiple state management techniques across different scopes. Session objects store user-specific data, Application objects store application-wide data shared across all users, and ViewState maintains page-level state across postbacks.

Multiple choice .net asp
  1. InProcess

  2. StateServer

  3. Session Object

  4. al of the above

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

By default, ASP.NET stores session data in the InProcess mode, which keeps session data in the memory of the ASP.NET worker process. StateServer and SQL Server are alternative storage modes that need to be explicitly configured in web.config for web farm scenarios or when persistence across process restarts is needed.

Multiple choice computer
  1. The largest software developer owned by native Americans.

  2. A leading developer of Java applications.

  3. A website that holds auctions for concert tickets.

  4. The most popular web server application.

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

Apache HTTP Server has been the world's most widely used web server software since 1996. It is open-source software that serves web content over HTTP and powers a majority of websites globally.

Multiple choice database
  1. A CachedRowSet class

  2. A JavaSource class

  3. A WebRowSet class

  4. A JDBCRowSet class

  5. Either AC&D

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

In the Java JDBC API, CachedRowSet, WebRowSet, and JDBCRowSet are all valid implementations of the RowSet interface. Since options A, C, and D are valid rowset classes, the choice 'Either AC&D' (likely a typo for A, C, and D) is the intended answer.

Multiple choice html
  1. ASP

  2. PHP

  3. Perl CGI

  4. JSP

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

To determine the most widely used email form script, we need to consider the popularity and usage of different programming languages for web development.

Now, let's go through each option and evaluate its suitability for creating email form scripts:

A. ASP (Active Server Pages): ASP is a server-side scripting language developed by Microsoft. While it is capable of handling email form scripts, it is not the most widely used option compared to other languages.

B. PHP (Hypertext Preprocessor): PHP is a popular server-side scripting language that is widely used for web development. It has built-in functions and libraries for handling email form scripts, making it a common choice for developers. PHP is known for its ease of use, flexibility, and extensive community support. Therefore, option B is the most likely correct answer.

C. Perl CGI (Common Gateway Interface): Perl CGI is a scripting language often used for web development. While it is capable of handling email form scripts, it is not as widely used as PHP.

D. JSP (JavaServer Pages): JSP is a technology used for developing web applications using Java. Although JSP can handle email form scripts, it is not as commonly used as PHP in web development.

Based on the popularity and usage of different programming languages for web development, the most widely used email form script is PHP (option B).

The Answer is: B. PHP

Multiple choice iis-server
  1. ISAPI

  2. CGI

  3. ASP

  4. ASP.NET

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

Application pools in IIS 6 isolate worker processes for stability and security, but they do NOT apply to CGI applications. CGI runs in a separate process space outside the application pool architecture. ISAPI extensions, ASP, and ASP.NET applications all run within application pools and benefit from their isolation and recycling features.

Multiple choice mcse
  1. WebClient Service

  2. IIS Admin Service

  3. Application Layer Gateway Service

  4. World Wide Web Publishing Service

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

In Windows Server 2003, the HTTP SSL service (which handles SSL/TLS encryption for web traffic) must be running for the World Wide Web Publishing Service to function properly with HTTPS. SSL provides secure encrypted communications, which is essential for secure web publishing.

Multiple choice web-design
  1. CGI

  2. Server Script

  3. Server side processor

  4. Servlet

  5. Java Server Script

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

A servlet is a Java program that runs on a server-side web server, analogous to how applets run on the client side in browsers. Servlets handle client requests and generate responses. The other options don't describe server-side Java applets - CGI is a general interface, 'Server Script' and 'Java Server Script' are not standard terms for this concept.

Multiple choice xml
  1. UDDI

  2. WSDL

  3. SOAP

  4. Path

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

WSDL (Web Services Description Language) is an XML-based interface definition language that describes the functionality offered by a web service, including the operations available, message formats, and protocol details. UDDI is a registry service, SOAP is a message protocol, and 'Path' is not a relevant XML service technology.

Multiple choice java core java
  1. 1.java

  2. 2.javaw

  3. 3.javapath

  4. 4.javadoc

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

javapath is not a standard Java tool. java (executes programs), javaw (windowless java), and javadoc (generates documentation) are all valid JDK command-line tools. javapath does not exist in the standard Java toolkit.