O'Reilly logo

Getting Started with Oracle WebLogic Server 12c: Developer's Guide by William Markito Oliveira, Fabio Mazanatti Nunes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning a few Servlet tricks

The Java Servlet API has been around for quite some time now—more than 10 years—and is the base for technologies such as JavaServer Pages, the one we just discussed. WebLogic Server 12c comes with Java Servlet 3.0, defined by JSR 315, which brings some new features, such as:

  • Annotations support, which helps in easing the task of configuring components
  • Dynamic component registration
  • Asynchronous request processing

Deprecated features

Up to Version 11g, WebLogic Server provides proprietary annotations to ease the development of servlets—instead of declaring them in the web.xml configuration file, you could use the @WLServlet, @WLFilter, and @WLInitParam decorations to set the attributes of servlets and filters. These annotations ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required