Chapter 11: Problem 2
State whether each of the following is true or false. If false, explain why. a) The J2EE server uses port 8080 to await client requests. b) When deploying applications with the \(\mathrm{J} 2 \mathrm{EE}\) server, you can launch the Cloudscape and J2EE servers in any order. c) Initialcontext method 1ookup locates a resource with a JNDI name. d) Method lookup returns a connection object representing the connection to the database. e) The Java 2 Enterprise Edition 1.2.1 reference implementation includes the Apache Tomcat JSP and servlet container. P When RequestDispatcher method forward is called, processing of the request by the current servlet is temporarily suspended to wait for a response from the resource to which the request is forwarded. g) Both the ServletRequest and the Servletcontext getRequestDispatchex methods throw exceptions if the argument to getRequest Dispatcher is not a servlet. h) Each resource reference has a corresponding JNDI name that is used by the deployment tool to register the resource with the Java Naming and Directory Service. i) If you do not configure your data sources and other resources before deploying an Enterprise Java application, the \(\mathrm{J} 2 \mathrm{EE}\) server will search the application to determine the resources used and register those resources with the naming server. j) Not including the full package directory structure for a class in a package will prevent the application from loading the class and from executing properly.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.