The Servlet Technology Model

  • The getWriter() method of the ServletResponse interface returns a PrintWriter object suitable for writing character data in the response.
  • The setValue() method of the Cookie class is used to assign a new value to a cookie after the cookie is created.
  • A cookie is created by the server on request from a client. It is stored on a client computer.
  • The getOutputStream() method returns a ServletOutputStream suitable for writing binary data in the response.
  • The getWriter() method of the ServletResponse interface returns a PrintWriter object suitable for writing character data in the response.
  • The sendError() method of the HttpResponse interface sends an error response to the client using the specified status code and message.
  • The getRequestURL() method of the HttpServletRequest interface returns the URL associated with the request as a String.
  • The getCookies() method of the HttpServletRequest interface returns an array of cookie objects that a client sends with a request. However, if no cookies are sent, this method returns a null value.
  • A servlet has three life cycle methods. They are init(), service(), and destroy().
  • A servlet has no main() method. The container is responsible for managing the life-cycle of a servlet.
  • The servlet init parameters are read only once when the container initializes the servlet.
  • Before calling the init() method, a servlet class must be loaded and instantiated.
  • The element of the deployment descriptor declares the initialization parameters that are applicable for an entire Web application.
  • For each request, the Container creates a separate thread.
  • The init() and destroy() methods are called only once in the life of a servlet.

Pass SCWCD Certification Java 1.4 /J2EE in a first attempt:
The pre-requisite for this certification is the SCJP certification exam.

Continue reading

