.NET Architecture in E-Commerce Application Model

.NET Architecture in E-Commerce Application Model
In the previous article, we looked at the J2EE architecture and its application model in e-commerce applications. This article will present another architecture that is considered a competitor of J2EE - the .NET architecture. The article will also summarize the similarities and differences between the .NET architecture and the J2EE architecture. In the previous article, we looked at the J2EE architecture and its application model in e-commerce applications. This article will present another architecture that is considered a competitor of J2EE - the .NET architecture. The article will also summarize the similarities and differences between the .NET architecture and the J2EE architecture. 1. Overview of .NET architecture As mentioned, J2EE is not a specific product but only the specifications provided by Sun. In contrast, .NET is a set of specifications, technologies, and products developed by Microsoft for developing applications on the Internet, e-commerce. The .NET framework consists of the following main components: Infrastructure and development tools of .NET Platform and application development tools of .NET include - Visual Studio .NET: Application Development Kit. You can use familiar development tools such as Visual Basic, Visual C ++, or new programming tools such as Visual C #. Other programming languages ​​are also supported based on collaboration with third parties: COBOL from Fujitsu, Eiffel from Interactive Software Engineering, 1. The strength of the .NET architecture is that it supports multiple languages. ). Programs written by different languages ​​will be transformed into an Intermediary Language (IL). These IL files are packaged into distribution units, then compiled by the Just In Time IL compiler and executed in an environment called the generic execution environment ( Common Language Runtime - CLR). - ASP.NET: is a new design for presentation tier. ASP .NET is designed to simplify the programming before the real state of client systems and device devices. Programmers do not pay much attention to developing interfaces for many types of clients, instead they only develop a single interface at the display level (based on ASP .NET GUI controls) , the rest will be coordinated and executed by ASP .NET and the CLR generic execution environment on each client device. - ADO.NET: In the .NET architecture model, the database tier is the default for SQL Server. However, to ensure openness, ADO.NET was introduced as the interface between the business tier and the database layer. ADO.NET holds the same role as JDBC in the J2EE architecture model. With this interface, .NET applications can access other databases such as Oracle, DB2,? .NET Enterprise Server: a suite of server products, including SQL Server, Application Server Center, Internet Security Acceleration Server (ISA Server), BizTalk Server, and Commerce Server. - .NET Framework: This is the core of the .NET architecture that works closely with the operating system. It provides an environment for executing .NET applications. You can imagine the .NET Framework is similar to the Java Virtual Machine (JVM) model and the Java Runtime Environment (JRE) in the J2EE architecture. The basic components of the .NET Framework include: 1 AzSoft_watermark_small.png cong-nghe? P = 1 des.txt en_metadesc.txt en_name.txt getpageinfo.sh getpagelink.sh imglink.txt imglist.txt img.AzSoft.com label: Some Text link_original.txt link.txt log.txt meta_desc.txt name.txt news t-142619 testimg2-0.jpg testimg2-1.jpg testimg2.jpg testimg3.jpg testimg.jpg thumb tim-hieu-excel-2016-200.jpg title_vn.txt tmp02.html tmp03.html tmp2.html tmpdesc2.txt tmpdesc3.txt tmpdesc4.txt tmpdesc5.txt tmpdesc6.txt tmpdesc7.txt tmpdesc.txt tmp.html tmpresult.txt tmptrans.txt transresult.txt wm.AzSoft.com www.mailenable.com www .microsoft.com Common Environments for .NET Program Codes: CLR. 1 AzSoft_watermark_small.png cong-nghe? P = 1 des.txt en_metadesc.txt en_name.txt getpageinfo.sh getpagelink.sh imglink.txt imglist.txt img.AzSoft.com label: Some Text link_original.txt link.txt log.txt meta_desc.txt name.txt news t-142619 testimg2-0.jpg testimg2-1.jpg testimg2.jpg testimg3.jpg testimg.jpg thumb tim-hieu-excel-2016-200.jpg title_vn.txt tmp02.html tmp03.html tmp2.html tmpdesc2.txt tmpdesc3.txt tmpdesc4.txt tmpdesc5.txt tmpdesc6.txt tmpdesc7.txt tmpdesc.txt tmp.html tmpresult.txt tmptrans.txt transresult.txt wm.AzSoft.com www.mailenable.com www .microsoft.com Instant Compiler: Just in time IL compiler. 1 AzSoft_watermark_small.png cong-nghe? P = 1 des.txt en_metadesc.txt en_name.txt getpageinfo.sh getpagelink.sh imglink.txt imglist.txt img.AzSoft.com label: Some Text link_original.txt link.txt log.txt meta_desc.txt name.txt news t-142619 testimg2-0.jpg testimg2-1.jpg testimg2.jpg testimg3.jpg testimg.jpg thumb tim-hieu-excel-2016-200.jpg title_vn.txt tmp02.html tmp03.html tmp2.html tmpdesc2.txt tmpdesc3.txt tmpdesc4.txt tmpdesc5.txt tmpdesc6.txt tmpdesc7.txt tmpdesc.txt tmp.html tmpresult.txt tmptrans.txt transresult.txt wm.AzSoft.com www.mailenable.com www .microsoft.com The standard operating system libraries: Base Classes. 1 AzSoft_watermark_small.png cong-nghe? P = 1 des.txt en_metadesc.txt en_name.txt getpageinfo.sh getpagelink.sh imglink.txt imglist.txt img.AzSoft.com label: Some Text link_original.txt link.txt log.txt meta_desc.txt name.txt news t-142619 testimg2-0.jpg testimg2-1.jpg testimg2.jpg testimg3.jpg testimg.jpg thumb tim-hieu-excel-2016-200.jpg title_vn.txt tmp02.html tmp03.html tmp2.html tmpdesc2.txt tmpdesc3.txt tmpdesc4.txt tmpdesc5.txt tmpdesc6.txt tmpdesc7.txt tmpdesc.txt tmp.html tmpresult.txt tmptrans.txt transresult.txt wm.AzSoft.com www.mailenable.com www .microsoft.com COM + Component Object Interface. .NET services Includes common information sharing services for applications in the Internet environment: - .NET Passsport: can be used for user authentication. - File services, file management. - User management information service. - Calendar service. These services may be provided by Microsoft or its partners. Application of .NET architecture in e-commerce model Compare the two .NET and J2EE architectures 2.1. The similarities between the .NET and J2EE architectures 2.2. The difference between the two architectures Can support the framework The first concern when building an e-commerce application is the choice of the framework. It determines the success of the application especially for large-scale applications. A well-developed model can reduce application development time and costs by at least 10 times the cost of using various patching tools. In the .NET architecture, this development model is based on a component called the Commerce Server. With J2EE architecture, you have to select, connect different components to form the application development model. Sun does not offer a packaging model, but there are quite a few products from third parties such as IBM WebSphere and BEA WebLogic. Language J2EE only supports the Java programming language and in the future there is probably no programming language supported by this architecture. Meanwhile, Microsoft's .Net approach to multi-language support. A .NET application development team can use a variety of programming languages ​​depending on the strength of the individual. However, J2EE offers two approaches to enable application development by many different programming languages. One is through Java Native Interface, the other is access using CORBA technology. Choice of programming language is not the deciding factor for your choice between J2EE or .NET architecture. Of course, if you want to use one or more programming languages ​​in one project, J2EE is clearly not your choice. The .NET framework supports a C # programming language (read C sharp). This is a language with syntax and programming style similar to Java. Java programmers can switch to programming with C # in just a few hours. If you choose Java not by language but by portability, J2EE is a better choice than .NET. We will discuss more about portability in the next section. Portability Portability is a prominent feature of J2EE and the Java programming language. A program written by Java is executed on the Java Virtual Machine instead of directly on the operating system. Thus the program code can be transferred from one operating system to another (with JVM support) for easy execution. The portability of this operating system of J2EE is due to the fact that most J2EE products support multiple operating systems. Meanwhile, .NET is only binding in the Windows operating system. Therefore, .NET applications are difficult to distribute on the network. Conclude We have had the opportunity to learn together the model of e-commerce application expressed through two common architecture is commonly applied today is J2EE and .NET. Need to reiterate that J2EE is only a specification provided by Sun, the development into packaging products is done by third parties (eg, BEA WebLogic, IBM WebSphere). The advantage of J2EE is its portability: portability in terms of product development and scalability for operating systems. But the downside of J2EE is that it only supports a single programming language that is Java. In practice, sometimes the choice or conversion to the Java language is not appropriate for some types of business. The .NET architecture was launched by Microsoft. The development of commercial products is also conducted by Microsoft. The downside of this architecture is that it only supports the Windows operating system (which Microsoft is perhaps the most developed developer ever). Currently there is no information that shows .NET support for other operating systems. The advantage of .NET is that it supports multi-language application development - which J2EE does not support. In addition, the application of the .NET architecture has several advantages: low development costs, low initial system investment costs (comparable to the cost of Unix systems). The choice of architecture for application development depends on many factors: the scope of the problem, the deployment environment, the cost of development and maintenance. It is also important to consider the technology use of the development team. Chu Lam Thai