Java Web Development
Do you want to learn how to build web apps with one of the most portable and in-demand programming languages available?
In this Track you'll work through core Java language concepts and development practices while learning about the paradigm of writing software for the web. You'll gain experience in popular web frameworks and learn best practices in handling database connectivity in your applications.
As the cherry on top, you'll even tackle multiple ways to develop RESTful APIs with Java to power UIs coded by yourself or by collaborators writing native mobile apps.
You'll start with our HTML and CSS basics courses, to lay the foundation. Then, we'll introduce the concepts of Java Lambdas, Git, and Spark, a micro-framework.
Next, you'll learn about Java Annotations, the preferred approach to integrating powerful third-party libraries into your own Java applications. You'll learn the basics of working with the Spring framework, and then some fundamentals of SQL.
The Track then covers ground on Hibernate basics and next steps for working with Spring, including unit testing and user authentication. Finally, you'll wrap up the Track with courses on how to build a REST API in Spark and Spring, respectively.
Let's dive right into Java and get you up to speed!
-
An entry-level salary for the technologies covered in this track is about $70,000 / yr on average.
-
Some companies that use these technologies regularly include: Google, Netflix, Twitter, Amazon, EBay
Ready to start learning?
Treehouse offers a 7 day free trial for new students. Get access to 1000s of hours of content. Learn to code, land your dream job.
Start Your Free Trial-
- 1
- 2
- 3
Introduction to HTML and CSS
Get started creating web pages with HTML and CSS, the basic building blocks of web development. HTML, or HyperText Markup Language, is a standard set of tags you will use to tell the web browser how the content of your web pages and applications are structured. Use CSS, or Cascading Style Sheets, to select HTML tags and tell the browser what your content should look like. Whether you are coding for fun or planning to start a career in web development, learning HTML and CSS is a great place to start.
-
- 1
- 2
HTTP Basics
During this course, we'll look at the underlying method devices use to communicate with each other: HTTP or the HyperText Transfer Protocol. In particular, we'll focus on how a modern web browser automates the sending of HTTP requests and the receiving of HTTP responses.
-
16 minWorkshop
Java Lambdas
Lambdas are anonymous functions. They were added to the language in Java 8, and can be used any place a Single Abstract Method was used before.
Viewed -
2 minInstruction
Introduction to Git
A version control system like Git can keep you from losing your work, and help you collaborate with others....(continue reading)
Viewed -
- 1
- 2
Intro to Java Web Development with Spark
Spark is a Micro-framework that allows you to spin up a web server fairly easily.
-
- 1
- 2
Java Annotations
Annotations have rapidly become the preferred approach to integrating powerful third-party libraries into your own Java applications. In this course, we'll first explore the basic use of annotations to give the compiler instructions. Then, we'll use more advanced techniques to create our own annotation and look for it using reflection.
-
- 1
- 2
- 3
SQL Basics
In SQL Basics, we’ll take a look at what databases are and how you can retrieve information from them. Databases can store massive amounts of information to be retrieved at a later date. Databases act as the memory for dynamic web sites or mobile apps.
-
- 1
- 2
- 3
- 4
Modifying Data with SQL
At the heart of a dynamic application is a database. Whether the application is an eCommerce, sports team, social network, or productivity app on your phone, the data needs to change over time. In this course, we'll take a look at the underpinning SQL statements that are needed for every dynamic application.
-
- 1
- 2
- 3
Hibernate Basics
Most meaningful applications you will write will have a database associated with it. Knowing how to connect with and incorporate this data is critical to success as a Java developer. In this course, we'll cover how to connect a Java application to a database using what's called JDBC, or Java Database Connectivity. Then, we'll use the convenient approach of including an ORM, or Object Relational Mapper. This will allow us to interact with our data using object-oriented techniques instead of exclusively relying on hard-coded SQL. The ORM we will use is called Hibernate, and is one of the most popular ORMs available.
-
79 minWorkshop
Debugging an Existing Java Application
We developers spend more than half our time maintaining code. In this course you will get armed with some helpful debugging tools and practices that will help you navigate around an inherited project.
Viewed -
- 1
- 2
- 3
- 4
Introduction to Functional Programming
Functional Programming is an old paradigm, but one that is relatively new to the Java world. In this course we will explore how to take advantage of the power that comes with thinking declaratively.
-
115 minWorkshop
Build a REST API in Spark
Together we'll explore how to build a REST API in the wonderful Spark micro-framework.
Viewed -
119 minWorkshop
Build a REST API in Spring
Let's build a Spring Boot application that builds out a Course Reviews API. We'll check out the awesome Spring Data REST umbrella project. Source code is available on GitHub (https://github.com/treehouse-projects/java-spring-data-rest-course-reviews).
Viewed -
Track Completion
This course includes:
- Introduction to HTML and CSS 2 hours
- HTTP Basics 67 min
- Java Lambdas 16 min
- Introduction to Git 2 min
- Intro to Java Web Development with Spark 2 hours
- Java Annotations 118 min
- SQL Basics 2 hours
- Modifying Data with SQL 79 min
- Hibernate Basics 2 hours
- Debugging an Existing Java Application 79 min
- Introduction to Functional Programming 2 hours
- Build a REST API in Spark 115 min
- Build a REST API in Spring 119 min