search for books and compare prices
Tables of Contents for J#
C#, the New Language6
1
.NET Enterprise Servers
6
3
.NET Building Block Services7
1
.NET and J2EE Compared7
2
JUMP to .NET10
1
Common Type System10
2
The System Class12
1
Namespaces12
1
Assemblies13
1
ASP.NET14
1
J# Without VS.NET15
1
Using Visual Studio .NET
16
2
The Common Language Specification
22
1
Keywords as Identifiers23
1
Identifier Syntax23
1
Case Insensitive Identifiers
24
1
Primitive Types25
2
The byte and ubyte Types27
1
Unsigned Integer Types27
1
The decimal Type28
1
Operators29
4
Enumerations33
1
Strings and Characters
34
1
String and Character Literals
35
8
The char Type and Character Class35
1
The String Class36
2
System.String38
1
Arrays39
1
Declaring an Array39
1
Using an Array40
1
Arrays are Objects40
1
Arrays of Arrays41
1
Multi-dimensional Arrays41
1
Typing Issues41
1
Interoperability with .NET Arrays42
1
Object-Oriented Programming
43
1
Classes43
1
Interfaces44
1
Fields45
1
Methods46
1
Parameters47
1
Constructors48
1
Static Blocks49
1
Overloading and Overriding
50
2
J# Support for Inner Classes51
1
Java Objects and Framework Objects54
3
Issues in the Interoperability of J# and .NET Classes57
1
Blocks57
1
Variable Declarations61
1
Assignments61
1
Throwing and Catching an Exception62
1
Checked and Unchecked Exceptions63
1
Are Checked Exceptions Useful?64
2
Errors66
1
Interoperability with .NET Exceptions66
3
The finally Block69
2
The synchronized Keyword71
1
The wait() and notify() Methods
72
4
Deadlocks75
1
Relation to C# Syntax and .NET77
1
Block-level vs. Method-level Synchronization78
1
The System. Threading Package79
1
The J# Viewpoint81
1
Implementing Properties in J#
82
2
Indexers83
1
Delegates85
1
Delegate Syntax86
1
Multicast Delegates87
1
Delegates vs. Interfaces88
1
Events89
1
Consuming .NET Events in J#90
1
Implementing .NET Events in J#91
1
JDK 1.1.4 and Java 2 Compatibility
92
1
Interoperability with .NET Serialization
92
1
Packages, Namespaces, and Assemblies
93
1
J# and Class Libraries
97
26
Using the J# Class Library
98
14
Testing Support for Java Classes99
1
Testing java.awt, java.io, and Event Handling99
3
Testing Reflection - Class Browser Application102
7
Unsupported Class Libraries and APIs109
1
Dynamic Loading of Classes110
2
Using the .NET Class Library
112
4
Importing Namespaces112
1
Limitations while using .NET's Class Library112
1
Using Properties112
1
Using Attributes113
2
Delegates and Events115
1
Using User-Defined .NET Class Libraries
116
1
Win32 API access119
2
What did Visual J++ 6.0 have that J# does Not?
121
1
Windows Applications
123
38
The .NET Classes (System.Windows)
123
1
System.Windows.Forms.Form Class
124
1
Windows Applications with J# and VS .NET
124
1
Creating a New Project
124
1
Adding Form Components
125
4
Setting Control Properties126
1
Visual Studio .NET Generated Code127
1
Examining the Code127
2
Adding Life to Our Program129
1
NET Controls130
3
Java AWT Controls (java.awt)133
1
FlowLayout134
1
BorderLayout134
1
CardLayout135
1
GridLayout135
1
GridBagLayout135
1
The Java Delegation Model137
1
Mixing .NET and Java Code
138
1
Java AWT-based Form139
1
Running the Application
140
1
Class Diagram141
1
Defining the Base Form
142
5
Form Code142
1
Extending the Form143
1
Extended Form Code143
2
The Main Application Form145
1
Main Form Code145
2
Discussion147
1
A GUI-based Address Book Application in J#
147
1
Creating the Application Project147
1
Providing Database Support
148
4
Creating a Database148
1
Adding a Table149
1
Adding a Database Connection to the Form150
1
Examining the Generated Code150
2
Adding Application Functionality
152
6
Adding Button Event Handlers155
1
Add155
1
Update155
1
Cancel156
1
Modify156
1
Delete157
1
Search157
1
Navigation158
1
Exit158
1
Building and Running the Project
158
1
Enhanced Browser-Independence
162
1
Object-Oriented Language Support
162
2
Object-Orientation163
1
Strong Typing163
1
Compiled Code163
1
Better Tools Support165
1
Separation of HTML from Page Code165
1
ASP.NET Programming Model
165
2
Web Form Architecture
167
1
Stages in Web Forms Processing
168
1
ASP.NET Framework Initialization168
1
User Code Initialization168
1
Event Handling168
1
Cleanup169
1
Creating a Web Project169
1
Wizard-Generated Files170
1
Examining VS .NET's Generated Code
170
6
HTML Code171
1
Code Behind171
2
Developing the User Interface173
1
Modifying the HTML Code173
1
Writing Code Behind173
1
get_Response() Method174
1
get_Request() Method174
1
Running the Application175
1
Server Side Controls177
1
Database table179
1
Form Design180
1
Writing the Code180
2
Screen design182
1
Setting Validations183
2
Developing an ASP.NET Application
185
12
Creating Database185
1
Creating the Project186
1
Main Form186
1
Member Registration Form187
5
Login Form192
2
Product Listing Form194
1
Running the Application195
2
Web Services Using J#
199
32
Introduction to Web Services
199
1
What are Web Services?
200
2
Web Services Architecture
202
1
Types of Web Services
203
1
Smart Services203
1
Web Service Technologies
204
6
SOAP204
2
Interoperability206
1
Implementations206
1
SOAP Messages with Attachments (SwA)206
1
WSDL207
1
The WSDL Document207
2
UDDI209
1
Implementation210
1
Creating a Web Service with VS .NET
211
1
Creating a Project211
1
Wizard-Generated Files
212
2
The ASMX File212
2
The Database214
1
Modifying the ASMX File
214
2
Coding the Web Method215
1
Running the Web Service
216
2
Discussion217
1
Creating Web Service Clients with VS .NET
218
1
Running the Client Application221
1
A Best Bargain Web Service
222
1
Micro-Level Web Services
222
2
The Database222
1
Creating the First Web Service223
1
Creating the Second Web Service224
1
The Integrated Macro-level Service
224
4
Running the Application228
1
Limitations in the Current Version
229
1
The jbimp Conversion tool
235
1
Migrating RMI and JDBC
235
5
SQL Server 2000242
1
RMI to .NET System.Runtime.Remoting
243
8
Conversion of Types244
3
Remoting Namespace247
3
Compilation250
1
Appendix A: Support and Code Download
255
1
How to Download the Sample Code for the Book
255
1
The Early Adopters Page
257
<