Articles for Sun Certified Web Component Developer for the Java 2 Platform, Enterprise Edition 1.4 CX310-081
Authentication
Authentication is the process of verifying the identity of a user. This is usually done using a user name and a password. This process compares the provided user name and password with those stored in the database of an authentication server.
There are four types of authentication as follows:......
continue reading "Authentication" »
Differentiate between pageContext.include and jsp:include?
The <jsp:include> standard action and the pageContext.include() method are both used to include resources at runtime. However, the pageContext.include() method always flushes the output of the current page before including the other components, whereas <jsp:include> flushes the output......
continue reading "Differentiate between pageContext.include and jsp:include?" »
Everything you want to know about the CX310-081 exam
Q. What are the prerequisites for the SCWCD 1.4 exam?
A. Before taking the SCWCD 1.4 exam, you must first pass the Sun Certified Java Programmer exam (CX310-025 or CX310-035 or CX310-055 or CX310-065).
Q. How should I prepare for the exam?
A. To prepare for the exam, you......
continue reading "Everything you want to know about the CX310-081 exam" »
How can an existing session be invalidated?
An existing session can be invalidated in the following two ways: Setting timeout in the deployment descriptor : This can be done by specifying timeout between the <session-timeout> tags as follows:
<session-config>......
continue reading "How can an existing session be invalidated?" »
How can context attributes be made thread safe?
Context attributes are not thread safe, since multiple servlets and hence multiple threads in a Web-app can access these attributes. To make a context attribute thread safe, it is necessary to apply a lock on the context. This is done by synchronizing the ServletContext, so that when a thread......
continue reading "How can context attributes be made thread safe?" »
How can session variables be made thread-safe?
Session variables are not thread-safe. This is because there can be multiple requests from a client using more than one browser. These variables can be made thread-safe by synchronizing them, i.e., by acquiring a lock on the part of code that accesses these variables....
continue reading "How can session variables be made thread-safe?" »
How is a filter configured in the deployment descriptor?
A filter is configured in the deployment descriptor as follows:
<filter>
<filter-name>Filter1</filter-name>
<display-name>filter1</display-name>
......
continue reading "How is a filter configured in the deployment descriptor?" »
How is an El initialization parameter configured in the deployment descriptor?
An El initialization parameter initParam is configured in the deployment descriptor as follows:
<context-param>
<param-name>parameterName</param-name>
<param-value>parameterValue</param-value>
</context-param>......
continue reading "How is an El initialization parameter configured in the deployment descriptor?" »
How is scripting disabled?
Scripting is disabled by setting the scripting-invalid element of the deployment descriptor to true. It is a subelement of jsp-property-group. Its valid values are true and false. The syntax for disabling scripting is as follows:
<jsp-property-group>......
continue reading "How is scripting disabled?" »
How is the expression language disabled?
By default, the expression language is enabled. It can be disabled using the deployment descriptor web.xml file as follows:
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>......
continue reading "How is the expression language disabled?" »
In Stock (
US$ 79.99 49.99
)
Download and try this PrepKit for free. As soon you place the order, we will send you the registration code. Use it to unlock the PrepKit and start learning. Its that easy!

CX310-081 PrepKit at a Glance
| Includes | Free | Buy |
|---|---|---|
| Version | 8.03.05 | |
| Practice Tests | 1 | 5 |
| 30 | 372 | |
| Quiz | 15 | 150 |
| Final Test | No | Yes |
| Articles, How Tos.., Tips | Yes | Yes |
| Study Notes | 10 | 203 |
Tips and How Tos for CX310-081 exam