Fundamental Object-Oriented Concepts

  • In Java, a narrowing conversion is also known as an explicit type conversion or casting.
  • A byte can represent values between -128 to 127.
  • An array, in Java, is an ordered collection of primitives, object references, or other arrays. All the elements of an array must be of the same type, except in case of polymorphism.
  • Array elements are initialized to default values, wherever they are created.
  • The increment operator can be used in either of the two forms given below:
    1. Prefix form: In the prefix form, it appears before the operand. For example, ++a;
    2. Postfix form: In the postfix form, it appears after the operand. For example, a ++;
  • Numeric promotions are used to convert the operands in a numeric expression to a common type before an operation is performed between the operands.
  • In Java, there are two kinds of numeric promotions as follows:
    1. Unary numeric promotion
    2. Binary numeric promotion
  • Pass SCJA Certification Java 1.2 in a first attempt:

    Continue reading

    Earning a Microsoft certification acknowledges your expertise in working with Microsoft products and technologies and sets you apart from the crowd as a development professional. Microsoft certification demonstrates that you have the ability to successfully implement Microsoft business solutions for your organization or client.

    This article will provide a basic understanding of the scope of the certification and will also give details about the certification along with the useful resources to get started.

    Introduction

    With .NET, Microsoft is also espousing a vision, this time about how the Internet can make businesses more efficient and deliver services to consumers. The present enterprise setup’s need to have n-tier architecture with diverse platforms and object models communicating with each other. The present applications are to be created such that those applications have to run in any platform (like Windows, Linux, Mac, Unix etc.) and which consist of components written in many programming languages and object models.

    The framework’s Base Class Library provides a large range of features including user interface, data and data access, database connectivity, cryptography, web application development, numeric algorithms, and network communications. The class library is used by programmers, who combine it with their own code to produce applications. Many language vendors have tried to upgrade their languages, but there is a frontier to which they have been victorious since they have to maintain backward competence and face many additional problems too. To resolve the problem of the existing programmers Microsoft has come with a very promising solution “The .NET Platform”.

    .NET provides a number of benefits that will make developers further productive, trim down the number of bugs, alacrity application development, and simplify deployment. IT managers are understandably cautious, since .NET is a new technology that requires a moderately sharp learning curve. For most organizations, however, the benefits will far overshadow the negatives; and with .NET, you’ll see great productivity gains for future development projects.

    Pass MCTS: Microsoft Visual Studio 2008 in a first attempt:

    Continue reading

    Q. What is the LPI 117-202 exam?
    A. The Linux Professional Institute Certification (LPIC) is a certification in the field of Linux. Each LPIC level requires successful completion of two exams for certification. The LPI certification program is designed to certify the competency of system administration using the Linux operating system and its associated tools. It is designed to be distribution neutral, following the Linux Standard Base and other relevant standards and conventions. The LPI 117-202 certification is the first of two Advance-level system administrator certification exams offered by the Linux Professional Institute (LPI). The LPI 117-202 exam is designed to test the knowledge of an examinee on implementing and maintaining Web services, performing file sharing, network client management, etc.

    Q. What are the prerequisites for the LPI 117-202 exam?
    A. To pass LPI 117-202, you first should have to pass LPI 117-201.
    Q. What credit does the LPI 117-202 exam provide?
    A. LPI 117-202 exam provides the Advance Level Linux Professional Certification.

    It is required to pass the following certification exams:

    Q. What certificate does it provide?
    A. It provides Advance Level Linux Professional (LPIC-2).

    Q. How many questions are asked in the test?
    A. In the LPI 202 exam, 55 questions are asked.
    Continue reading

    Q. What is the LPI 117-102 exam?
    A. The Linux Professional Institute Certification (LPIC) is a certification in the field of Linux. Each LPIC level requires successful completion of two exams for certification. The LPI certification program is designed to certify the competency of system administration using the Linux operating system and its associated tools. It is designed to be distribution neutral, following the Linux Standard Base and other relevant standards and conventions. The LPI 117-102 certification is the first of two junior-level system administrator certification exams offered by the Linux Professional Institute (LPI). The LPI 117-102 test measures your ability to manage shells, scripting and data, set user interfaces and desktops in the Linux operating system. It also tests your knowledge on the Linux administration, networking fundamentals, and basic network security.

    Q. What are the prerequisites for the LPI 117-102 exam?
    A. To pass LPI 117-102, you first should have to pass LPI 117-101.
    Continue reading

    Creating a WPF application

    uCertify (June 29, 2009) Are you having sleepless nights because your exams are just around the corner and you did not have much time to prepare for it? Or are you looking for the right study material for your last minute preparations? If the answer is “yes”, uCertify can help you pass your exams through its successful and highly acclaimed PrepKits.

    As America celebrates its 233rd Independence Day on July, 4, 2009, uCertify is proud to announce a flat discount of 15% on its entire range of PrepKits, beginning from July 1, 2009 to July 10, 2009. Use Discount code “JULY15” in the shopping cart to avail the discount.

    uCertify offers a free demo for each of its PrepKits, and you can check out the interface, question quality and usability of any PrepKit before deciding to buy it. To download a PrepKit, click the link below:
    https://www.ucertify.com/download.html

    Continue reading

    Q. What are the prerequisites for the 9A0-094 exam?

    A.There are no prerequisites for the 9A0-094 exam.

    Q. What credit does the 9A0-094 exam provide?

    A. On successful completion of the exam, you will be an Adobe Certified Expert (ACE), Adobe Photoshop CS4.

    Q. Which certification does it covers?

    A. After passing the 9A0-094 exam, you will earn credit towards the Adobe Certified Instructor (ACI), ACE Print Specialist, ACE Web Specialist, ACE Video Specialist, and ACE Master certifications.
    Continue reading

    List the capabilities of SQL SELECT statements

    Continue reading

    Posted in OCA.

    uCertify (June 23, 2009) Becoming certified not only helps raise your confidence level, but also enhances your resume, thereby increasing the likelihood of getting a promotion or even a salary increment. What’s more, if you are still looking for that elusive job, chances are that your prospective employer might just hire you! uCertify can help you achieve all this through its practice exam for the 9A0-094 – Adobe Photoshop CS4 certification.

    uCertify, a trustworthy solution provider for IT certification exams, has recently launched its PrepKit for the 9A0-094 Adobe Photoshop CS4 Certification exam on June 18, 2009. Customers can pre-order this PrepKit until July 10th, 2009 for only US$ 49.98 and save 50% over the normal price of US$ 99.99. You can check out the interface, question quality, and usability of the Adobe Photoshop CS4 certification practice test before deciding to buy it. To obtain a brief overview of this certification PrepKit, click the link below:

    https://www.ucertify.com/exams/Adobe/9A0-094.html
    Continue reading