r/learnjava • • Mar 01 '26

“Full-Stack Developer” Is a Mindset by Maciej Walkowiak. 97 Things Every Java Programmer Should Know: Collective Wisdom from the Experts

5 Upvotes

In this book Maciej Walkowiak writes:

In 2007—the year I started working my first job as a Java developer —the spectrum of technologies involved in day-to-day web development was quite narrow. Relational databases were in most cases the only type of database a developer needed to know. Frontend development was limited to HTML and CSS, spiced with a bit of JavaScript. Java development itself meant primarily working with Hibernate plus either Spring or Struts. This set of technologies covered almost everything necessary for building applications at that time. Most Java developers were actually full-stack developers, though that term had not yet been coined.

Things have changed significantly since 2007. We started building more and more complex user interfaces and handling this complexity with advanced JavaScript frameworks. We now use NoSQL databases, and almost every one of them is very different from the others. We stream data with Kafka, message with RabbitMQ, and do a lot more. In many cases, we also are responsible for setting up or maintaining the infrastructure with Terraform or CloudFormation, and we use or even configure Kubernetes clusters. Overall complexity has grown to the point that we have separate positions for frontend developer, backend developer, and DevOps engineer. Is it still possible to be a full-stack developer? That depends on how you understand the term.

You can’t be an expert in everything. Considering how much the Java ecosystem has grown, it’s hard to even be an expert in Java itself. The good thing is that you don’t have to be one. For many projects, especially in smaller companies, the most beneficial team setup is when each area of expertise is covered by at least one expert, but these experts don’t limit themselves to working only on that one area. Developers specialized in developing backend services can write frontend code—even if the code isn’t perfect—and the same thing goes for frontend developers. This helps move projects forward more quickly, as one person can develop a change that requires touching every layer of the application. It also leads to greater engagement during refinement meetings, as there are no tasks isolated only to a certain group of people.

Most importantly, not being strictly limited to one area changes how you approach tasks. There are no “It’s not my job” discussions anymore—developers are encouraged to learn. Having one person go on vacation is not an issue because there are always others who can cover for them—maybe not as efficiently, and maybe with results that aren’t quite as good, but enough to keep things moving forward. It also means that when there is a need to introduce a new technology to the stack, you don’t need to find a new team member, because existing team members are already comfortable leaving the comfort zone of their expertise.

Full-stack developer is therefore a mindset. It’s being senior and junior at the same time, with a can-do attitude.

Do you agree with him? How would your team/organization deal with cases that the author described above ? Is it obvious knowledge everybody follows in IT today ?


r/learnjava • • Feb 28 '26

Spring Boot + MongoDB Saving Data to test Database Instead of Configured DB

3 Upvotes

Hello everyone,

Recently I started working with Spring Boot and MongoDB. I configured the application.properties file properly for MongoDB, but I’m facing an issue.

After creating REST APIs and inserting data, the data is getting persisted in the default test database instead of my configured database.

I have tried multiple fixes, but the issue is still not resolved.

</> application.properties
spring.application.name=TestMongoDB
server.port=8081
spring.data.mongodb.uri=mongodb://localhost:27017/db_mongo

r/learnjava • • Feb 28 '26

Doubt regarding Functional interfaces in Java

Thumbnail reddit.com
3 Upvotes

r/learnjava • • Feb 28 '26

A doubt regarding learning Java internals

8 Upvotes

Can I, apart from office work, dive into the internals? Eg: How things are allocated/deallocated inside the JVM, how exactly virtual threads work, what happens exactly in streams and how jdbc fetches rows from database, the pros and cons of different garbage collectors, all up to the implementation level? Due to some task I needed to dive into g1gc Hotspot and understand a part of it, it felt very good like a flow state. Is this a reasonable hobby which I can pursue? Why is this discouraged in the industry. Also, how much time will it take for me to understand most of the things to an intuitive satisfactory level?

Also, are there any more such books which teach internals like GC handbook which I can use to understand the OSS better?


r/learnjava • • Feb 28 '26

[Mooc.fi] part 10 exercise 8 weighting missing instructions

1 Upvotes

These are the methods you need to change to compete the exercise correctly:

Hold

  • totalWeight()
  • printItems()

Suitcase

  • totalWeight()
  • printItems()

NB: Suitcase::heaviestItem() is already solved.

A hint: you can call a method of an object in a stream by using "foreach()"


r/learnjava • • Feb 27 '26

How to get started with making projects

Thumbnail reddit.com
3 Upvotes

r/learnjava • • Feb 27 '26

I am early at learning java yet I don't make mistakes

0 Upvotes

I started learning java few days ago following the recommended MOOC course. My concern isn't that I am stuck or that I don't understand nothing, it's that I don't make mistakes which made me wondering if I am actually learning. my mistakes is just forgetting a single thing and that's it.


r/learnjava • • Feb 27 '26

Guys I'm thinking of joining kodnest for their 6 month java full stack development course... any thoughts?

0 Upvotes

Guys I'm thinking of joining kodnest for their 6 month java full stack development course... any thoughts?The course is of 32k and I'm thinking of shifting to banglore


r/learnjava • • Feb 26 '26

