开发者

Client API + Server Impl

开发者 https://www.devze.com 2023-02-11 15:13 出处:网络
I have a question: how to implement correctly in Java late/dynamic binding. I have a situation, when client has API jar only (interfaces and abstract clas开发者_StackOverflow社区ses) and client wants

I have a question: how to implement correctly in Java late/dynamic binding. I have a situation, when client has API jar only (interfaces and abstract clas开发者_StackOverflow社区ses) and client wants to call server/service (via HTTP), where these interfaces are implemented. How architecturally it can be done? (i like servlet-api/servlet-impl example, and want the same...). Maybe any techniques are already presented?


Java ALWAYS uses late binding. Or did you mean something else from the definition of late binding as it applies to compiled programming languages?

0

精彩评论

暂无评论...
验证码 换一张
取 消