
Learn to build with Maven using a quickstart archetype, distinguish production and test sources, and generate a jar with mvn package while exploring the build lifecycle.
Explore the Maven project object model and the POM file, including groupId, artifactId, version, and packaging, and learn how dependencies, build plugins, and local repositories shape the build.
Add the Commons Lang dependency from Maven Central, download it to the local Maven repository cache, and use it in the project build.
Explore the Java 8 features that enable functional programming, including lambda expressions, functional interfaces, streams, optional, default and static interface methods, and method references.
Explore the syntax of lambda expressions, including parameters, arrow, and body, with examples of no-parameter and multi-parameter forms. Note inference and lambdas must be stored or passed to a method.
Explore how lambda expressions pair with functional interfaces as target types, using a simple Runnable example and learning how lambdas pass around chunks of code.
Refactor a lambda expression by adapting an existing functional interface to accept an input parameter, such as a string name. Learn to align interfaces with lambdas and handle parameter types.
Explore a basic unit test in Java by testing a simple class that greets a name, using JUnit's @Test and assertions to verify expected results.
Explore two main structures for unit tests: arrange-act-assert and given-when-then. Learn how to set up, invoke, and assert results with mock collaborators to create clear, consistent templates.
Learn how mock objects powered by Mockito enable you to isolate unit tests, simulate scenarios with a mock authentication service, and verify interactions and outcomes efficiently.
Create a new Java project and add the Mockito dependency to enable mock object testing with JUnit; use the Mockito API to mock classes and write a sample unit test.
Learn to bootstrap a spring application by adding the spring context dependency via maven, create an application context, and leverage dependency injection and transitive spring modules.
Explore the spring application context, the main container interface, with file system xml, classpath xml, and annotation config implementations, enabling environment, profiles, beans, resources, and events.
Learn how to configure a simple bean with spring's xml container, declare a bean with id and class. Retrieve it from the spring container to use a service.
Retrieving and using a bean from the Spring container by accessing the application context, obtaining the bean by type, and invoking the do something method.
In this course we're going to take a sneak peak into the world of professional enterprise Java development and pull back the curtains on the main technologies used!
Welcome to the Java Developer Quick Start course where I take the top 4 tools, frameworks and topics of modern Java development, and give you a taste of each in easy to absorb units!
In this course we cover:
Apache Maven - the world's most popular tool for building Java projects - we'll see how to build our Java projects and see Maven in action
Java 8 and it's new features - Java's got functional now, so this is essential to know! Get up to speed with the new features so you don't get left behind
JUnit and Mockito - the top test framework combination for Java projects. We'll see these two in action to write unit tests and get acquainted with Mockito
Spring framework - this is hands-down the number 1 framework which practically all Java projects are built on these days. We'll look at it together
We keep everything to the basics - just enough to get productive and know our way around.
So if you're ready to peek inside the world of enterprise Java development and expand your Java knowledge, then sit back and relax and let's jump in together as I take you on the Java Developer Quick Start. I can't wait to see you inside! ;)