r/JavaProgramming • • Jun 12 '26

Backend Developer of 2YOE, not sure If I want to continue as a backend developer

9 Upvotes

A Bit About My Background: I graduated with a Computer Science degree from a reputable university. During my studies, I never really enjoyed school projects or homework; in fact, they often caused me so much stress and anxiety that I occasionally didn't finish them. I managed to pass my courses by focusing heavily on preparing for exams, but it’s fair to say I didn't enjoy coding at the time. Later, I completed a long-term internship where I rotated through both AI and backend departments, but neither field really clicked for me.

My Current Role: After graduation, I applied for both data analyst and developer roles and ultimately landed a job as a backend developer in the banking sector. The job itself isn't incredibly difficult, but I often find myself bored due to heavy internal processes and a general lack of technical challenge.

That said, there have been moments I genuinely enjoyed. I liked the few tasks where I had the freedom to design a system from scratch or implement performance optimizations. Unfortunately, those assignments are rare. Most of my day-to-day work involves fixing user errors, refactoring legacy code, or handling routine version updates.

My Dilemma: Because my current role isn't challenging, I’ve tried switching to a new job, but I haven't been able to prepare properly for interviews. I find myself stuck in a loop of indecision, which prevents me from focusing on upskilling in backend development or making a definitive career move.

I’m trying to figure out: Is it possible that backend development just isn't the right fit for me, or is my dissatisfaction mostly a byproduct of my current role and industry? Would it make sense for someone with my profile to transition into product management, sales engineering, or solutions engineering? How should I approach making this decision?


r/JavaProgramming • • Jun 11 '26

Built a Complete Cafe Management System in Java Swing & MySQL (Full Project Series)

Post image
9 Upvotes

Hi everyone,

I've been creating a complete Cafe Management System from scratch using Java Swing, MySQL, JDBC, and JasperReports. The playlist covers database design, login system, dashboard, product management, order processing, billing, reports, and more.

The goal is to help Java learners build a real-world desktop application step by step instead of just following small examples.

If you're learning Java Swing or working on academic/final-year projects, you might find it useful. Feedback and suggestions are welcome.

🎥 Full Playlist:
https://www.youtube.com/playlist?list=PLR_BEPp_tMBuAbMEz44oY9rpYRb4fBiIQ

Topics covered:

Java Swing GUI Design
MySQL Database Integration
JDBC CRUD Operations
Dashboard Development
Billing System
JasperReports
Complete Project Architecture

Thanks for checking it out! ☕💻

#Java #JavaSwing #MySQL #JDBC #Programming #SoftwareDevelopment #DesktopApplication #JasperReports #Coding #LearnJava


r/JavaProgramming • • May 28 '26

I'm a solo dev with a product in production (25k users). Took a full day to update documentation before writing tests. Here's the reasoning, in case it helps anyone in the same spot.

9 Upvotes

Quick context before the meat: I run a product that already has ~25k users on a legacy web stack. Spent the last few months rebuilding the backend from scratch (Java 21, Spring Boot 3.4, PostgreSQL 17, hexagonal architecture, 16 bounded contexts). Now heading into the testing phase before launching the mobile app.

Yesterday I blocked an entire day for documentation. No code. Just docs.

To other solo devs and small teams reading this — that decision felt wasteful in the moment. I want to explain why I did it anyway, and what it actually changed.

**The pressure you feel solo is the pressure to ship features, not to document them**

When you're solo, every hour spent on something that isn't directly shippable feels like theft from the launch date. Documentation is the textbook example. Nobody's going to read it but me. So why bother?

The answer I keep arriving at: because future-me is a different person from present-me, and future-me forgets fast.

Six months from now I'll be onboarding a second dev for the web frontend refactor. That dev needs to understand decisions I made in my head and never wrote down. Without docs, every onboarding question becomes me reading my own code archeologically to remember why something is the way it is.

**The real reason I did it now, not later: tests need a spec**

Here's the thing about writing tests for a system you built fast: a test asserts behavior. If the behavior was decided ad hoc, every test you write is also deciding behavior ad hoc.

Concrete example. Endpoint `POST /tasks/{id}/complete`. What happens if the task belongs to another user?

Three reasonable answers:

