r/learnjava

backend deployment free websites

I use java and spring boot for my backend. Im currently using railway right now since it’s easy to understand and also I can connect my database to it easily. the problem is there’s a subscription and I’m broke right now. do you guys have any recommendations for backend deployment for java springboot that’s free and hopefully could also deploy its database (MySQL). Im still learning sb so hopefully it’s not that complicated to use

reddit.com
u/devco_ — 9 hours ago
▲ 1 r/learnjava+1 crossposts

Complete beginner here. Where to start learning java??

Ive seen many people on yt with teaching java and also I've checked out their java playlist... Apna college then telusko and some many others. Just so confused rn. Pls help

reddit.com
▲ 1 r/learnjava+1 crossposts

Looking for people who want to learn Java together.

I'm building a small community for people who want to learn Java consistently and improve their coding skills. JOIN Whatsapp COMMUNITY 🫂

https://chat.whatsapp.com/C1rsX2p1r9SHLYmil2tPFD

The idea is simple:

*Learn Java together

*Teach what you know to others

*Solve LeetCode problems

*Have quizzes, coding challenges, and mock interviews

Stay consistent and help each other grow

You don't need to be an expert. Beginners and intermediate learners are both welcome. If you're serious about improving your Java skills and enjoy learning with others, feel free to comment or DM me.

Let's build something where everyone learns by teaching and practicing. Humans somehow made coding a social activity, which is probably one of the better accidents we've had.

reddit.com
u/MaleficentCarry1704 — 1 day ago

How can get continue my mood.fi course again after a gap of three months?😭

So i had started learning java in mooc.fi course by the university of Helsinki. And i had reached part 4 file handling but then my college exams came and after then i just lost the motivation to continue it. Yesterday when I opened the course I couldn't recall what I had learned earlier, ofcourse I know revision will help but revising all the four parts would take some time.. do you guys know of any other way to recall the concepts? I am also afraid I have forgotten the tips they gave during the earlier parts and don't wanna lose that but maybe that's inevitable..

reddit.com
u/humble_kerosene — 1 day ago

I just can't grasp the idea of object-oriented java

So, I'm trying to learn java on codecademy and I was fine with hello world and variables until I reached object-oriented java. I don't think they explain the concept well and it's hurting my brain. Maybe it is just codecademy that is screwing me over or something else.

reddit.com
u/snakezal — 1 day ago
▲ 5 r/learnjava+1 crossposts

Beginner (4th year CS) planning one big AI + Spring Boot project instead of many CRUD projects. Need honest feedback

Hey everyone,

I'm a 4th-year Computer Science student and I'm trying to make the best use of the little time I have left before placements.

Instead of building lots of small CRUD applications, I want to learn through one large, production-style that teaches me real backend engineering, system design, cloud, and DevOps concepts.

The idea is called CloudForge.

Idea

A Kubernetes-native, multi-tenant SaaS platform where multiple organizations can register and manage their own workspace while keeping all data completely isolated.

Think of it as building the backend infrastructure behind products like Jira, Asana, ClickUp, or Linear rather than just another project management app.

Planned Features

  • Multi-tenancy (tenant isolation)
  • Authentication & RBAC
  • Organizations
  • Teams
  • Projects
  • Subscription & Billing
  • Feature Flags
  • Notifications
  • Audit Logs
  • Analytics Dashboard
  • Usage Metering

Tech Stack

  • Java 21
  • Spring Boot 3
  • PostgreSQL
  • Redis
  • Kafka
  • Docker
  • Kubernetes
  • Keycloak
  • Prometheus
  • Grafana
  • OpenTelemetry
  • GitHub Actions

Later (Version 2), I'd like to integrate AI:

  • RAG
  • Vector Database (Qdrant)
  • Company Knowledge Base
  • Private AI Assistant for each organization
  • AI Report Generation
  • Semantic Search

The goal isn't to finish everything quickly but to build it incrementally like a real product and learn along the way.

About Me

I'm still a beginner. I know Java and Spring Boot fundamentals, but I want to learn the rest through project-based learning. Since I'm already in my 4th year, I don't have a lot of time, so I'd rather invest it into one that teaches me as much as possible.

I'd love your honest opinions:

  • Is this project too ambitious for a beginner?
  • If you were hiring a new graduate, would a project like this stand out?
  • Which features would you remove or postpone?
  • Would you build this as a monolith first or start with microservices?
  • If you think there's a better project idea that would teach more and have more resume value, I'd genuinely love to hear it.

