IRS - Java Immersion - 2024
Welcome...
Developing OO Applications with Java for Procedural Developers
Pre-test Link
- Please complete this at the start of this topic.
Welcome.txt
- The Welcome document, this includes the schedule.
WebEx.txt
- The WebEx meeting details.
LabMachines.txt
- The connection details to access the Lab Machines.
ProjectOverview.pdf
- The Java projects we will be working on.
AnalysisAndDesign.txt
- Thinking in OO
BookSchema.txt
- A Sample Database Schema for our Design discussion
GallerySchema.txt
- A second Sample Database Schema for our Design discussion
OO-Assignment-1.txt
- Assignment for Day 1 of this topic
OO-Assignment-1-Example.txt
- Example for assignment
CustomerDesignSummary.txt
- Customer Appl Design Summary
WorldDesignSummary.txt
- World Appl Design Summary
CountryReport.zip
- Example for Assignment 2 (project)
OO-Assignment-2.txt
- Assignment for Day 2 of this topic
OO-Assignment-2-Example.txt
- Example for assignment
Polymorphism.zip
- Inheritance and Polymorphism in action (project)
Client.zip
- Inheritance in action (project)
InheritanceAssignment.txt
- Inheritance Assignment
InheritanceAssignment-Example.txt
- Inheritance Assignment - Example
OO-Assignment-3.txt
- Assignment for Day 3 of this topic
OO-Assignment-3-Example.txt
- Example for assignment
OO-Assignment-4.txt
- Assignment for Day 4 of this topic
Post-test Link
- Please complete this at the end of this topic.
Java Basic Programming
Pre-test Link
- Please complete this at the start of this topic.
IRS Java Standards
- The IRS Java Standards.
IRS Java Secure-coding Guidelines
- The IRS Java Secure-coding Guidelines.
CodeAssignment1.txt
- The first Java coding assignment
Guess.java
- Number Guessing Game starter code
GuessExample.java
- Basic Number Guessing Game Example
GuessExample2.java
- Number Guessing Game Example with Replay and Hints
Top25SoftwareErrors.pdf
- The Top 25 most dangerous software errors.
OWASP.pdf
- The Top 10 Web Attacks.
Maven.txt
- Learning Maven Assignment
MavenPlayCode.zip
- Learning Maven Assignment - Starter Code
Log4J.pdf
- Adding Logging to the Entity classes
LoggingPlay.zip
- Playing with Log4J (project)
Product.java
- The second Entity class in the Customer project
ProductTest.java
- The JUnit tests for Product
UpdatedCustomerEntitiesAndTests.zip
- Updated Entity classes, to include utility classes
CollectionsPlay.zip
- Playing with Collections (projects)
Post-test Link
- Please complete this at the end of this topic.
Database Programming with Java
Pre-test Link
- Please complete this at the start of this topic.
DatabaseExample.zip
- Playing with JDBC (project)
FlightExample.zip
- A full Java Application using JDBC (project)
FlightAssignment.txt
- Your first JDBC assignment
FlightExample2.zip
- The example for the JDBC assignment (project)
UsingDBUnit.pdf
- Unit testing with DBUnit
CustomerDAOAssignment.txt
- Your next JDBC assignment
CustomerDAO.zip
- Updated CustomerDAO code/test
CustomerDAOTests.zip
- Some of my DBUnit Tests for the CustomerDAO Project
JPQLPlay.zip
- Playing with JPQL (project)
JPAAssignment1.txt
- Your first JPA assignment
WorldFiles.zip
- Updated World Entity and DAO files
Post-test Link
- Please complete this at the end of this topic.
Collaborative Java Mentoring - Core
Developing Java Web Applications
Pre-test Link
- Please complete this at the start of this topic.
EchoExample.war
- An simple example of how Web Applications work (project)
FortuneWeb.zip
- An example of how Web Applications work with JSPs (project)
JBossConfig.zip
- Configuring JBoss to run our Web Applications
CustomerWeb.zip
- The starter code for the Customer Web Application (project)
WebAssignment1.txt
- The first Web Coding assignment
WebAssignment1Example.zip
- The first Web Coding assignment - example css and jsp files
WebAssignment2.txt
- The second Web Coding assignment (Product)
WebAssignment2Example.zip
- The second Web Coding assignment - example css, jsp and Servlet files
GuessWeb.war
- An example of using Session in a game (project)
WebAssignment3.txt
- The third Web Coding assignment (Supplier)
utilities.js
- A JavaScript file with helper functions
WebAssignment3Example.zip
- The third Web Coding assignment - example css, jsp and Servlet files
AddingMoreSecurity.txt
- Adding Security and turning on HTTPS
AddingSecurity.zip
- the updated web.xml (and other files)
CreatingACustomJSPTag.txt
- Creating a custom JSP tag
WebAssignment4.txt
- The fourth Web Coding assignment (Order)
WebAssignment4Example.zip
- The fourth Web Coding assignment - example css, jsp and Servlet files
SortingLists.txt
- Adding sorted Lists to the JSPs
Post-test Link
- Please complete this at the end of this topic.
REST Web Service Programming
Pre-test Link
- Please complete this at the start of this topic.
WorldBankREST.txt
- Exporing REST WebServices
TimezoneREST.zip
- Playing with REST WebServices (project)
JSONOverview.pdf
- Introduction to JSON
TimezoneRESTClient.zip
- Playing with a REST WebService Client (project)
FortuneTellerREST.zip
- REST WebServices assignment starter (project)
RESTAssignment1.txt
- The first REST Web Services Coding assignment
FortuneTellerRESTExample.zip
- The first REST Web Services Coding assignment example (project)
FortuneTellerRESTClient.zip
- The first REST Web Services Coding assignment client (project)
ToDoRESTWebService.zip
- An example of all the HTTP Verbs (project)
EventREST.zip
- REST WebService w/ Java Objects and an insert method (project)
RESTAssignment2.txt
- The second REST Web Services Coding assignment
EventRESTExample.zip
- The second REST Web Services Coding assignment example (project)
DocumentingREST.txt
- Documenting a REST WebService
RESTDocumentationBuilder.zip
- Generating REST WebServices documentation (project)
WorldREST.zip
- The WorldREST starter (project)
CDINotes.txt
- Making the DAO Project CDI accessible
Post-test Link
- Please complete this at the end of this topic.
Web Testing with Selenium
Pre-test Link
- Please complete this at the start of this topic.
GoogleTest.zip
- Playing with Selenium (project)
IntegrationTestUtilities.zip
- Putting the Integration Utilities Project together (project)
SeleniumAssignment.txt
- Selenium assignment
ClassWebSiteTest.java
- Selenium assignment example
WebTestingAssignment1.txt
- First Web Testing Assignment
ProductPageTests.zip
- My example for Testing Product Page
Post-test Link
- Please complete this at the end of this topic.
Collaborative Java Mentoring - Web
Coding Checklists:
EntityClassChecklist.txt
Entity Class Checklist
ActionClassChecklist.txt
Action Class Checklist
Code Review:
Chart of coding assignments
(Java Core) this will show your coding progress
Chart of coding assignments
(Web) this will show your coding progress
Notes From Class:
My Notes folder
My Web Notes folder
Tools:
Resource Folder
Instructor Example Code:
Instructor Example Folder
Instructor.zip
Instructor Examples as a zip file
Building the Lab environment on your
computer
The full Web Site
Warning:
it is over a Gigabyte in size.
Web Sites of Interest
Java
http://www.oracle.com/technetwork/java/index.html
Java home page at Oracle
https://docs.oracle.com/en/java/javase/11/docs/api
Java SE 11 Documentation
http://docs.oracle.com/javase/8/docs/api
Java SE 8 Documentation
https://jakarta.ee/specifications/platform/8/apidocs/
Java EE 8 API (Known as Jakarta)
http://docs.oracle.com/javase/tutorial/
Java SE Tutorials
https://eclipse-ee4j.github.io/jakartaee-tutorial/
Java EE 8 Tutorials
https://google.github.io/styleguide/javaguide.html
Java Style Guide
Java Frameworks
http://commons.apache.org/components.html
Apache Commons
https://junit.org/
The JUnit web site
https://site.mockito.org/
The Mockito web site
https://mvnrepository.com/
The Cental Maven Repository
http://dbunit.sourceforge.net
The DBUnit web site
https://www.selenium.dev/
The Selenium web site
Security
https://www.owasp.org/index.php/Main_Page
The OWASP Web Security site
https://cheatsheetseries.owasp.org
The OWASP Security Cheat Sheets
IRS Internal Web Sites
How to Join the Java User Group - JUG Home (sharepoint.com)
Java Community of Practice (sharepoint.com)
IRS University-IT Academy
Reference Web Sites
https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
Maven Lifecycle
http://www.objectdb.com/api/java/jpa/annotations
JPA Annotation list
http://unicode.org
The Unicode web site
http://www.w3schools.com/
W3Schools a tutorial site for HTML, CSS and JavaScript
http://www.december.com/html/
Resources for Web Developers
http://www.w3.org
The W3C
http://www.w3.org/WAI
Web Accessibility Initiative (WAI)
https://www.w3.org/WAI/WCAG21/quickref
Web Accessibility Quick Reference
https://section508.gov/
Accessibility resources for government employees
http://docs.oracle.com/javaee/5/tutorial/doc/bnake.html
JSTL Tutorial
Jonathan R. Earl
Jonathan@Earl-Family.Net
These examples are Open Source under the GNU Free Documentation License as noted here:
Copyright