
Replace with video
Replace with video
Replace with video - The problems affected me before
Replace with video
Replace with video
You can download the source code for this course at here.
Replace with video
Replace with video
Ensure internet connection to download jar files and manage dependencies remotely; learn how to handle firewall and proxy issues for organizations.
Replace with video
Replace with video
Replace with video
Learn to install Apache Maven on Windows by downloading and unzipping the version, and configure the Java home environment variable, with options to use older stable versions such as 3.84.
Replace with video
Replace with video
Replace with video
Replace with video
Learn how to build a Java rest api with Spring Boot using Maven or Gradle, and encode or decode spaces with Spring Framework Web Util.
Create the initial pom.xml from scratch, initialize a new Maven project using a quick start script, and generate a basic app with hello world and a test file.
update the pom.xml to manage dependencies and build settings, choose appropriate versions for unit tests and project tools, and prepare the build plugin for clear and install in visual studio.
Run mvn clean install to verify the pom and dependencies, clean the target folder, compile the project, and install dependencies into the .m2 folder, preparing for the next test run.
Run a smoke test of the skeleton project by executing the main class to verify the hello world output, then test the decode utility function.
practice step-by-step code changes to introduce a utility class for decoding url parameters, add a constant default encoding, handle exceptions, and prepare for tests in a maven java project.
Kickstart your Java projects with Maven mastery by learning how to clean, install, and run, then embrace test-driven development with unit tests for Java programs.
Run a smoke test on a Java maven project by executing the maven test in the test folder and verifying the green check in the app test.
Generate unit test cases for the utility, apply the AAA pattern, and test encoding and decoding; run tests to verify code and prevent regressions.
Master the full maven cycle by cleaning the target folder, installing dependencies, running tests, and executing the program, ensuring all steps pass with green results.
Learn to bootstrap a Java web app with Maven through an automated 13-step process, generating a web app project with artifact and group IDs and a non-interactive setup.
Open the initialized maven web app in your preferred IDE by navigating to the folder java web app for upload, then review the base folder and upcoming structure.
Examine the Maven-based Java web app's folder structure, focusing on src and pom.xml, note IDE folders like .vscode and .idea, and prepare to add two JSP files for web app.
Learn to set up two jsp files within a maven-powered java web app, including an upload form and a success page, to demonstrate basic multipart file upload and navigation.
Create and configure a Java servlet file under src/main/java with a com.stack package, implement doPost for multipart uploads using Apache Commons, handle errors, and route to upload or success pages.
Add the commons-fileupload dependency to your Maven project by updating the pom.xml, ensuring the backend Servlet can handle file uploads without a file not found error.
Add the servlet API dependency with scope provided to Maven, ensure correct placement to avoid compile errors, and prepare for debugging before introducing the Jetty Maven plugin.
Move the Java file to the correct src/main/java folder, compile with Maven, and configure the Jetty Maven plugin to run the web app as a war for demo.
Configure the servlet mappings in web.xml by specifying the file upload servlet with the full package path and a matching JSP, and set the URL pattern to /upload file.
Run the web app with the batch file and maven commands (clean install), troubleshoot exceptions, and deploy quickly via a CI/CD pipeline while updating JSP or Java code.
Verify the web app on localhost port 8080 by uploading jpeg, html, and pdf files via the JSP upload feature. Next, consider basic CSS improvements to polish the UI.
Add an optional css file alongside your jsp files and link it in the head to style the body, container, h2, and form for the web app.
Verify the CSS and UI of a Maven kickstart Java web app, reload the page, test file uploads, and review structure, dependencies, and servlet configuration with Jetty and web.xml.
Protect sensitive data by detecting and mitigating vulnerabilities in Maven projects and dependencies, ensuring compliance, building trust with users and stakeholders, and reducing long-term costs.
Learn Maven vulnerability management through automated dependency scanning, kV database integration, and plugins like dependency-check; enable continuous monitoring in CI/CD and follow best practices with community support.
Explore dependency scanning tools for Maven projects, focusing on OWASP Dependency-Check and other options like Nexus Lifecycle, Renovate, Black Duck, Dependency-Track, and GitLab dependency scanning to identify and remediate vulnerabilities.
Explore the open web application security project (OWASP) and its free, open source resources, top ten risks, and community-driven standards for secure software.
Explore the free open source OWASP dependency-check as a Maven plugin to scan dependencies for CVEs and vulnerabilities, fix them, and re-scan to verify in CI/CD pipelines.
Discover how dependency check supports multiple ecosystems. It covers Maven, Gradle, npm, Python (pip), .NET (NuGet), Docker image scanning, Scala (sbt), and Ruby gems to identify vulnerable components.
Initialize the Maven project by running a provided batch file. Use the free OWASP dependency check to identify and mitigate vulnerabilities in web projects.
Add the commons-collections v3.2 dependency in your Maven project, explain the vulnerability found after release and the new variant, and then build a simple app that uses this dependency.
Set up maven dependencies and create a simple Java app using commons-collections, with an array list, a filter, and a print step for demo.
Configure the pom.xml to define the main class, then run the app with a Maven command to kickstart your Java project.
Run the app with a batch file or mvn clean install to perform a full clean build, download dependencies, and execute the main class.
Add the three OWASP dependency-check plugins to the build plugins, copying the ready-made configuration into the project. Use the latest release (version 9.0.10) to improve vulnerability detection.
Run the dependency-check plugin to identify known vulnerabilities in dependencies, view the report and independent check details, and prepare to resolve issues in a subsequent video.
Learn how to locate and read the dependency-check report, review high-severity vulnerabilities, suppress false positives, and plan upgrades to resolve issues in a Maven Java project.
Check the official Maven dependency information to verify current versions and address vulnerabilities. Update from 3.2 to the latest 3.2.2 release and identify the solution in the next step.
Identify the solution by upgrading the Maven dependency from 3.2 to 3.2.2 after reviewing the vulnerability record in the dependency repository.
upgrade to version 3.2.2 to fix the vulnerability and update the dependency. rerun the dependency check, review the report, and run the app to confirm no breaking changes.
Rerun the dependency check after updating the common collections from 3.2 to 3.2.2, run the batch file, and confirm the report shows no vulnerabilities in your maven project.
Rerun the dependency check and refresh the report to confirm no vulnerabilities are reported. Next, quickly rerun the app while I explain in the next video.
Re-run the app after mitigating a vulnerability to ensure it still works, compare results, and decide whether to keep or fix the vulnerability using the Maven dependency check plugin.
Replace with video
Replace with video
This course is designed for absolute beginners and early-stage Java developers who want to streamline their project setup and management using Maven. It is particularly valuable for:
Java Enthusiasts: Individuals with a passion for Java programming but limited experience in setting up and managing projects will find this course ideal. It provides a solid foundation for them to start coding efficiently.
Students and Aspiring Developers: If you're a student aspiring to build a career in Java development or a self-taught coder looking to enhance your skills, this course is a perfect starting point. You'll gain the knowledge needed to structure your Java projects correctly and manage dependencies with confidence.
Web Developers: Web developers and programmers who are transitioning to Java or expanding their skill set will benefit from the course's focused approach to Maven, helping them quickly adapt their web development expertise to Java projects.
Tech Enthusiasts and Career Changers: If you're passionate about technology or considering a career change into the Java development field, this course will help you grasp the fundamentals of project management and dependency handling.
Professionals Seeking Efficiency: Professionals working on Java projects who want to boost their productivity by automating repetitive tasks and managing dependencies effectively will find the course invaluable.
Maven Novices: Those who have heard of Maven but are unsure how to use it will benefit from this course, which offers a beginner-friendly introduction and hands-on experience.