NBearV3 Step through Step Tutorial--IOC Progressive Chapter

Source: Internet
Author: User
Tags zip

Version

1.3 [2006-11-12]

Brief introduction

This tutorial shows you how to develop a distributed Web application based on the NBearV3 IOC module, based on the--IOC chapter of the NBearV3 step through step tutorial. You will see that the development of distributed systems is as easy as developing a single-server system based on the Nbear IOC component. This tutorial will also guide you through the considerations of distributed development and non-distributed development in the entity definition.

Note 1:NBEARV3 provides distributed support, from the user perspective, as long as in accordance with the "NBearV3 Step through step tutorial--ioc" way to define the local service interface and implement the same method to define and implement the service interface, and then make a certain configuration and deployment, can not modify the code, It makes it easy to have distributed capabilities without recompiling, and can deploy multiple servers in service units, and can be controlled by SERVICEMQ server to automate load balancing. Within the logic of the Nbear package, SERVICEMQ server is the message center, message delivery is based on. Net remoting, and Castle is implemented as an IOC container.

Note 2: Before reading this article, it is recommended that readers read the NBearV3 step by step tutorial--ioc to master the basics of ORM and IOC in NBearV3.

Goal

Through this tutorial, readers should be able to fully understand the entire process of developing a single-server/Distributed application using the NBearV3 IOC module.

Code

This tutorial shows all the projects and code you created, contained in the Tutorials\ioc_adv_tutorial directory in the NBearV3 latest source code ZIP package that you can download from sf.net. Therefore, if you have any questions in the course of using this tutorial, you can refer to the code directly.

Time

<30 minutes.

Body

Step 1 Download the latest version of NBEARV3 and prepare

1.1 Access to Http://sf.net/projects/nbear, download the latest version of NBearV3 to the local directory.

1.2 Extract the downloaded zip file to C:\, you will see that the NBearV3 directory after the compression includes: Dist, doc, cases, SRC, tutorials directory. In this tutorial, you will use the IOC basic tutorials in all releases of the compiled versions of DLLs and EXE and tutorials directories in the Dist directory.

1.3 Copy the entire ioc_tutorial directory in the tutorials directory to any other location and name it ioc_adv_tutorial, and we will be ioc_tutorial based on the knowledge of the IOC based distributed development in NBearV3.

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.