Swing separable model question

Since swing doesn’t use traditional mvc where would you put the database interaction code?

Ephera
31Y

You can follow the MVC pattern yourself, if you prefer. It’s not a super-complicated pattern and mostly just involves starting with three different packages and classes, and then just calling methods between them.

overflow
creator
11Y

I know but I’d rather use the same pattern as swing

Ephera
21Y

Well, I’m not aware of it encouraging or enforcing any such pattern. I’m certainly not an expert in Swing, but I was shortly taught about it in university (where I think, they taught MVC pattern alongside) and I built a mid-sized application with it, using the MVC pattern.

  • 0 users online
  • 2 users / day
  • 2 users / week
  • 3 users / month
  • 7 users / 6 months
  • 129 subscribers
  • 31 Posts
  • 10 Comments
  • Modlog