I'm not attached to this idea. If you have a more interesting or more realistic idea that covers backend engineering, distributed systems, cloud, and AI, please suggest it.

I'm looking for honest feedback—even if you think this is a bad idea.

Thanks in advance!

reddit.com
u/Old_Journalist6008 — 1 day ago

Help me!

I want to learn Java. I currently know Rust and Typescript. I’ve had some experiences with Java, but almost unnoticeable. I want to build apps, simulators, games, etc in Java. So please help to get me started, is there like a guide?

reddit.com
u/Big-Fill-5789 — 1 day ago

Share your experience

Could I ask anyone who would like to share their experience, write when did they start learning, why and how? Where they are now and what advice would they give current learners? I’ll start, I’m almost 20, randomly decided that I wanted to major in computer science and applied to a university in my country. I got accepted with no prior experience in coding(had only taken Harvard cs50 class) and there we started learning Java. Now I’m stuck, because I’m a junior, I did okay during OOP, and very well during Data structures, but our Algorithms professor was horrible, didn’t learn anything, and now I feel guilty for not learning by myself(in my defense I was struggling with Real Analysis). Recently learned basics of SQL, and I keep getting advice to learn web development, even though I’m scared of what the future hold due to AI. All of this lead to me having horrible anxiety during the past few months, and it doesn’t let me to actually focus and start learning. I can’t make myself to even think of coding(even though I really enjoy it). The reason I want to hear your stories is to take some inspiration and maybe stop being so scared lol. Thanks for your attention

reddit.com

How reliable are the JDKs?

I wonder how reliable the JDK releases are. Is it possible that there are bugs in the compiler? Are they being tested thoroughly?

reddit.com
u/AnxiousPeasant16 — 1 day ago

Where to learn Java for Backend Development and Android App Development

I wish to learn Java from scratch for Backend Development and Android App Development. I've zero knowledge about java.
Can someone suggest some structured recourses which I can use to teach myself.

reddit.com
u/Salt_Tomorrow_7987 — 1 day ago

Confusded on what I'm doing wrong in LC problem

I'm doing the Longest Common Prefix LC problem, and got to 66 tests passing out of 126.

One of these tests is "["flower","flow","flight"]", and it's supposed to get "fl" back, but my code gives "flo" back. I've been trying to slowly chip away at these edge cases, but everything I try makes less tests pass in the end. I'm sure there are going to be further issues even after fixing this case, of course.

Please, even if my code "concept" is bad, I want to keep going with it. I'm not gonna restart from the beginning. I'm just a beginner programmer that only programs as a hobby.

class Solution {
    public static String longestCommonPrefix(String[] strings) {
        String prefix = "";
        List<String> prefixStorage = new java.util.ArrayList<>(List.of());

        for (int i = 0; i < strings.length; i++) {
            int j = 0;
            while (j < strings[i].length()) {
                if (strings[i].isEmpty()) {
                    return "";
                } else if (strings[i].length() == 1) {
                    prefix = strings[i];
                } else if ((i < strings.length - 1) && (strings[i + 1].length() == 1)) {
                    prefix = strings[i + 1];
                } else if ((i < strings.length - 1) && (j < strings[i].length()) && (j < strings[i + 1].length()) && strings[i].startsWith(strings[i + 1].substring(0, j)) && strings[i].substring(0, j).length() > prefix.length()) {
                    prefix = strings[i].substring(0, j);
                }
                j++;
            }
            prefixStorage.add(prefix);
        }

        List<String> sortedPrefixStorage = new java.util.ArrayList<>(prefixStorage.stream()
                .sorted(Comparator.comparingInt(String::length))
                .toList());

        return sortedPrefixStorage.getFirst();
    }
}
reddit.com
u/Zeznon — 2 days ago
▲ 4 r/learnjava+3 crossposts

Java with oops

I am learning dsa in cpp .but merr sem exam me java with oops ka subject hai .now can anyone tell how can I learn java lanaguge in short time means yt channel and channel for java with oops

reddit.com
u/No_Butterfly6242 — 2 days ago

About Java Full Stack Devloper

Guyzz I want to learn Java full stack from scratch so where should I learn and what are the main points I need to remember to become good at this.

Thanks

reddit.com
u/FormerCompetition371 — 3 days ago

Advice..

So,finally I have completed- spring core ,hibernate,servlet and now I am going to start spring MVC so can anyone suggest best channel for this and is it ok if I learn from durgesh sir playlist.

reddit.com
u/Comfortable-Pipe-502 — 3 days ago