I am a beginner in java

9 Upvotes

any tips?, from where should i learn the language ?


r/learnjava • • Feb 26 '26

API trace Logging

Thumbnail reddit.com
1 Upvotes

r/learnjava • • Feb 26 '26

Switching from Selenium Automation (1 YOE) to Java Backend – Need Guidance

0 Upvotes

Hi everyone,

I have 1 year of experience working in automation testing using Selenium with Java. I’m planning to switch my career path to Java backend development because I’m more interested in development roles.

I would really appreciate some guidance on:

How should I prepare for a Java backend role?

What technologies should I focus on (Spring Boot, databases, cloud, etc.)?

How many months of preparation would realistically be required while working full-time?

Is it difficult to switch into backend development with 1 year of testing experience?

Will I be considered a fresher again, or can I switch as a 1-year experienced developer?

If anyone has made a similar switch, I’d love to hear your experience and suggestions.

Thanks in advance!


r/learnjava • • Feb 26 '26

guys i need help its urgent im preparing for the placement i need to learn java for that and there is a problem i dont have much time left guys pls tell me how i do this i know python but i was bad witht he class there but guys help me pls otherwise i will end up unemployed

0 Upvotes

any yt video playlist which is not long but enough to teach me bcz im noob and java is litterally first time for me .

any help which can take me there


r/learnjava • • Feb 26 '26

Help with dependencies!! Autocomplete not working in intellij

1 Upvotes

Hi everyone,

I'm new to Java as part of my Uni course, so apologies if any of this stuff is obvious beginner mistakes :P I'm using IntelliJ and for my coursework I need JUnit and Mockito installed, so I copied their dependency xmls from https://mvnrepository.com. This is how my pom.xml looks:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.com1034.lab4</groupId>
    <artifactId>TravelAgency</artifactId>
    <version>1.0-SNAPSHOT</version>

    <properties>
        <maven.compiler.source>25</maven.compiler.source>
        <maven.compiler.target>25</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <!-- Source: https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
            <version>5.13.4</version>
            <scope>test</scope>
        </dependency>
        <!-- Source: https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-api</artifactId>
            <version>5.13.4</version>
            <scope>test</scope>
        </dependency>
        <!-- Source: https://mvnrepository.com/artifact/org.mockito/mockito-core -->
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>5.21.0</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.com1034.lab4</groupId>
    <artifactId>TravelAgency</artifactId>
    <version>1.0-SNAPSHOT</version>

    <properties>
        <maven.compiler.source>25</maven.compiler.source>
        <maven.compiler.target>25</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <!-- Source: https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
            <version>5.13.4</version>
            <scope>test</scope>
        </dependency>
        <!-- Source: https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-api</artifactId>
            <version>5.13.4</version>
            <scope>test</scope>
        </dependency>
        <!-- Source: https://mvnrepository.com/artifact/org.mockito/mockito-core -->
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>5.21.0</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>

IntelliJ is definitely picking up my dependencies as I can create and run JUnit tests with the built-in tools. However, for some reason, I cannot for the life of me get autocomplete working. I can't type assert[...] and have it provide suggestions i.e. assertTrue, assertEquals etc. Same thing for mockito; typing mock() does not automatically import the function and I have to manually type in imports. This is really annoying because I have to google what part of each dependency every function I am using is from, and in the past I have had autocomplete work fine. I've tried:

  • every step in Repair IDE
  • mvn clean install
  • invalidating the cache
  • installing different versions of each dependency
  • downloading sources and documentation

to no avail. I am truly at my wits end here; I have no idea why this isn't working. If anyone has ANY idea what on earth could be going on, please help :(


r/learnjava • • Feb 25 '26

Requesting feedback

5 Upvotes

Hi everyone, I've made my first Java package!

https://github.com/david-auk/fluid-jdbc

Its a lightweight minimal tool that allows you to map classes to database tables for a minimal/easy way to interact with a database

Its a tool that during development i found out already had alternative solutions... But i decided to push through and just focus on making it as a personal challenge.

I'm a student that is relatively new to OOP but captivated by the concept of abstract/DRY programming & opensource and id love to make this educational project even more so by checking what feedback other people have!

I'm mostly curious about:

  • If my documentation is self explanatory
  • How my documentation can be improved
  • Advice on how i can involve other people in the project
  • If i chose the correct license for a opensource non profit project
  • How i could devise a project roadmap
  • Any other feedback that pops into mind :)

Do you think this is the right subreddit for these types of questions?

This is my first sharing my projects online but no risk = no learning experience ;)

I'd love to hear from y'all!


r/learnjava • • Feb 25 '26

Next steps as a complete beginner?

1 Upvotes

I started learning Java, my first language, around a week ago. In this time, I've learned about the very basics, like primitive data types, simple arrays, loops, conditionals, etc. I've built a few small things like a couple different calculators and such, but I'm pretty overwhelmed by the vast amount of things I need to learn. I really don't know what I should be doing next, and I don't feel like I have the knowledge to actually try and build anything more complex. Trying to read others' source code hasn't done me much either; most advice says that if I can understand X% of it, then I can try to fill in the gaps, but most code I've tried to look at is way beyond me.

