Module with few classes (Java)


I’m still really new to this (but I’m trying to get better). I’m a teacher who would like to show some real Java code to a first year programming class, but I don’t want to have to show them Eclipse so early in their courses. We us an educational IDE (BlueJ) which doesn’t support a large number of classes, or classes in multiple folders.

So, I’m wondering if there is a module project that has maybe only a dozen or so classes that we could open in our IDE so my students could see real code in use. It would be even better if it were all in the same folder, but I’ll take any suggestions. (Are modules even written in Java… hmm, perhaps I should have looked into that first)

If anyone has worked on a module project, or knows of one, that doesn’t use a lot of Java classes, could you perhaps point it out to me? I would really appreciate it



Hi Howard,

This is one of the modules with the fewest classes:

1 Like

@howardf64 you’re not going to find anything in OpenMRS-land that has all classes in the same folder.

You might want to take a look at and particularly the Java parts of it. The running application is at (This is still just staged and not used in prod yet.)

It’s bigger than a dozen classes, but I think it’s a good example of real-world code that follows good practices. (Disclaimer: I wrote all the Java code in it.)