What is TCP/IP?
What are the different content types?
What is a servlet?
Servlet is a technology used to create web applications; it is used to respond to incoming requests.
What is the Lifecycle of a Servlet?
App Server vs Web Server
What is XML?
Stands for extensible markup language
It defines set of rules for encoding documents in a format that is both human-readable and machine readable
What is Well-Formed XML?
- Refers to an XML document that satisfies certain rules
specified by the W3C
- documents with correct syntax
- A Well-Formed XML requires that:
- Content be defined
- Content be delimited with beginning and end tag
- Content be properly nested
- There can be only one root tagElement vs Attribute
Elements can be viewed as containers that stores text, elements, etc…
Attributes defines the property of an element
What is DTD?
What is an XML Schema?
- Provides a more powerful alternative to DTD
What is XSL?
What is XSLT?
What is XPath?
What is JAXB?
- It is used to convert Java Object to XML and XML to Java Objects
What are the different types of XML parsing?
What is Marshalling?
The process of transforming the memory representation of an object to a data format suitable for storage or transmission.
What is a Front Controller?
A design pattern that represents a single controller that handles all incoming requests.
What is a Dispatcher?
What is MVC?
What is the deployment descriptor?
A deployment descriptor describes how a component should be deployed.
What are the important tags you need to include in the web.xml?
What is the HttpServlet class? What methods does it provide?
- It is a class that extends from the GenericServlet class
and provides Http specific methods
- Provided methods:
- doGet
- doPost
- doPut
- doDelete
- serviceWhat is the flow of client-to-server using a servlet?
The client sends requests through HTTP over TCP/IP to the HTTP server. The servlet will receive the HTTP requests and return a response back to the client.
What is a RequestDispatcher?