Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Summary CO-85120 Java EE 7: Front-End Web Application Development Duration 5 Days Audience J2EE Developers, Java Developers, Java EE Developers and Web Administrators Level Professional Technology Java EE 7 Delivery Method Instructor-led (Classroom) Training Credits Yes Introduction This five-day training course helps you explore building and deploying enterprise applications that comply with the Java Platform, Enterprise Edition 7 Web Profile. Expert Oracle University instructors will help you explore annotations, Session Enterprise JavaBeans (EJB-Lite), Java Persistence API (JPA), servlets, JavaServer Pages(JSPs), Contexts and Dependency Injection (CDI), JAX-RS RESTful web services, the Java API for WebSocket and the Java API for JSON processing. By taking this course, you'll gain hands-on experience building Java EE web applications. You will get the chance to create web-based user interfaces using HTML5 and JavaScript along with JSPs and servlets. Web-based user interfaces will use AJAX to communicate with RESTful web services you create; data will persist using JPA and optimistic locking. Prerequisites Before attending this course, students must have: Able to author HTML, CSS, and JavaScript enabled web pages Basic understanding of database concepts and SQL syntax Experience with Java SE, or Java Programmer Certification Understand object-oriented principles Experience with an Integrated Development Environment Oracle requires and recommends that delegates have attended the following course prior to attending this course. Recommended Course: D67238 Java SE 7 Programming Recommended Course: D84842 JavaScript and HTML5: Develop Web Applications Target Audience J2EE Developers, Java Developers, Java EE Developers and Web Administrators Course Content Lesson 1: Java Platform, Enterprise Edition (Java EE) This lesson provides an overview of the course contents, the course schedule, the classroom environment and the technical environment. Lesson Topics: List the course goals and objectives Describe the target audience for this course Describe the format that the class will use Describe the purpose of the Java EE Platform Describe the needs of enterprise applications List the various Java EE specifications Compare services and libraries Describe the Java EE Web Profile Describe the EE application tiers and layers Practice: Inspecting the JavaFXMediaViewer Application Lesson 2: Enterprise Development Tools and Application Servers In this lesson, you learn about Java EE components and application servers. Lesson Topics: Describe the purpose of an application server Identify the potential selection criteria used when selecting an application server Describe the properties of Java EE components Describe the process of developing a Java EE application Describe how to configure and package Java EE applications List the Java EE–supporting features provided by integrated development environments (IDEs) Practice: Installing and Starting the GlassFish Server Writing a Simple Test Web Application Lesson 3: JavaBeans, Annotations, and Logging In this lesson, you learn about common Java SE components that are used in Java EE, Java SE annotations and logging application activity. Lesson Topics: Describe the Java SE features that are used extensively in enterprise applications Create POJO JavaBeans components Log application activity and errors Write to server logs Describe common Java SE annotations and features Develop Java annotations Describe the role of annotations in Java EE Practice: Adding a Logger to an Application Lesson 4: Web Component Model In this lesson, you learn about web applications and their components. Lesson Topics: Describe a web application and its components Implement application layering and the MVC pattern Describe the HTTP request-response model Explain the difference between Java Servlets, JSP, JAX-RS, and JSF components Avoid thread-safety issues in web components Use the Expression Language Practice: Creating a Java Web Application Using the Web Inspector Lesson 5: Developing Servlets In this lesson, you learn how to make use of the Java Servlets API. Lesson Topics: Describe the servlet API Use the request and response APIs Set response headers Use two approaches to create a response body Use a servlet to upload a file Forward control and pass data Use the session management API Practice: Creating the Servlet Controller Class for the Media Manager Application Creating a Servlet to Upload New Media Lesson 6: Using JavaServer Pages In this lesson, you learn about the role of JSP technology and how to author JSP pages. Lesson Topics: Evaluate the role of JSP technology as a presentation mechanism Author JSP pages Process data received from servlets in a JSP page Describe the use of tag libraries Practice: Creating the Main View Page for the WebMediaManager Application Modifying the Upload View Pages Adding a Second View Page to Display Individual Media Objects Adding a Settings View Page to the WebMediaManager Application Lesson 7: JAX-RS Web Services In this lesson, you learn about JAX-RS web services. Lesson Topics: Describe the need for web services Design a RESTful web service and its collection of resource URLs Create methods that follow the prescribed rules of HTTP method behavior, including idempotence Create a JAX-RS resource and application classes Consume query and other parameter types Produce and consume complex data in the form of XML Identify and return appropriate HTTP status codes for any condition Practice: Creating a RESTful Web Service to GET the Collection Creating RESTful Web Services to GET and DELETE an Element of the Collection Creating a RESTful Web Service to Add a New Media Item to the Collection Using PUT Lesson 8: Java RESTful Clients In this lesson, you learn about the JAX-RS 2 client API. Lesson Topics: Use the JAX-RS 2 Client API Describe the alternatives to the JAX-RS 2 Client API Practice: Creating a RESTful JAX-RS Client to List Media Items Modifying the RESTful Client to Read and Delete a Media Item Modifying the RESTful Client to Add a New Media Item (Optional) Invoking the UploadServlet on the Server Through the RESTful Client Lesson 9: HTML5 Applications with JavaScript and AJAX In this lesson, you learn how to manipulate HTML documents by using the Document Object Model (DOM). Lesson Topics: Write JavaScript code to: Manipulate HTML documents by using the Document Object Model (DOM) Make Asynchronous JavaScript and XML (AJAX) web service calls Practice: Developing the Single-Page HotSpotApplication Project Calling RESTful Web Services from JavaScript Lesson 10: WebSockets and the Java API for JSON Processing In this lesson, you learn how to make use of WebSockets and how to use and consume JavaScript Object Notation (JSON). Lesson Topics: Explain the benefits of WebSockets Create WebSocket server endpoints with Java Create WebSocket client endpoints with Java Create WebSocket client endpoints with JavaScript Consume JavaScript Object Notation (JSON) with Java Produce JSON with Java Practice: Developing a WebSocket Endpoint and Client Using the JSON-P API to Generate JSON Lesson 11: Implementing a Web Security Policy In this lesson, you learn how to create and implement a web security policy through the use of the security API. Lesson Topics: Leverage container-managed security Define user roles and responsibilities Create a role-based security policy Use the security API Configure authentication in the web tier Practice: Securing the HotSpotApplication Project Lesson 12: POJO and EJB-Lite Component Models In this lesson, you learn about Plain Old Java Objects (POJO) and enterprise JavaBeans components (EJB’s). Lesson Topics: Describe the architecture of a typical Java EE application Describe the role of EJB components in a Java EE application Describe the benefits of EJB components Describe the operational characteristics of a stateless and stateful session beans Create session beans Practice: Adding a Servlet to Download Media Items as Thumbnails Using a Singleton Session Bean to Cache Data Lesson 13: Java Persistence API In this lesson, you learn about the role, purpose and usage of the Java Persistence API (JPA) in a Java EE application. Lesson Topics: Describe the role of the Java Persistence API (JPA) in a Java EE application Explain the basics of object-relational mapping Describe the elements and environment of an entity component Describe the life cycle and operational characteristics of entity components Practice: Moving the Media Data to a Database and Using JPA Using JPA in WebMediaManager Add Filtering Options to DBMediaManager Lesson 14: Implementing a Transaction Policy In this lesson, you learn about transactions and how to implement transaction policies. Lesson Topics: Describe transaction semantics Compare programmatic and declarative transaction scoping Use JTA to scope transactions programmatically Implement a container-managed transaction policy Support optimistic locking with the versioning of entity components Support pessimistic locking by using EntityManager APIs Describe the effect of exceptions on transaction state Practice: Adding the Ability to Update Media Records Implement a Versioning Policy on MediaItems Associated Certifications & Exam This course prepares students to write Exam: None Accredited to certification(s): None