Online course · Development

Java Programming & Backend Development Fundamentals

Core Java to a tested, deployable Spring Boot REST API, built step by step

Created by TrainSkool Trainer

Java Programming & Backend Development Fundamentals course cover

Coming soon Launch price ₹1,499

This course is not open for enrolment yet.

About this course

A practical course for freshers, students and career-switchers who want to write Java backends of the kind Indian IT-services and product teams build every day. You follow one project from the first line of code to a running service: meals-api, the ordering backend of Annapoorna Meals, a fictional Chennai cloud kitchen. You will write core Java with classes, records, enums, collections, generics, lambdas and streams; handle exceptions and files; build REST endpoints with Spring Boot; store orders in a relational database with JDBC, transactions and JdbcTemplate; test with JUnit, Mockito and MockMvc; and package the service as an executable JAR and a Docker image with profiles, safe logging and no secrets in code. No prior programming experience is required, though comfort with a computer and basic logic helps. Included: 28 text lessons, slides and quick checks in every lesson, 26 auto-checked coding exercises in Java and SQL that run in your browser, seven chapter projects, chapter quizzes, a capstone with a grading rubric, a graded final exam and a certificate of completion. Lessons are text and slides; trainer videos are coming later. Spring Boot, PostgreSQL, Docker and other products are named descriptively; this course is not affiliated with or endorsed by their owners. No job or salary outcome is promised. What you will be able to do: - You will be able to write, compile and debug Java programs using classes, records, enums, interfaces and collections. - You will be able to process data with generics, lambdas, streams and collectors, and keep money exact in paise. - You will be able to handle exceptions, read and write files, and import messy CSV data with line-numbered errors. - You will be able to build REST endpoints with Spring Boot that return correct status codes and one error shape. - You will be able to store and query data with SQL, JDBC, transactions and Spring's JdbcTemplate without SQL injection. - You will be able to test Java and Spring code with JUnit parameterized tests, Mockito and MockMvc. - You will be able to package, configure and deploy a service with Maven, profiles, Docker or systemd and health checks. - You will be able to deliver a complete, documented capstone API that meets an exact contract.

What you'll learn

  • Write, compile and debug Java programs using classes, records, enums, interfaces and collections
  • Process data with generics, lambdas, streams and collectors, and keep money exact in paise
  • Handle exceptions, read and write files, and import messy CSV data with line-numbered errors
  • Build REST endpoints with Spring Boot that return correct status codes and one error shape
  • Store and query data with SQL, JDBC, transactions and Spring's JdbcTemplate without SQL injection
  • Test Java and Spring code with JUnit parameterized tests, Mockito and MockMvc
  • Package, configure and deploy a service with Maven, profiles, Docker or systemd and health checks
  • Deliver a complete, documented capstone API that meets an exact contract

Course content

Chapter 1 · Module 1: Java Basics — Syntax and Core Object-Oriented Programming

  • Code lab: How Java Runs: JDK, JVM, javac and Your First ProgramJava is one of the languages most often used to build the server side of business software: banking back offices, insurance portals, logistics tracking, e-commerce order systems and the internal…16 topics · 28 min
  • Code lab: Variables, Types, Operators, Strings and Control FlowEvery backend rule Annapoorna Meals cares about is, underneath, a handful of variables, arithmetic and decisions: add up the order, apply 5% GST, waive the Rs 30 delivery fee above Rs 499, reject a…15 topics · 32 min
  • Code lab: Methods, Classes, Objects and Encapsulation2 works, but every rule lives inside main. When Annapoorna Meals adds a second screen that also needs GST, she would copy the formula, and the day the rule changes one copy will be missed.15 topics · 32 min
  • Code lab: Inheritance, Interfaces, Polymorphism, Enums and RecordsAnnapoorna Meals' backend has to handle things that are alike but not identical.21 topics · 33 min

Chapter 2 · Module 2: Collections and Generics

  • Code lab: Arrays and Lists: ArrayList, Iteration and Choosing a ListAn Annapoorna Meals order is never one item. A family lunch order might hold four lines, the kitchen's morning queue holds sixty orders, and the menu itself is a list that changes every season.16 topics · 30 min
  • Code lab: Maps and Sets: HashMap, TreeMap, HashSet, equals and hashCode1 Priya's Order searched the whole menu for every order line.15 topics · 31 min
  • Code lab: Generics: Type Parameters, Bounded Types and Wildcards1 Priya has been writing List<String> and Map<String, MenuItem> without thinking much about the angle brackets.15 topics · 30 min
  • Code lab: Lambdas, Comparators and the Streams APILakshmi's questions to the backend sound simple: which veg items cost under Rs 150, what did each order come to, how many portions of each item did the kitchen make today, what is the most expensive…22 topics · 32 min

Chapter 3 · Module 3: Exception Handling and I/O

  • Code lab: Exceptions: Checked vs Unchecked, try, catch and finallySo far Priya's programs have assumed perfect input. Real input is not perfect.15 topics · 30 min
  • Code lab: Custom Exceptions, try-with-resources and Validating Input1 every problem became an IllegalArgumentException with a message.14 topics · 31 min
  • Code lab: Reading and Writing Files with java.nio.file and Buffered StreamsUntil the database arrives in chapter 5, and often long after it, business data moves through files.15 topics · 30 min
  • Code lab: Parsing Real Data: CSV Records, java.time Dates and Money with BigDecimal3 read a clean CSV file.22 topics · 33 min