- 404 (don't reveal it exists)

- 403 (admit it exists, deny access)

- 401 (treat as unauthenticated)

If I sit down to write the test without a spec, I pick one. Whichever I pick becomes the de facto spec, and it's now baked into the test.

Six months later, a different reading of the test ("ah, it returns 404, so we hide existence") leads someone to implement a related endpoint inconsistently. Now you have two endpoints answering the same shape of question differently.

The doc forces the decision OUT of the test code and INTO a canonical place.

**What I documented**

8 docs. The two with the highest ROI:

**1. API_CONVENTIONS.md** — every endpoint obeys one envelope shape. Every error has a code from a closed list. Pagination, dates, idempotency keys, rate limiting — all specified once, referenced everywhere.

**2. TEST_CASES.md** — a matrix per module. UC ID, functionality, actor role, HTTP action, happy path, sad path. The UC ID is the test method name. Writing tests now feels like translating rows, not designing them.

**The decision that took longest to write down**

Authorization is read from the database, not from the JWT claim.

It sounds trivial. It's actually a load-bearing decision with cascading consequences:

- Demoted users lose powers instantly (token doesn't need to expire)

- Role changes are immediately reflected in audit logs

- Every authorization test must seed the DB with a specific role, not just craft a JWT

- Defense in depth: even if a JWT is forged with a fake admin claim, the DB lookup will return the real role

I'd internalized this rule months ago. Writing it down took 20 minutes and clarified for me how to structure every single authorization test in the system.

**The honest cost**

A full day. About 9 hours including reviews. Some of that was rewriting docs that already existed but had drifted.

**The honest benefit**

I haven't measured it yet because I just started writing tests today. But here's the indirect benefit I already noticed: when I review old code now, I notice inconsistencies I couldn't see before. Three endpoints returning slightly different envelope shapes. Two modules calling each other directly instead of via Facade. None of these would have shown up as bugs — but they'd have shown up as confusing tests.

If you're solo or on a small team and "I'll document it later" is a recurring line in your head — block a day. It's the kind of work that compounds.


r/JavaProgramming • • May 13 '26

Java Variables and Data Types Quiz: Can You Score 30/30?

9 Upvotes

Test your basic knowledge on Java variables and data types with 30 important quiz questions. Whether you are a beginner, student, or preparing for coding interviews, this quiz will improve your Java fundamentals. Try the quiz and comment with your score! Can you get 30/30? https://www.scientecheasy.com/2026/05/java-variables-and-data-types-quiz.html/


r/JavaProgramming • • May 10 '26

JAVA practice

9 Upvotes

hi

I'm looking for a java practice partner, advanced level.

I understand things, but somehow days go by without coding.

I'm only active when I'm talking to someone while practicing, otherwise I'm somehow uninterested 😞


r/JavaProgramming • • Mar 27 '26

Telusko new java course of 60+ hours

9 Upvotes

Telusko just launched a new course covering everything about java full stack (I'm assuming). i previously did his java beginners course and I really enjoyed it.

i mainly just practice dsa in java, no real dev work. but i wanna get into java full stack like springboot and all. is this 60+ hour course worth investing my time in??


r/JavaProgramming • • Mar 16 '26

Best Java (Core + Advanced) Free Course?

9 Upvotes

I know Basics java. but i wanted to learn Advanced java. please suggest me some good free resources to learn core as well as advanced java. please also tell me roadmap to learn.


r/JavaProgramming • • Feb 22 '26

Java begginer guide

9 Upvotes

I just started my university. I've zero knowledge about java or any programming language.

How can i start my journey from noobie to pro.


r/JavaProgramming • • Jan 28 '26

Spring Sentinel: A Maven Plugin for automatic Spring Boot Auditing (JPA, Security, Performance)

9 Upvotes

Hi everyone! 👋

I've been working on a tool called Spring Sentinel, and I've just released the v1.1.2 as a Maven Plugin via JitPack.

What is it? Spring Sentinel is a static analysis tool specifically designed for Spring Boot. It scans your source code and configuration to find common "smells" and performance bottlenecks before they hit production.

What does it check?

  • JPA/Hibernate: Detects potential N+1 queries in loops and flags inefficient EAGER fetching strategies.

  • Transaction Safety: Finds blocking I/O (like REST calls or Thread.sleep) accidentally placed inside u/Transactional methods.

  • Architecture: Identifies Field Injection (recommends Constructor Injection) and manual thread creation.

  • Security: Scans for hardcoded secrets (passwords, API keys) in your fields.

  • Performance: Checks if u/Cacheable methods are missing TTL configurations and validates OSIV status.

How to use it? It's now fully integrated with Maven! You just need to add the JitPack repository and the plugin to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<build>
    <plugins>
        <plugin>
            <groupId>com.github.pagano-antonio</groupId>
            <artifactId>SpringSentinel</artifactId>
            <version>v1.1.2</version>
        </plugin>
    </plugins>
</build>

Then, simply run: mvn com.github.pagano-antonio:SpringSentinel:audit

Output: It generates a visual HTML Dashboard and a JSON report (perfect for CI/CD) in your target/spring-sentinel-reports/ folder.

I'm looking for feedback! 🚀 I developed this to help the community write cleaner and more efficient Spring code. Any feedback, feature requests, or criticism is more than welcome. What other checks would you find useful?

Repo link: https://github.com/pagano-antonio/SpringSentinel


r/JavaProgramming • • Jan 27 '26

Project Panama and Valhalla - is Java optimal for games and computation heavy processes now?

9 Upvotes

Recently I've come across java gamedev and Im trying to do some simple renderers or games using OpenGL libraries. As far as I know, Java has always been considered bad for game development because of optimization issues related to garbage collector and the way data is stored.

However, I also found out about Project Panama and Project Valhalla which are supposed to address that, but I can barely see any valuable information and reviews/opinions on that. So here I am, asking you, have you seen/tried any of those project's features and will it make Java suitable for e.g. gamedev?


r/JavaProgramming • • Dec 22 '25

Best books on OOP

9 Upvotes

What is the best book on Object Oriented Design you have come across? Prefer something that is not in a textbook style.


r/JavaProgramming • • Dec 20 '25

Java Backend / Fullstack developer

9 Upvotes

Hi, I’m a Java developer currently looking for job opportunities. My background is mainly in backend development, with practical experience building REST-based applications and full-stack projects. I focus on writing clear, maintainable code and understanding the underlying behavior of the frameworks and tools I use. Technologies & Stack I work with: Java Spring Boot (Spring Data JPA, Hibernate, Spring Security) RESTful APIs PostgreSQL, MySQL, SQL Angular, TypeScript HTML, CSS Vaadin Maven, Git Postman Experience & Approach I have worked on several projects involving backend services, database design, API development, and frontend integration. My approach emphasizes clean architecture, separation of concerns, and correctness over shortcuts. I aim to understand performance, data flow, and framework behavior rather than relying on black-box usage. Looking For I’m looking for a Java Backend or Full-Stack Developer position (Junior/Mid level), in a team that values solid engineering fundamentals, readable code, and continuous learning.

For Additional info dm me.


r/JavaProgramming • • Dec 17 '25

Day 2 of learning Java

9 Upvotes

Today I learned how to use loops in Java and how to create classes. I revisited the mortgage calculator I built on Day 1 to implement input validation and refactor the code by breaking the project into methods.


r/JavaProgramming • • Dec 10 '25

Day 12 of Learning Java

9 Upvotes

Hello everyone, today I have focus on theory part of the OOP, learned what is Abstract class, why we need polymorphism and encapsulation and basics of getters and setters. See you tomorrow.


r/JavaProgramming • • Dec 09 '25

Day 11 of Learning Java

9 Upvotes

Hello guys, I learned about the basics of inheritance and the extends keyword today. I also learned why Java doesn't support multiple inheritance of classes and how to overcome this limitation using interfaces. See you tomorrow !


r/JavaProgramming • • Dec 01 '25

Day 3 of Learning Java

9 Upvotes

Today I learned about operators, the difference between primitive and reference datatypes, and also explored the Math class and Scanner class.


r/JavaProgramming • • Nov 29 '25

Looking for java full stack partner to team up to do some project while learning

9 Upvotes

Looking for a partner to build a Java + Spring Boot + React project. Goal: practice REST APIs, databases, and deployment.”


r/JavaProgramming • • Sep 22 '25

How to get moving in Java after learning core and oop?

9 Upvotes

How do I go ahead in java? I learned java basics, collections, multi thread, stream, oop etc. I am in my 3rd year learning dsa and core subjects.

I also know python, flask and javascript and have made a web development project to understand app development and working with databases (sqlite) etc as a course requirement. But now I am more interested in Java.


r/JavaProgramming • • May 24 '25

My journey of java from 0

9 Upvotes

I will learn the basics and upload my progress stay tuned to see my first program in java gg guys!!


r/JavaProgramming • • Apr 13 '25

Top 50 Java Programs from Coding Interviews

Thumbnail
javarevisited.blogspot.com
9 Upvotes

r/JavaProgramming • • Mar 08 '25

Top 22 Libraries Java Developers Should Learn

Thumbnail
javarevisited.substack.com
9 Upvotes

r/JavaProgramming • • Sep 12 '24

Advantages of Spring Boot

Post image
9 Upvotes

r/JavaProgramming • • Aug 30 '24

String Comparison in Java by using compareTo() Method

Post image
9 Upvotes

r/JavaProgramming • • 6d ago

What common mistakes do beginners make while solving DSA problems in Java ?

8 Upvotes

Many beginners start learning Data Structures and Algorithms but struggle to solve problems independently. I'm curious to know what challenges Java beginners face while practicing DSA.