Course (2-3) JEE Programming with Netbeans
- 1. Getting Started
- 1.2. Introduction to Developing Web Applications
- 1.3. Introduction to Java EE Technology
- 1.4. Getting Started with Java EE 6 Applications
- 1.5. Introduction to JavaServer Faces 2.0
- 1.6. Introduction to Ajax
- 2. NetBeans E-commerce Tutorial
- 2.1. Introduction
- 2.1.1. About this Tutorial
- 2.1.2. What is an E-commerce Application?
- 2.1.3. What is Java?
- 2.1.4. Java EE
- 2.1.5. What is the Java Community Process?
- 2.1.6. Why use an IDE?
- 2.1.7. Why use NetBeans?
- 2.2. Designing the Application
- 2.2.1. The Scenario
- 2.2.2.Gathering Customer Requirements
- 2.2.3.Preparing Mockups
- 2.2.4.Determining the Architecture
- 2.2.5.Planning the Project
- 2.3. Setting up the Development Environment
- 2.3.1. Creating a Web Project
- 2.3.2. Running the Web Project
- 2.3.3. Communicating with the Database Server
- 2.4. Designing the Data Model
- 2.4.1. Identifying Entities for the Data Model
- 2.4.2. Creating an Entity-Relationship Diagram
- 2.4.3. Forward-Engineering to the Database
- 2.4.4. Connecting to the Database from the IDE
- 2.5. Preparing the Page Views and Controller Servlet
- 2.5.1. Creating Project Files
- 2.5.2. Creating a Stylesheet
- 2.5.3. Implementing HTML and CSS content
- 2.5.4. Placing JSP Pages in WEB-INF
- 2.5.5. Creating a Header and Footer
- 2.5.6. Adding a Directive to the Deployment Descriptor
- 2.5.7. Creating the Controller Servlet
- 2.5.8. Implementing the Controller Servlet
- 2.6. Connecting the Application to the Database
- 2.6.1. Adding Sample Data to the Database
- 2.6.2. Creating a Connection Pool and Data Source
- 2.6.3. Testing the Connection Pool and Data Source
- 2.6.4. Setting Context Parameters
- 2.6.5. Working with JSTL
- 2.6.6. Troubleshooting
- 2.7. Adding Entity Classes and Session Beans
- 2.7.1. What are EJB and JPA Technologies?
- 2.7.2. What are Session Beans?
- 2.7.3. About Specifications and Implementations
- 2.7.4. Adding Entity Classes
- 2.7.5. Adding Session Beans
- 2.7.6. Accessing Data with EJBs
- 2.8. Managing Sessions
- 2.8.1. Handling Session Data
- 2.8.2. Examining Session Data with the Java Debugger
- 2.8.3. Examining Session Tracking Options
- 2.8.4. Handling Session Time-Outs
- 2.9. Integrating Transactional Business Logic
- 2.9.1. Overview of the Transaction
- 2.9.2. Examining the Project Snapshot
- 2.9.3. Creating the OrderManager EJB
- 2.9.4. Handling Request Parameters
- 2.9.5. Implementing placeOrder and Helper Methods
- 2.9.6. Utilizing JPA's EntityManager
- 2.9.7. Synchronizing the Persistence Context with the Database
- 2.9.8. Setting up the Transaction Programmatically
- 2.9.9. Validating and Converting User Input
- 2.10. Adding Language Support
- 2.10.1. Understanding Resource Bundles
- 2.10.2. Making Pages Multilingual
- 2.10.3. Implementing a Language Toggle
- 2.11. Securing the Application
- 2.11.1. Examining the Project Snapshot
- 2.11.2. Setting up Form-Based Authentication
- 2.11.3. Setting up Users, Groups and Roles
- 2.11.4. Configuring Secure Data Transport
- 2.12. Testing and Profiling
- 2.12.1. Testing with JMeter
- 2.12.2. Using the NetBeans Profiler
- 2.12.3. Tuning the GlassFish Server
- 2.13. Conclusion
- 2.13.1. Delivering your Work
- 2.13.2. Using the JavaServer Faces Framework
- 2.13.3. How Can JSF Benefit Your Project?
- 2.1. Introduction
- 3. Contexts and Dependency Injection
- 3.1. Getting Started with Contexts and Dependency Injection and JSF 2.x
- 3.1.1. Creating a Java Web Project with CDI Support
- 3.1.2. Accessing Beans from JSF's Expression Language
- 3.1.3. Upgrading to an EJB
- 3.2. Working with Injection and Qualifiers in CDI
- 3.2.1. Injection: the 'I' in CDI
- 3.2.2. Working with Qualifiers
- 3.2.3. Alternative Injection Methods
- 3.3. Applying @Alternative Beans and Lifecycle Annotations
- 3.3.1. Handling Multiple Deployments
- 3.3.2. Applying Lifecycle Annotations to Managed Beans
- 3.4. Working with Events in CDI
- 3.4.1. Utilizing Events
- 3.4.2. Handling Scopes
- 3.5. Using CDI to Inject OSGi Bundles as Services
- 3.5.1. Creating the Parent POM Project
- 3.5.2. Creating the OSGi Bundle Projects
- 3.5.3. Creating a Web Client Application
- 3.5.4. Installing and Using the OSGi Admin Console
- 3.1. Getting Started with Contexts and Dependency Injection and JSF 2.x
- 4. Developing Java Web Applications
- 4.1. Developing an Enterprise Application for Oracle WebLogic Server
- 4.1.1. Registering the Oracle WebLogic Server
- 4.1.2. Creating the Web Application
- 4.2. Creating a Simple Web Application Using a MySQL Database
- 4.2.1. Planning the Structure
- 4.2.2. Creating a New Project
- 4.2.3. Preparing the Web Interface
- 4.2.4. Preparing Communication between the Application and Database
- 4.2.5. Adding Dynamic Logic
- 4.2.6. Running the Completed Application
- 4.3. Generating a JavaServer Faces 2.0 CRUD Application from a Database
- 4.3.1. Creating the Database
- 4.3.2. Examining the Database Structure
- 4.3.3. Creating the Web Application Project
- 4.3.4. Generating the Entity Classes from the Database
- 4.3.5. Generating JSF Pages From Entity Classes
- 4.3.6. Exploring the Application
- 4.4. Integrating an Applet in a Web Application
- 4.4.1. Creating or Importing an Applet Source File
- 4.4.2. Running an Applet Source File
- 4.4.3. Embedding an Applet in a Web Application
- 4.5. Securing a Web Application
- 4.5.1. Installing and Configuring the Working Environment
- 4.5.2. Creating the Web Application
- 4.5.3. Creating Users on the Target Server
- 4.5.4. Configuring the Login Method
- 4.5.5. Configuring Server Deployment Descriptors
- 4.5.6.Deploying and Running the Application
- 4.6. Using a Load Generator in NetBeans IDE
- 4.6.1. Using a Load Generator in NetBeans IDE
- 4.6.2. Getting Started
- 4.6.3. Installing the JMeter Plugins
- 4.6.4. Working with the JMeter Load Testing Script
- 4.1. Developing an Enterprise Application for Oracle WebLogic Server
- 5. EJB Technology and Java Persistence
- 5.1. Using the Embedded EJB Container to Test Enterprise Applications
- 5.1.2. Testing a Session Bean
- 5.1.3. Testing an Entity Class
- 5.1.4. Downloading the Solution Project
- 5.2. Creating an Enterprise Application with EJB 3.1
- 5.2.1. About the NewsApp Enterprise Application
- 5.2.2. Creating the Enterprise Application Project
- 5.2.3. Coding the EJB Module
- 5.2.4. Coding the Web Module
- 5.2.5. Running the Project
- 5.2.6. Downloading the Solution Project
- 5.3. Creating an Enterprise Application Using Maven
- 5.3.1. Using Maven in the IDE
- 5.3.2. Creating the Maven Enterprise Application Project
- 5.3.3. Coding the EJB Project
- 5.3.4. Coding the Web Application
- 5.3.5. Building the Application with Maven
- 5.3.6. Deploying and Running the Application
- 5.3.7. Downloading the Solution Project
- 5.4. Testing a Maven Enterprise Application
- 5.4.1. Using Maven in the IDE
- 5.4.2. Creating the Enterprise Application
- 5.4.3. Creating the Session Bean Test
- 5.5. Using Hibernate in a Web Application
- 5.5.1. Creating the Database
- 5.5.2. Creating the Web Application Project
- 5.5.3. Modifying the Hibernate Configuration File
- 5.5.4. Creating the HibernateUtil.java Helper File
- 5.5.5. Generating Hibernate Mapping Files and Java Classes
- 5.5.6. Creating the FilmHelper.java Helper Class
- 5.5.7. Creating the JSF Managed Bean
- 5.5.8. Creating the Web Pages
- 5.5.9. Running the Project
- 5.6. Creating and Running an Application Client on the GlassFish Server
- 5.6.1. Creating the Java Class Library
- 5.6.2. Creating an EJB Module
- 5.6.2.1. Creating the Session Bean
- 5.6.2.2. Adding a Business Method
- 5.6.2.3. Deploying the Enterprise Application
- 5.6.3. Creating the Application Client
- 5.6.3.1. Adding the Class Library
- 5.6.4. Running the Application Client
- 5.7. Building Secure Enterprise Beans
- 5.7.1. Creating a Security Group on the Application Server
- 5.7.2. Creating a Java Class Library for the Remote Interface
- 5.7.3. Creating and Securing the Enterprise Application
- 5.7.3.1. Creating the Enterprise Application Project
- 5.7.3.2. Securing a Method in a Session Bean
- 5.7.3.3. Configuring the Deployment Descriptors
- 5.7.4. Creating the Application Client
- 5.7.5. Running the Application
- 5.8. Profiling an Enterprise Application
- 5.8.1. About Profiling Enterprise Applications
- 5.8.1.1. Profiling Enterprise Application Projects
- 5.8.1.2. Profiling EJB and Web Module Subprojects
- 5.8.2. Creating the Sample Project
- 5.8.3. Monitoring the Application
- 5.8.4. Analyzing the Performance of the Application
- 5.8.4.1. Using Instrumentation Filters
- 5.8.4.2. Sampling the Application
- 5.8.4.3. Instrumenting All Methods
- 5.8.4.4. Using Profiling Root Methods
- 5.8.5. Analyzing Memory Usage
- 5.8.1. About Profiling Enterprise Applications
- 5.9. Using WebLogic JMS from NetBeans IDE
- 5.9.1. Using WebLogic JMS from NetBeans
- 5.9.1.1. WebLogic Server Registration
- 5.9.1.2. JMS Queue Configuration
- 5.9.2. Message-driven EJB
- 5.9.3. Web Application
- 5.9.3. Sending Messages
- 5.9.1. Using WebLogic JMS from NetBeans
- 5.1. Using the Embedded EJB Container to Test Enterprise Applications
- 6. Web Frameworks
- 6.1. Introduction to JavaServer Faces 2.x
- 6.1.1. Adding JSF 2.x Support to a Web Application
- 6.1.2. Creating a Managed Bean
- 6.1.2.1. Using the Managed Bean Wizard
- 6.1.2.2. Creating a Constructor
- 6.1.2.3. Adding Properties
- 6.1.3. Wiring the Managed Bean to Pages
- 6.1.4. Applying a Facelets Template
- 6.1.4.1. Creating the Facelets Template File
- 6.1.4.2. Creating Template Client Files
- 6.1.2. Creating a Managed Bean
- 6.1.1. Adding JSF 2.x Support to a Web Application
- 6.2. JSF 2.x Support
- 6.2.1. JSF 2.x Support for Projects
- 6.2.2. Utilizing the Editor
- 6.2.3. JSF Wizards
- 6.2.4. Support for Entity Classes
- 6.2.5. JSF Palette Components
- 6.3. Spring Web MVC
- 6.3.1. Setting up a New Project with Spring Web MVC Support
- 6.3.1.1. Creating a Spring Web MVC Skeleton Project
- 6.3.1.2. Running the Skeleton Project
- 6.3.2. Overview of the Application
- 6.3.3. Implementing a Service
- 6.3.4. Implementing the Controller and Model
- 6.3.5. Implementing the Views
- 6.3.1. Setting up a New Project with Spring Web MVC Support
- 6.4. Struts
- 6.4.1. Overview of the Application
- 6.4.2. Setting Up a Struts Application
- 6.4.3. Creating JSP Pages
- 6.4.3.1. Creating a Login Page
- 6.4.3.2. Creating a Success Page
- 6.4.4. Creating an ActionForm Bean
- 6.4.5. Creating an Action Class
- 6.4.6. Implementing Validation
- 6.4.6.1. Accessing Bean Data and Preparing a Forwarding Condition
- 6.4.6.2. Setting Up an Error Message
- 6.4.7. Adding forward Entries to struts-config.xml
- 6.4.8. Configuring and Running the Application
- 6.4.8.1. Setting the Welcome Page
- 6.4.8.2. Attaching a Stylesheet
- 6.4.8.3. Running the Application
- 6.5. Grails
- 6.5.1. Creating the Application
- 6.5.2. Creating the Domain Class
- 6.5.3. Creating the Controller
- 6.5.4. Running the Application
- 6.6. Wicket
- 6.6.1. Setting Up the Environment
- 6.6.1.1. Creating the Source Structure of a Wicket Application
- 6.6.1.1.1. Scenario 1: Creating an Ant Based Wicket Application from Scratch
- 6.6.1.1.2. Scenario 2: Creating a Maven Based Wicket Application from Scratch
- 6.6.1.1.3. Scenario 3: Creating a Maven Based Wicket Application from Archetype
- 6.6.1.1.4. Scenario 4: Adding Wicket Support to an Existing Application
- 6.6.1.2. Providing Support for Alternative Versions of Wicket
- 6.6.1.3. Examining the Source Structure of the Generated Wicket Application
- 6.6.1.1. Creating the Source Structure of a Wicket Application
- 6.6.2. Using Wicket Features
- 6.6.2.1. Adding a Widget
- 6.6.2.2. Adding a Reusable Component
- 6.6.2.3. Adding AJAX Features
- 6.6.3. Next Steps
- 6.6.1. Setting Up the Environment
- 6.7. Google Web Toolkit (GWT)
- 6.7.1. Setting Up the Environment
- 6.7.1.1. Creating the Source Structure of a GWT Application
- 6.7.1.2. Examining the Source Structure of a GWT Application
- 6.7.2. Creating an AJAX Random Quote Generator
- 6.7.2.1. Generating the Service Stubs
- 6.7.2.2. Examining the Generated Classes
- 6.7.2.3. Extending the Generated Classes
- 6.7.2.4. Customizing the Appearance
- 6.7.3. Compiling and Debugging
- 6.7.4. Conclusion
- 6.7.1. Setting Up the Environment
- 6.8. Adding Support For A Web Framework
- 6.1. Introduction to JavaServer Faces 2.x
- 7. JavaScript and Ajax Development
- 7.1. Editing JavaScript
- 7.1.1. Basic Features
- 7.1.2. Mark Occurrences and Instant Rename
- 7.1.3. Code Completion and Type Analysis
- 7.1.4. Documentation
- 7.1.5. Open Type
- 7.1.6. JSDoc Support
- 7.2. Introduction to Ajax
- 7.2.1. Overview of the Application
- 7.2.2. Programming the Client-Side: Part 1
- 7.2.2.1. Using the HTML Editor
- 7.2.2.2. Using the JavaScript Editor
- 7.2.3. Programming the Server-Side
- 7.2.3.1. Creating the Data Store
- 7.2.3.2. Creating a Servlet
- 7.2.4. Programming the Client-Side: Part 2
- 7.2.4.1. Adding Callback Functionality
- 7.2.4.2. Updating the HTML DOM
- 7.2.4.3. Attaching a Stylesheet
- 7.2.5. Running the Application
- 7.2.5.1. Using the HTTP Server Monitor
- 7.3. Using jQuery to Enhance the Appearance and Usability of a Web Page
- 7.3.1. Setting Up a NetBeans Project
- 7.3.2. Adding the jQuery Library to the Project
- 7.3.3. Getting Acquainted with jQuery
- 7.3.4. Adding the jQuery Accordion Widget to the Project
- 7.3.5. Using jQuery's Default Theme for Style Enhancement
- 7.4. Connecting a Dojo Tree to an ArrayList using JSON
- 7.4.1. Adding the Dojo Toolkit to a NetBeans Project
- 7.4.2. Linking to the Toolkit Resources from a Project File
- 7.4.3. Adding and Configuring the Dojo Tree Widget
- 7.4.4. Adding Third-Party JSON Conversion Sources as a JAR File to the Project
- 7.4.5. Preparing a Servlet to Initiate a JSON Respons
- 7.1. Editing JavaScript
Online LIVE Training Programming Course offered by INCAPROG ONLINE - www.incaprog.com - contacto@incaprog.com - Phone : (954) 727-3141