Dubbo Demo (ii) demo

Source: Internet
Author: User
Tags zookeeper

Dubbo Project demo, using the following methods:


1. Install zookeeper on a machine "a" (physical, virtual), then start "Zookeeper-3.4.6\bin\zkserver.cmd".

If the boot is flashing over, then the configuration is not correct, the primary location of the configuration in: Conf/zoo.cfg file path, as follows:
Datadir=c:\\zookeeper-3.4.6\\zookeeper-3.4.6\\data
Datalogdir=c:\\zookeeper-3.4.6\\zookeeper-3.4.6\\logs



2. Run "edu-common-parent, Edu-facade-user, Edu-service-user" in Eclipse on the other machine "B", and note the zookeeper address in the configuration dubbo-provide.xml.


3. Run "edu-common-parent, Edu-facade-user, Edu-web-boss" in Eclipse on another machine "C", pay attention to configuring Dubbo-consumer.


4. Enter the IP address of the "C" machine in the browser: Http://192.168.1.115:8080/edu-web-boss/HelloController/hello.xhtml?message=helloDubbo


5. Download Address: http://download.csdn.net/detail/qq5132834/9639588

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.