this post was submitted on 22 May 2024
15 points (100.0% liked)

Java

1365 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 1 year ago
MODERATORS
 

I teach a course in java and springboot for beginners. I would like to walk my students through the code of a real world java or springboot application. Can anyone recommend a good example?

top 7 comments
sorted by: hot top controversial new old
[–] Toes@ani.social 4 points 5 months ago (1 children)

Have the students create a simple Minecraft mod.

If you're part of a large academic group they likely have a Microsoft contact that can hook you up with educational licenses, much like they do for office and other services.

[–] abbadon420@lemm.ee 2 points 5 months ago

I'll check that out, thanks

[–] deathmetal27@lemmy.world 3 points 5 months ago* (last edited 5 months ago)

I'd suggest studying the code of the Spring Pet Clinic webapp. It will teach you how to engineer a simple three tier webapp.

https://github.com/spring-projects/spring-petclinic

However this is heavily geared towards the Spring framework and not core Java. But this project showcases best practices for writing code and structuring a project.

[–] pkill@programming.dev 3 points 5 months ago

anything that builds upon integration with external data sources and APIs, so JDBC drivers for example

[–] silasmariner@programming.dev 2 points 5 months ago* (last edited 5 months ago) (1 children)

Yes, loads; but without knowing what kinda stuff you want to learn to do, I wouldn't recommend anything in particular

Edit: might as well give some ideas though... Some libraries such as http frameworks will have some examples projects that use it, sometimes even in the core repo under ./examples or something. There are lots of small personal projects from random GitHub users that you can stumble across. Many useful and well written libraries are small enough to be approachable. But which of those to recommend depends on what you want to do with your code.

[–] abbadon420@lemm.ee 1 points 5 months ago (1 children)

Good point, I've edited the post

[–] silasmariner@programming.dev 1 points 5 months ago

Ah cool. Well I guess I'd better back myself then. I'll take a look at a few and tell you what I like...