JavaBeat

  • Home
  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)
  • Privacy

Deployment Descriptor in Different Servlet Versions

November 26, 2013 by Krishna Srinivasan Leave a Comment

Servlet specifications evolved over the period of time. There is lot of improvements has been added to the web deployment descriptor as part of the new versions. It is important for the Java developers to understand the new elements in the web.xml and utilize the added features. In this tutorial I will summarize the sample snippet […]

Filed Under: Java EE Tagged With: Servlets, web.xml

Asynchronous Servlet – A new feature in Servlet 3.0 and Java EE 6

October 6, 2013 by Mohamed Sanaulla Leave a Comment

When Java EE 6 was announced with a new servlet specification i.e Servlet 3.0 – Asynchronous servlet was a very important feature added to the new specification. Suppose your servlet does a long running task like making a JDBC call or invoking a web service, such operations generally take up a lot of CPU time […]

Filed Under: Java EE Tagged With: Servlet 3.0, Servlets

What is load on startup element in web.xml file

February 21, 2013 by Krishna Srinivasan Leave a Comment

specify the order in which we want to initialize various Servlets. Like first initialize Servlet1 then Servlet2 and so on. This is accomplished by specifying a numeric value for the  <load-on-startup> tag. <load-on-startup> tag specifies that the servlet should be loaded automatically when the web application is started. The value is a single positive integer, […]

Filed Under: Java EE Tagged With: JSP, Servlets

ServletContextListener Example

February 26, 2009 by Krishna Srinivasan Leave a Comment

This tips explains the how to use ServletContextListener. There will be only one ServletContext for each web application. ServletContext will be created while deploying the application. Once the ServletContext is created, it will be used by all the servlets and jsp files in the same application. ServletContext is also called as the application scope variables […]

Filed Under: Java EE Tagged With: Servlets

load-on-startup element in web.xml

February 17, 2009 by Krishna Srinivasan Leave a Comment

This tips explains the few points on how to use the load-on-startup element on the web.xml file. Whenever is starting, it is possible to tell the container to load a servlet on the startup. You can load any number of servlets on the startup. Normally this is done for any initialization purpose. Look into the […]

Filed Under: Java EE Tagged With: Servlets

New Features in Servlets 2.5

January 6, 2009 by Krishna Srinivasan Leave a Comment

1.Introduction This article presents new features introduced in the Servlet 2.5. Servlet 2.5 is bundled with Java EE 5.0 edition and it has lot of new features. This version has major changes since it has to support the Java 5.0 version for all the J2EE technologies. One of the notable changes will be supporting Generics […]

Filed Under: Java EE Tagged With: Servlets, Servlets 2.5

New Features in Servlets 3.0

December 23, 2008 by Krishna Srinivasan Leave a Comment

Introduction This article covers most of the important features available as part of Servlet 3.0 specification. Note that the Servlet 3.0 specification constantly keeps changing frequently with the reviews coming in and the features and the API’s mentioned in this article is based on the specification that is available in JCP for public review as […]

Filed Under: Java EE Tagged With: Servlets, Servlets 3.0

Servlet 3.0

October 2, 2008 by Krishna Srinivasan Leave a Comment

Can’t wait to see Servlet 3.0 in action. More details about the specification and the current status is available in its JSR homepage. The introduction of support for non-blocking I/O takes Java Servlets to a new level and this, in my opinion,is the most significant stride in Servlet specification since it was introduced. The benefits […]

Filed Under: Java EE Tagged With: Servlets

How to delete a cookie on server in a J2EE application

September 25, 2008 by Krishna Srinivasan Leave a Comment

There is no direct method offered by servlet API to delete a cookie on server side. This is how you can go about doing it. also read: Java EE Tutorials Servlets Interview Questions New Features in Servlets 3.0 Asynchronous Servlets in Servlets 3 Loop through the cookies in the request object to locate the one […]

Filed Under: Java EE Tagged With: Servlets

Servlet Life Cycle

August 1, 2008 by Krishna Srinivasan Leave a Comment

Before start writing the servlet, it is important to know the life cylce of every servlet instance created. Read What is Servlet? tips to know about the servlet basics. also read: Java EE Tutorials Servlets Interview Questions New Features in Servlets 3.0 Asynchronous Servlets in Servlets 3 Servlet Life Cycle Methods The following are the […]

Filed Under: Java EE Tagged With: Servlets

  • 1
  • 2
  • Next Page »

Follow Us

  • Facebook
  • Pinterest
JavaBeat

FEATURED TUTORIALS

Servlet Life Cycle: Explanation

Servlet Life Cycle: Explanation

What is new in Java 6.0 Collections API?

The Java 6.0 Compiler API

The Java 6.0 Compiler API

Copyright © by JavaBeat · All rights reserved

This website uses cookies to ensure you get the best experience on our website. Learn more.