Moving from core Java/OOP to advanced backend: What is the ideal roadmap?

I have a solid grasp of Java basics, core OOP concepts, and standard syntax. Now, I want to transition into advanced Java and deep-dive into backend development.
I want to make sure I learn things in the right order so I don't overwhelm myself. What does the ideal roadmap look like after mastering OOP? Should I focus on advanced core topics (like concurrency, generics, and streams) first, or jump straight into ecosystems like Spring/Spring Boot and Hibernate?

If you have any highly recommended deep-dive resources or learning paths that worked for you, please let me know! Thanks.
Mostly i prefer books over youtube tutorials

reddit.com
u/Gullible_World7397 — 3 days ago

Any Java backend guy here

Am a fresher and have recently started my career, but currently am allocated to different stream, so need some guidance, if anyone wana connect?

reddit.com
u/Ok_dimension_14 — 3 days ago

Best YT Playlist for DSA in JAVA

Hey guys so i have completed basics of java, i want to know which youtube playlist would be the best to learn DSA in Java from complete zero level , and how? Please be a bit specific about it...

Like i see a video of Arrays and then go to leetcode and select easy level questions of arrays and try solving them and if i can't then a bit of help from AI and then solve that question again on my own... One data structure at a time, is it a good approach ?

reddit.com
u/Infamous_Elk_7094 — 3 days ago
▲ 7 r/learnjava+1 crossposts

Senior Java / Spring Boot engineers — what are the toughest interview questions you've faced or asked at the 8–10 YOE level? (Backend, caching, deployment, Microservices)

Hi folks, I'm preparing for senior-level Java / Spring Boot interviews (targeting roles around the 8–9 years of experience mark) and would love to crowdsource the questions that actually separate good candidates from great ones.

I'm particularly looking for questions — and ideally the depth of answer that's expected — across these areas:

**Core Java & JVM**

- JVM internals (GC tuning, memory model, class loading)

- Concurrency: thread safety, ExecutorService, CompletableFuture, virtual threads (Java 21+)

- Java collections internals and when to pick which

**Spring Boot & Spring Ecosystem**

- Spring Boot auto-configuration, bean lifecycle, conditional beans

- Spring Security (OAuth2, JWT, method-level security)

- Spring Data JPA — N+1 problems, lazy vs eager loading, query optimisation

- Spring AOP and how it's used in real production systems

**Microservices & System Design**

- Service decomposition, inter-service communication (REST vs gRPC vs messaging)

- Circuit breakers, retries, and bulkhead patterns (Resilience4j)

- Saga pattern vs 2PC for distributed transactions

- API gateway patterns and service mesh (Istio, Envoy)

**Caching**

- Redis vs in-memory caching (Caffeine/Guava) — when and why

- Cache eviction strategies, TTL design, cache invalidation

- Distributed cache consistency, thundering herd problem

**Messaging & Event-Driven Architecture**

- Kafka deep dives: partitioning strategy, consumer groups, exactly-once semantics

- Event sourcing and CQRS in practice

- Dead letter queues, retry handling, poison pill messages

**Databases**

- SQL query optimisation, indexing strategies, EXPLAIN plans

- Read replicas, connection pooling (HikariCP), sharding vs partitioning

- NoSQL trade-offs in polyglot persistence

**Deployment & DevOps**

- Docker + Kubernetes in production (rolling updates, HPA, pod disruption budgets)

- CI/CD pipeline design for Spring Boot services

- Blue-green vs canary deployments

- Observability: structured logging, distributed tracing (OpenTelemetry), metrics (Prometheus/Grafana)

**Performance & Architecture**

- Profiling and diagnosing latency issues in production

- Thread pool sizing, connection pool tuning

- Designing for 99.99% availability

Would really appreciate if you could share:

  1. Specific questions you've been asked (or ask yourself as an interviewer)

  2. What a "great" answer looks like vs a "just okay" one

  3. Any gotchas or nuances that trip up even experienced devs

Thanks in advance

reddit.com
u/daanveerKarna — 3 days ago

learning java from scratch

hey guys, I'm a complete beginner who is going to start learning java in college. I wanna start beforehand as we go back to uni in 4 days. give me tip and tricks and the best free sources for me to learn java so that I excel in it in the summer course of uni (1 month and a half)

reddit.com
u/hatelifehateparents — 3 days ago

bluej sucks i cant even learn 2d arrays

like bruh make it easier i cant even remember how to make patterns and loops for more then 1 day

reddit.com
u/HumanAd8864 — 4 days ago