Chapter 4 · Module 4: Introduction to Spring Boot — REST Basics

  • Code lab: HTTP and REST Fundamentals for Backend DevelopersAnnapoorna Meals' customers will order from a mobile app and a website, the kitchen will watch orders on a tablet, and the delivery partners' app will update order status.16 topics · 30 min
  • Code lab: Your First Spring Boot Application: Initializr, Starters and Auto-ConfigurationPriya could write an HTTP server with the JDK alone: open a socket, parse request lines, parse JSON by hand, manage threads.16 topics · 31 min
  • Code lab: Controllers and JSON: Building the Menu and Orders EndpointsWith the project running, Priya can build the endpoints Annapoorna's apps will use: the menu and the orders.15 topics · 32 min
  • Code lab: Dependency Injection, Services, Validation and Error Responses3 use an OrderService and a MenuCatalog that nobody creates with new. Spring creates and hands them over: dependency injection, the reason Spring applications are easy to test and change.22 topics · 33 min

Chapter 5 · Module 5: Working with a Database from Java — JDBC Basics

  • Code lab: Relational Databases and SQL for Java Developers1 forgets every order when it restarts.16 topics · 31 min
  • Code lab: JDBC Fundamentals: Connections, PreparedStatement and ResultSetPriya can now write the SQL; the next step is running it from Java.16 topics · 32 min
  • Code lab: Transactions, Connection Pools and Spring's JdbcTemplateCreating one Annapoorna order writes several rows: one in customer_order and one per line in order_line.22 topics · 33 min

Chapter 6 · Module 6: Testing with JUnit

  • Code lab: Unit Testing Fundamentals: JUnit Tests, Assertions and the Test LifecycleLast week Lakshmi asked for the free-delivery threshold to move from Rs 499 to Rs 449 for a festival weekend, and back again on Monday.16 topics · 30 min
  • Code lab: Parameterized Tests, Edge Cases and Test-Driven Development1 ended with an uncomfortable discovery: a test with the reference order could not see a GST rounding bug, because 27000 paise has no half paisa of tax.15 topics · 31 min
  • Code lab: Mocks and Spring Boot Tests: Mockito, MockMvc and Test SlicesThe billing rules are easy to test because they are pure functions. OrderService is not: it calls a MenuCatalog, an OrderRepository backed by PostgreSQL, and soon an SMS sender.21 topics · 33 min

Chapter 7 · Module 7: Packaging and Deployment Basics

  • Code lab: Maven: Project Structure, Dependencies and the Build Lifecyclemeals-api now depends on Spring Boot, a JDBC driver for PostgreSQL, H2 for development, a validation library, JUnit and Mockito for tests, and each of those depends on further libraries: well over a…17 topics · 30 min
  • Code lab: Configuration, Profiles, Logging and Keeping Secrets Out of CodeThe same meals-api JAR will run in three places: on Priya's laptop against H2, on a staging server that Arjun tests against, and on the production server with Annapoorna's real PostgreSQL database.16 topics · 31 min
  • Code lab: Running in Production: Executable JARs, Docker and a Linux ServerCode on a laptop earns Annapoorna Meals nothing.21 topics · 33 min

Chapter 8 · Module 8: Capstone — Build the Annapoorna Meals Order API

  • Reading: Capstone Brief: Requirements, Design and Build Plan for meals-apiAnnapoorna Meals is ready to take real orders. Lakshmi has signed off the mobile app designs, Arjun has a test plan, and Rahul has agreed the release rules.8 topics · 40 min
  • Code lab: Building, Testing and Hardening meals-api Step by StepEach chapter built one piece of meals-api in isolation.15 topics · 40 min
  • Assignment: Capstone Deliverables, Demo Script and Grading RubricSubmit one archive or one repository link containing everything below.8 topics · 35 min

Assessments and certificate

  • Module 1 quiz: Java Basics — Syntax and Core Object-Oriented Programming8 questions · 15 min · pass mark 70%
  • Module 2 quiz: Collections and Generics8 questions · 15 min · pass mark 70%
  • Module 3 quiz: Exception Handling and I/O8 questions · 15 min · pass mark 70%
  • Module 4 quiz: Introduction to Spring Boot — REST Basics8 questions · 15 min · pass mark 70%
  • Module 5 quiz: Working with a Database from Java — JDBC Basics7 questions · 15 min · pass mark 70%
  • Module 6 quiz: Testing with JUnit8 questions · 15 min · pass mark 70%
  • Module 7 quiz: Packaging and Deployment Basics8 questions · 15 min · pass mark 70%
  • Module 8 quiz: Capstone — Build the Annapoorna Meals Order API7 questions · 15 min · pass mark 70%
  • Java Programming & Backend Development Fundamentals — final assessment20 questions · 40 min · pass mark 70%

Related courses

Frequently asked questions

Can I get a refund for Java Programming & Backend Development Fundamentals?

Yes. You can request a full refund within 7 days of purchase, provided you have completed no more than 25% of the lessons, not started the final exam and not been issued a certificate. Pre-orders of a course that has not launched yet can be refunded in full any time before launch. Email refunds@trainskool.com with your order reference; approved refunds go back to your original payment method.

How long do I have access to the course?

Lifetime access. A one-time payment of ₹1,499 keeps the course in your TrainSkool learning dashboard, on the web and in the TrainSkool apps, with no subscription to cancel.

Do I get a certificate?

Yes. TrainSkool issues a certificate when you meet the course requirements, including passing its 9 graded assessments. Every certificate has a public verification link that employers can check.

Are there any prerequisites?

No. The course is designed for beginners and starts from the fundamentals.

How is the course delivered?

Online and self-paced: 8 modules and 28 lessons, about 14h 57m of study, with graded assessments. Learn in your browser or the TrainSkool Android and Windows apps.