ztkmkoo / dss

Asynchronous distributed server system (dss)
MIT License
19 stars 13 forks source link

Add jdbc data access layer interface #64

Open ztkmkoo opened 4 years ago

ztkmkoo commented 4 years ago

Add jdbc data access layer interface. In nowaday dss system, we need impletment singleton DAO(data access object) and call it in service actor. It is so inefficient that add a data acess layer interface and user implement it, at last we run the data access actor in the background can work greate.

ztkmkoo commented 4 years ago

Sample service class diagram.

class-diagram

We inject the service when server start, and we service this as as actor(Maybe register in io.github.ztkmkoo.dss.core.actor.rest.DssRestMasterActor or new actor?). When we have to access to database, send message to this actor, and after success send back to the service actor

JuHyun419 commented 4 years ago

@JuHyun419

ztkmkoo commented 4 years ago

@JuHyun419 Hi there, Is it on process? If not i wanna unassign this one.

JuHyun419 commented 4 years ago

ok~ I got it.