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?

4 points

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.

permalink
report
reply
2 points

I’ll check that out, thanks

permalink
report
parent
reply
3 points
*

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.

permalink
report
reply
3 points

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

permalink
report
reply
2 points
*

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.

permalink
report
reply
1 point

Good point, I’ve edited the post

permalink
report
parent
reply
1 point

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…

permalink
report
parent
reply

Java

!java@programming.dev

Create post

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

Community stats

  • 32

    Monthly active users

  • 173

    Posts

  • 282

    Comments