• Post Reply Bookmark Topic Watch Topic
  • New Topic

OOP and synchronization  RSS feed

 
Vesko Jel
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give me a clue. I wanna create Bank account, and fields to be updated regularly. Example if a month elapses the interest is added to balance. Just a hint what to search for.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12563
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about searching for "oop" and "syncrhonization"?

Your question is pretty vague, and the project sounds pretty big. exactly WHAT part are you trying to figure out or need help with?
 
Bill Cruise
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd search for "Java thread synchronization" and see what turns up. I found this article with an example that's similar to what you describe.
 
Vesko Jel
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Bill Cruise. I've thinking threads gonna be the solution. But not yet prepared for them. But i thought there is more simple solution.
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
synchronization need not be part of your solution. for example if you keep state in the database you can depend on the database to ensure transaction safety.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!