Microsoft Visual J# .Net : Core Reference

Microsoft Visual J# .Net : Core Reference

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Hardcover:ハードカバー版/ページ数 910 p.
  • 言語 ENG,ENG
  • 商品コード 9780735615502
  • DDC分類 005.2768

Full Description


Leverage your Java skills and learn how to create powerful Windows applications and high-performance, distributed applications with Microsoft Visual J# .NET in this comprehensive tutorial and reference. Presented in an easy-to-browse format, this erudite book provides the authoritative technical details you need to leverage Visual J# .NET and the richness of the Microsoft .NET Framework to build scalable, enterprise-level applications. You'll examine the architecture of .NET, find out how to process data with Visual J# .NET, see how to create XML Web services, and discover how to build multithreaded applications that span the local area network. You'll also look at the key topics for building applications that use Windows features and services and find out how to provide a global reach to your applications via the Internet. Topics covered include: The challenge of n-tier development The .NET platform Java and the common language runtime Graphical user interfaces Processing XML Transforming XML Microsoft ADO.NET Multithreading with .NET Basic network programming Serializing objects .NET remoting Using message queues Integrating with unmanaged components Serviced components and COM+ Writing Windows services Microsoft ASP.NET-a better ASP Building a Web Sample code available at the Companion Content link on this page

Table of Contents