I'd really appreciate any suggestions for what to do next. Any subject/concepts I should work towards learning? Any projects that aren't too advanced that I should give a shot? I'm committed to learning, but I genuinely don't think that bashing my head against a brick wall trying to understand open source code that I understand maybe 5% of is doing me any favors.


r/learnjava • • Feb 25 '26

I built a Console-Based Library Management System in Java – Looking for feedback

Thumbnail
reddit.com
0 Upvotes

r/learnjava • • Feb 25 '26

documentation problem

0 Upvotes

I’ve been working with Spring Boot APIs for a while, and one recurring problem I keep seeing is how difficult it is to understand a codebase quickly when documentation is missing, outdated, or incomplete.

Even when tools like Swagger/OpenAPI are present, they often only show the technical contract (endpoints, request/response), but not the actual intent, business context, or how everything connects. As a result, onboarding to a new project can take days or weeks just to understand what the system really does.

In many real-world projects I’ve seen:

  • README files are outdated or too generic
  • Swagger exists but doesn’t explain business logic
  • Important context lives only in developers’ heads
  • Understanding the flow requires manually reading multiple classes

So my question is:

How do you currently handle documentation and onboarding for Spring Boot APIs?

  • Do you rely only on Swagger/OpenAPI?
  • Do you manually maintain README/docs?
  • Do you feel documentation is usually sufficient?
  • Or do you also struggle with this?

I’m trying to understand how common this problem really is and what solutions people are using in practice.


r/learnjava • • Feb 25 '26

seeking feedback on my first full-stack CRUD project

4 Upvotes

Hi everyone! I'm a student preparing for my first job! I recently finished my first CRUD Todo app for practice:

https://github.com/punchman340/TodoApp

I tried to keep the structure clean using a 3-layer architecture, but I'd appreciate feedback from experienced devs on a few things:

  1. My project architecture follow the standard practices?
  2. Are there any bad coding habits I should fix?
  3. What's missing or could be improved in my comments and README?

+ Are there any good open source repos you'd recommend for study?

I know it’s probably far from perfect, so I’d really appreciate your advice! Thanks for your help!


r/learnjava • • Feb 25 '26

What is the difference between an array and lists?

11 Upvotes

Hey everyone,

I've been studying through the course on mooc.fi and just now I faced this paragraph:

"Next let's explore algorithms associated with retrieving and sorting information. While the following examples utilize arrays, the algorithms shown will also work with other data-structures meant for storing information, such as lists."

Turns out I didn't really infer that array and lists are two different things as I've gone through the course. What exactly is the difference between these two data-structures?

Thank you in advance!


r/learnjava • • Feb 25 '26

Best open source Java projects for me to read?

30 Upvotes

I heard that reading good code from others is a really effective way to learn programming. What are some good open source projects i could read?


r/learnjava • • Feb 24 '26

What is a constructor and why we use it

7 Upvotes

So I am learning constructors now the point I don’t realize is why do I have to declare my variables or non static fields inside a constructor when I already did it inside the class.if jvm makes one why should I create an constructor my self why should I use an con’s in the first place.can anyone explain what is it and what is its applications and why it is necessary.thank you for reading this


r/learnjava • • Feb 24 '26

When do you switch from HTML + CSS reporting to Jasper related tools for reporting?

2 Upvotes

Hi java devs!

I know this question is very closed to our ecosystem because Jasper Reports as we know is an enterprise reporting tool for Java applications with that .jrxml to .jasper process to show our reports to our customers in the application.

So I am more interested in when is necessary for us as developers switching from a lightweight form of doing reports with HTML + CSS -> PDF to migrating with jasper Reports that is something more robust and enterprise-like.

thank you for your responses in advance.

Best regards.


r/learnjava • • Feb 23 '26

Book recommendation system with Java Spring

3 Upvotes

I want to learn Java and apply for a junior position at a bank, and I have a learning project idea.

Book recommendation system. Java Spring + FastAPI mikroservice added later. Everything in Docker, deployed on Google Cloud Run or other VM.

I've been having serious problems finding a job with my Django/FastAPI skills. I know the basics of Docker, GitHub Actions, Celery and Redis.

I picked this project because I have a genuine interest in ML and books. Will it be acceptable for a Java portfolio?

My idea is to quickly learn Java syntax and features through the Helsinki University MOOC and develop a simple app at the same time. The app will start as a basic CRUD with Postgres and Google/GitHub login, then I will add book tracking and ratings. Later it will be connected to a FastAPI ML service or some other service.

Everything in Docker with GitHub Actions for CI/CD. README with all the problems I ran into and how I solved them.

Anything I should worry about? Is this kind of project a good fit for Java Spring, or does Java have better tools/libraries for something like this?


r/learnjava • • Feb 23 '26

Java input handling (scanner), scanner.nextInt vs Integer.parseInt(scanner.nextLine()

10 Upvotes

I am currently learning java for university and found two ways of dealing with use inputs using scanner. Is there a way I should be doing it or is either way fine. Trying to learn best practice

I have found both ways work as intended but I want to know if one is better than the other in terms of best practice for the language.