Chapter 27. Using Business Objects
One of the best practices in programming is to separate your application into workable and separate components—also known as business objects. This makes your applications far easier to manage and enables you to achieve the goal of code reuse because you can share these components among different parts of the same application or between entirely separate applications.
Using business components enables you to build your ASP.NET applications using a true 3-tier model where the business tier is in the middle between the presentation and data tiers. In addition, using business objects allows you to use multiple languages within your ASP.NET applications. Business objects can be developed in one programming language while the code used for the presentation logic is developed in another.
If you are moving any legacy applications or aspects of these applications to an ASP.NET environment, you might find that you need to utilize various COM components. This chapter shows you how to use both .NET and COM components in your ASP.NET pages and code.
This chapter also explains how you can mingle old ActiveX (COM) DLLs with new .NET components. So when all is said and done, you should feel somewhat relieved. You will see that you have not wasted all the effort you put into building componentized applications using the "latest" ActiveX technologies.
Using Business Objects in ASP.NET 2.0
Chapter 3 provides an introduction to using .NET business objects within your ...
Get Professional ASP.NET 2.0 Special Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.