Introduction                                       xvii
Part I The Architecture of .NET
The Challenge of N-Tier Development 3 (26)
Client/Server and N-Tier Architectures 4 (8)
Two-Tier Architecture 4 (2)
N-Tier Architecture 6 (2)
The Northwind Traders Example 8 (4)
Connectivity and Data Formats 12 (9)
Sockets 12 (2)
Remote Procedure Calls 14 (2)
Object RPCs 16 (1)
Remote Method Invocation 17 (2)
The Web 19 (2)
Data Access 21 (2)
Open Database Connectivity 21 (1)
Java Database Connectivity 22 (1)
ADO and ADO.NET 22 (1)
Nonfunctional Requirements 23 (2)
Security 23 (1)
Scalability and Availability 24 (1)
Integrity and Transactions 25 (1)
.NET Enterprise Servers 25 (1)
Java and .NET 26 (1)
Summary 27 (2)
Microsoft .NET 29 (60)
Compilers and Language Support 29 (22)
The Common Language Runtime 30 (10)
Cross-Language Development 40 (5)
Memory Management 45 (5)
Integrating Unmanaged Code into .NET 50 (1)
Applications
Assemblies and Deployment 51 (14)
The Joy of DLLs: The Movie 51 (1)
.NET Assemblies 52 (3)
Private Assemblies 55 (1)
The Global Assembly Cache 56 (4)
Configuring an Application 60 (5)
The .NET Framework Class Library 65 (4)
Namespaces 67 (2)
.NET Remoting and the Web 69 (4)
The .NET Remoting Architecture 69 (2)
Remote Object Activation 71 (1)
ASP.NET 71 (1)
Web Services 72 (1)
.NET Security 73 (8)
Application Domains 74 (2)
Role-Based Security 76 (5)
Code Access Security 81 (6)
Summary 87 (2)
Java and the Common Language Runtime 89 (56)
Components and Java 91 (15)
JavaBeans 92 (6)
Components in .NET 98 (8)
Java, J#, and the .NET Framework 106 (17)
Packaging and Locating Classes 106 (2)
The Java Class Hierarchy 108 (10)
Other Issues 118 (3)
Migrating to J# 121 (2)
Metadata and Attributes 123 (10)
Reflection in .NET 124 (7)
Attributes 131 (2)
Enterprise Java 133 (11)
The Elements of J2EE 133 (6)
Comparing .NET to J2EE 139 (3)
The Java Pet Store 142 (2)
Summary 144 (1)
Graphical User Interfaces 145 (40)
Desktop GUIs 146 (4)
Revisiting Java GUI Development 146 (3)
The Windows Forms Library 149 (1)
Porting Existing Java Applications 150 (9)
Porting AWT Applications to .NET 157 (2)
Writing a GUI Application Using the .NET 159 (22)
Classes
Creating the Windows Form 160 (5)
Adding Controls to the Form 165 (6)
Handling Events 171 (3)
Using File Dialog Boxes 174 (4)
Working with the System Clipboard 178 (2)
Building and Running the Application 180 (1)
Summary 181 (4)
Part II Managing and Manipulating Data
Processing XML 185 (52)
Using XML in a .NET Application 186 (9)
XML as a Data Format 186 (3)
Roles for XML 189 (1)
What Applications Need from XML Support 190 (1)
Processing XML Data 191 (1)
Support for XML in Visual J# and the .NET 192 (3)
Framework
Single-Pass Processing of XML Documents 195 (18)
Parsing XML Documents Using the XMLReader 196 (1)
Class
Processing XML Using an XMLTextReader 197 (8)
Instance
Other Options for Reading and Navigation 205 (2)
Types and Namespaces 207 (1)
Exception Handling 208 (1)
Writing XML Documents Using the XmlWriter 209 (3)
Class
Escaping and Copying When Writing 212 (1)
Validation and Entity Resolution 213 (6)
Validating XML Documents 213 (5)
Resolving Entities 218 (1)
Processing XML Documents in Memory 219 (8)
In-Memory Processing 219 (2)
Loading XML into the XmlDocument Class 221 (1)
Obtaining Information from a DOM Document 222 (5)
Treating a DOM Fragment as a Stream 227 (1)
Writing and Manipulating In-Memory XML 227 (3)
Documents
Altering Content in a DOM Tree 227 (1)
Making Substantial Changes to XML 228 (2)
Documents
Writing Out the DOM Tree 230 (1)
XML and Data 230 (7)
Links Between XML and ADO.NET Data 231 (1)
Viewing XML as Relational Data 232 (1)
Manipulating XML as Relational Data 233 (1)
Viewing Relational Data as XML 234 (1)
Summary 235 (2)
Transforming XML 237 (28)
Transforming XML in .NET Applications 238 (8)
The Need for Transformation 238 (2)
The XSLT Processing Model 240 (4)
Applying Transformations 244 (2)
.NET Support for XML Transformations 246 (1)
Applying Stylesheets to XML Documents 246 (4)
Simple Transformations Using XslTransform 247 (1)
Transformation Sources and Targets 248 (2)
Transforming a DataSet 250 (1)
Optimization and Partial Transformation 250 (4)
Searching and Navigating Using XPath 251 (1)
Optimizing XSLT Transformations 252 (1)
Partial Transformations 253 (1)
Parameterization and External Functionality 254 (9)
Passing in Parameters 254 (4)
Invoking External Functionality 258 (5)
Summary 263 (2)
ADO.NET 265 (44)
The ADO.NET Architecture 265 (5)
ADO.NET Components 266 (2)
DataSet Objects 268 (1)
Connections and Data Adapters 269 (1)
Connecting to a Data Store 270 (4)
Connecting to a Data Source (OLE DB and 270 (2)
SQL)
Connections and Visual Studio .NET 272 (1)
Connection Pooling 273 (1)
Consuming Connection Events 273 (1)
Executing Commands Against a Data Store 274 (11)
Building Commands 275 (1)
Using Parameters in Statements 276 (6)
Invoking Stored Procedures 282 (1)
Retrieving a Single Record from a Data 283 (1)
Source
Using a DataReader Object for Read-Only 283 (2)
Data Retrieval
Using DataSet Objects for Data Access 285 (14)
Populating a DataSet Table from a Data 285 (3)
Adapter
Navigating a Typed DataSet 288 (3)
Navigating an Untyped DataSet 291 (1)
Manipulating and Updating a Data Store 292 (4)
from a Data Adapter
Defining Relationships and Constraints 296 (3)
Transaction Management 299 (2)
Working with XML and ADO.NET 301 (5)
Writing a DataSet as XML 301 (3)
Writing DataRelation Objects as XML 304 (1)
Inferring the DataSet Structure from XML 304 (2)
Summary 306 (3)
Part III Developing for the Enterprise
Multithreading with .NET 309 (52)
Threads and .NET 310 (15)
Application Domains and Threads 312 (1)
Creating Threads 312 (2)
Threads and Security 314 (1)
Passing Parameters to Threads 314 (1)
Thread States 315 (3)
Terminating Threads 318 (3)
Scheduling Threads 321 (2)
Threads and Unmanaged Code 323 (2)
Synchronization 325 (18)
Manual Synchronization 329 (9)
Automatic Synchronization 338 (3)
Static and Thread Data 341 (2)
Interthread Communication 343 (12)
Thread Notification 343 (11)
Timers 354 (1)
Thread Pooling 355 (4)
The ThreadPool Class 356 (1)
Asynchronous I/O 357 (2)
Summary 359 (2)
Basic Network Programming 361 (50)
Sockets Essentials 362 (27)
Connection-Oriented Sockets 363 (17)
Data Transmission Issues 380 (2)
Connectionless Sockets 382 (5)
Blocking and Nonblocking Sockets 387 (2)
Using Sockets Asynchronously 389 (4)
The Poll and Select Methods 389 (2)
Network Streams 391 (2)
Web Network Programming 393 (12)
Pluggable Protocols 394 (2)
Requesting and Receiving Data Using HTTP 396 (3)
Posting Data 399 (2)
Processing Requests Asynchronously 401 (1)
Using a WebClient Object 402 (1)
HTTP Connection Management and Pooling 403 (2)
Security over the Internet 405 (4)
Authentication and Authorization 405 (3)
Encryption 408 (1)
Summary 409 (2)
Serializing Objects 411 (36)
Serializing and Deserializing Data 412 (11)
Formatting Data 412 (4)
Deserialization 416 (1)
Versioning 417 (5)
Being Selective 422 (1)
Advanced Serialization 423 (10)
Customizing Serialization 423 (4)
Handling Object Graphs 427 (6)
XML Serialization 433 (12)
XML Formatting 433 (8)
Deserializing an XML Stream 441 (4)
Summary 445 (2)
.NET Remoting 447 (48)
The Common Language Runtime Remoting 447 (13)
Architecture
Remote Objects 448 (3)
The .NET Remoting Model 451 (6)
The ObjRef Object and Proxies 457 (1)
Messages, Channels, and Channel Sinks 458 (2)
Programming with TCP Remoting 460 (20)
Server-Activated Object Remoting 461 (8)
Client-Activated Object Remoting 469 (2)
Managing Object Lifetimes and Leases 471 (3)
TCP Remoting Security 474 (1)
Remote Method Parameters 475 (1)
Remote Events 476 (4)
HTTP Remoting 480 (6)
Remoting Server Hosting 481 (2)
Hosting with IIS 483 (2)
HTTP Remoting Security 485 (1)
Customizing Remoting 486 (8)
One-Way Remoting 486 (1)
The RemotingServices Class 487 (2)
Tracking Handlers 489 (3)
Custom Channel Sinks and Channels 492 (2)
Summary 494 (1)
Using Message Queues 495 (48)
The Architecture of Message Queuing 3.0 496 (6)
Queues, Servers, and Active Directory 496 (2)
Transactional Message Queues 498 (1)
Managing Queues 498 (2)
System Queues 500 (1)
Message Delivery 501 (1)
Message Queuing Triggers 502 (1)
Programming Message Queues 502 (23)
Posting and Receiving Messages 502 (12)
Handling Messages 514 (6)
Managing Queues 520 (5)
Asynchronous Operations 525 (7)
Receiving Messages Asynchronously 525 (2)
Disconnected Queues 527 (3)
Requesting an Acknowledgment 530 (2)
Messaging in the Real World 532 (8)
Reliability and Transactions 532 (5)
Message Authentication and Encryption 537 (3)
Messaging over HTTP 540 (1)
Summary 540 (3)
Part IV Integrating with Windows
Integrating with Unmanaged Components 543 (62)
Managed and Unmanaged Code 544 (1)
Invoking Methods in Unmanaged DLLs 545 (26)
Using J/Direct 546 (5)
The Platform Invoke Service 551 (16)
Other P/Invoke Issues 567 (4)
Calling COM Components 571 (18)
Creating and Using an RCW 572 (5)
Sinking COM Events 577 (3)
Using COM Objects Without Type Libraries 580 (9)
Integrating .NET Components into COM 589 (11)
Designing .NET Components for COM Interop 589 (5)
Creating a COM Callable Wrapper 594 (4)
Testing the CCW 598 (2)
Interoperability with Other Technologies 600 (3)
The Real Solution: XML Web Services 602 (1)
Summary 603 (2)
Serviced Components and COM+ 605 (62)
Using an Existing COM+ Component 607 (14)
The FourthCoffee Components Revisited 608 (1)
Configuring the Fourth Coffee COM+ 608 (4)
Application
Using the Fourth Coffee COM+ Application 612 (1)
Subscribing to a Loosely Coupled Event 613 (8)
Building a Serviced Component 621 (12)
Serviced Component Basics 622 (7)
Registering and Using the Serviced 629 (4)
Component
Features of Serviced Components 633 (22)
Synchronization, Activities, and Context 633 (4)
Static Methods 637 (1)
Serviced Component Activation 638 (7)
Caching Shared State 645 (5)
More About Transactions 650 (5)
.NET and COM+ Security 655 (6)
Code Access Security Requirements 655 (1)
The .NET Role-Based Security Model 655 (1)
The COM+ Role-Based Security Model 656 (1)
Implementing COM+ Security from .NET 657 (3)
COM+ Imperative Security 660 (1)
Asynchronous Components 661 (4)
Creating a Queued Component 661 (1)
Supporting Loosely Coupled Events 662 (3)
Summary 665 (2)
Implementing Windows Services 667 (24)
Controlling a Windows Service 668 (7)
Displaying Service Information 668 (5)
Starting and Stopping a Service 673 (2)
Writing a Windows Service 675 (13)
The Structure of a Service Application 675 (5)
Understanding Installer Classes 680 (1)
Creating a New Installer 681 (4)
Adding a Service Description 685 (1)
Installing and Testing the Service 686 (2)
Uninstalling a Service 688 (1)
Summary 688 (3)
Part V Building Applications for the Web
ASP.NET: A Better ASP 691 (78)
Introducing ASP.NET 692 (8)
Browser-Based Web Applications 692 (1)
The ASP.NET Environment 693 (2)
The Basic ASP.NET Programming Model 695 (5)
HTML Forms and ASP Forms 700 (5)
ASP.NET Web Forms 705 (19)
The Server-Side Controls 708 (2)
The Code Behind the Page 710 (4)
Handling Events 714 (4)
Client-Side Validation 718 (6)
Migrating from ASP Pages 724 (3)
Language and Code 724 (1)
The User Interface 725 (2)
Pages, Controls, and Data 727 (15)
The Page Class 727 (5)
Common Controls 732 (3)
Creating Your Own Controls 735 (4)
Binding to Data 739 (3)
Building ASP.NET Web Applications 742 (26)
Web.config 742 (1)
Global.asax 743 (2)
Deploying an ASP.NET Application 745 (1)
Managing State 746 (8)
Error Handling 754 (6)
Security 760 (4)
Caching 764 (4)
Summary 768 (1)
Building a Web Service 769 (62)
An Overview of Web Services 769 (6)
What Is a Web Service? 769 (1)
Web Service Technologies 770 (4)
Web Services in .NET 774 (1)
Creating a Web Service 775 (9)
A Simple Web Service 775 (6)
Creating a Web Service Using Visual 781 (3)
Studio .NET
Web Service Description and Data Types 784 (31)
Exposing a Web Service Interface 785 (12)
Invoking the Service 797 (2)
Passing Complex Data Types 799 (12)
Passing DataSet Objects 811 (3)
Passing XML Documents 814 (1)
Creating an XML Web Service Application 815 (15)
Web Services as ASP.NET Applications 816 (10)
Transactions and Web Services 826 (2)
Exposing Existing Applications as Web 828 (2)
Services
Summary 830 (1)
Creating a Web Service Client 831 (1)
Web Service Clients 832 (1)
The Client View of a Web Service 832 (1)
Creating a Web Service Client Using 834 (4)
Visual Studio .NET
Going Beyond the Simple Client Scenario 838 (21)
Other Client Types 859 (4)
Dynamic Discovery of Web Services 863 (1)
Discovering Services on a Server 863 (7)
Discovering Services Through UDDI 870 (5)
Summary 875