BCIS 3680 Enterprise Programming Instructor: Dr. Andy Wu Exam 2 Study Guide 1. Classes 1.1 1.2 1.3 Be able to describe and use members of a class: instance variables, static variables, instance methods, static methods, constructors. Know the correct syntax to instantiate an object and to access static versus instance members. Know how to write and call constructors, getters, and setters. Why do we use getter and setter methods? 2. Inheritance 2.1 2.2 2.3 2.4 2.5 Know the correct syntax to write the class header of a subclass. Be able to describe how members of a superclass are inherited by a subclass. Know why and how to override a superclass’ method. What are the differences between method overloading and overriding? What is an abstract method? How does the header of an abstract method differ from that of a non‐abstract method? What is the OOP principle that allows a subclass object to be stored in a reference variable of the superclass type? 3. Tomcat and Web App Configuration 3.1 3.2 Be able to configure, start, and stop Apache Tomcat, including location and role of the server‐ level configuration file (server.xml), <Context> element setup, the correct placement of <Context> in server.xml, etc. Know the correlations between the attributes of the <Context> element and the components of the URL that accesses the context. What are default welcome files? How do you configure them for your web application? 3.3 4. HTML 4.1 4.2 4.3 Be able to use the <a> tag to create hyperlinks. What are the three most important attributes of the <form> tag? What’s the purpose of each? Be able to create a form and place the following controls (input fields) on the form: textbox, checkbox, radio button, and submit button. Know how to set the most important attributes for each. 5. Scripting 5.1 5.2 How do client‐side and server‐side scripting differ? What is a JSP page converted into before it is run? Describe how a <form> is passed from one page to another and how POST and GET differ. BCIS 3680 Enterprise Programming Exam 2 Study Guide 5.3 5.4 5.5 5.6 Conceptually describe the four JSP elements: expression, scriptlet, declaration, and directive. Be able to use JSP expressions/scriptlets to retrieve values of parameters and insert them in HTML. Know where to place JavaScript functions in HTML. Know the basic JavaScript to validate user input and to pop up warning dialogs if necessary. BCIS 3680 Enterprise Programming Exam 2 Study Guide