Ch 01: Object Oriented Paradigm
Core OOP principles: states, behaviors, abstraction, generalization, specialization, inheritance, and encapsulation.
Comprehensive academic curriculum covering distributed enterprise computing and web service engineering using Java. Midterm curriculum (Lectures 1–18 / Chapters 1–10) focuses on XML syntax, DTD validation, XML Schema (XSD), XML DOM tree manipulation, XMLHttpRequest AJAX calls, Java XML processing (JAXP, SAX, DOM, JDOM), and JAXB marshalling/un-marshalling. Finalterm curriculum (Lectures 19–45 / Chapters 11–19) focuses on Java Servlet lifecycles, Apache Tomcat deployment (web.xml), session tracking (Cookies, HttpSession, URL Rewriting), JDBC database integration, Service-Oriented Architecture (SOA), SOAP envelopes, WSDL contracts, and building RESTful web services in Eclipse.
Select any chapter below to practice questions or explore syllabus topics.
Core OOP principles: states, behaviors, abstraction, generalization, specialization, inheritance, and encapsulation.
Java Virtual Machine (JVM), bytecode compilation, primitive data types, control flow statements, and class structure.
Standard java.lang package, String, StringBuilder, StringBuffer, wrapper classes, exception hierarchies, and package imports.
Collection interface hierarchy: List (ArrayList, LinkedList), Set (HashSet, TreeSet), Map (HashMap, TreeMap), and Iterators.
Extensible Markup Language (XML) syntax, elements, attributes, well-formedness rules, XML declarations, and namespaces.
Internal and external DTDs, ELEMENT declarations, #PCDATA, CDATA, occurrence indicators (?, *, +), and ATTRIBUTE declarations.
W3C XML Schema, simple types vs complex types, data types (string, integer, date), minOccurs, maxOccurs, and facets.
Document Object Model (DOM) tree hierarchy, Document, Node, Element, NodeList interfaces, and traversing XML nodes.
JAXP architecture, DocumentBuilderFactory, SAXParserFactory, event-driven SAX parsing (DefaultHandler), and DOM vs SAX trade-offs.
Java Architecture for XML Binding (JAXB), Marshaller (Java to XML), Unmarshaller (XML to Java), and JAXB annotations (@XmlRootElement).
Web servers vs Application servers, Apache Tomcat container, Servlet interface, GenericServlet, HttpServlet, and web.xml deployment descriptors.
Servlet lifecycle methods (init, service, destroy), doGet vs doPost methods, RequestDispatcher forward() vs include(), and sendRedirect().
ServletConfig (servlet-specific init parameters) vs ServletContext (application-wide context parameters), attribute sharing, and web listeners.
Four session tracking techniques: Cookies, Hidden Form Fields, URL Rewriting, and the HttpSession API (JSESSIONID).
JDBC architecture, four JDBC driver types (Type 1 to Type 4 Native Protocol), DriverManager, Connection, Statement, and ResultSet.
PreparedStatement, parameterized queries, preventing SQL Injection attacks, CallableStatement (stored procedures), and transaction commit/rollback.
Web service definition, XML-RPC, SOAP, WSDL, and RESTful architectures. HTTP methods (GET, POST, PUT, DELETE) and resource representations.
Service-Oriented Architecture (SOA), Service Provider, Service Requester, Service Registry (UDDI), and detailed SOAP vs REST comparison.
Java API for XML Web Services (JAX-WS), @WebService and @WebMethod annotations, RPC vs Document style, and Endpoint.publish().
Choose question types, chapters, and difficulty to practise this subject.
Timed practice exam simulation for CS311 - Introduction to Web Services Development.