美文网首页
Build Dubbo + ZooKeeper with Mav

Build Dubbo + ZooKeeper with Mav

作者: 猪迹 | 来源:发表于2018-07-05 18:53 被阅读0次

    Pre-requisite:

    You can read & understand this series without type any code.
    However, if you want to try the process out, you need to have a ZooKeeper up and running somewhere.
    So you may find one or set up one.

    Step 1 Create a new project in IDEA

    File -> New -> Project Select to build with Maven Specify the information Click 'Finish' to create the project Open in a new window

    Step 2 Create an service interface that exposes some thing

    add a package enter name of the package Create a class inside the package Name it and select the type to be interface Expose an interface

    Step 3 Add an implementation for the service

    We need to add an implementation for the service to do the real work.


    Create a new class Name and select type Check the initial status after creation Make it to implement the service interface Select to implement the method automatically Confirm Add some simple output code

    Step 4 Build now to see that the code is good

    'View' -> 'Tool Windows' -> 'Maven Projects' to show the Maven tool-view Check the effect of the tool-view Double-click on 'compile' and see that we build successfully

    相关文章

      网友评论

          本文标题:Build Dubbo + ZooKeeper with Mav

          本文链接:https://www.haomeiwen.com/subject/fyapuftx.html