search for books and compare prices
Tables of Contents for J#
Chapter/Section Title
Page #
Page Count
Visual J# .NET
1
20
Background
1
2
Introducing .NET
3
3
The .NET Framework
4
2
C#, the New Language
6
1
.NET Enterprise Servers
6
3
.NET Building Block Services
7
1
.NET and J2EE Compared
7
2
Why VJ#.NET
9
1
JUMP to .NET
10
1
J# Features
10
4
Common Type System
10
2
The System Class
12
1
Namespaces
12
1
Assemblies
13
1
ASP.NET
14
1
ADO.NET
14
1
Visual Studio .NET
14
1
Software Availability
14
2
J# Without VS.NET
15
1
Using Visual Studio .NET
16
2
Upgrading to J#
18
1
Summary
18
3
The J# Language
21
76
The Common Language Specification
22
1
Lexical Structure
23
1
Keywords as Identifiers
23
1
Identifier Syntax
23
1
Case Insensitive Identifiers
24
1
Types
24
10
Primitive Types
25
2
The byte and ubyte Types
27
1
Unsigned Integer Types
27
1
The decimal Type
28
1
Operators
29
4
Enumerations
33
1
Strings and Characters
34
1
String and Character Literals
35
8
The char Type and Character Class
35
1
The String Class
36
2
System.String
38
1
Arrays
39
1
Declaring an Array
39
1
Using an Array
40
1
Arrays are Objects
40
1
Arrays of Arrays
41
1
Multi-dimensional Arrays
41
1
Typing Issues
41
1
Interoperability with .NET Arrays
42
1
Object-Oriented Programming
43
1
Classes
43
1
Interfaces
44
1
Conceptual Model
44
6
Fields
45
1
Methods
46
1
Parameters
47
1
Constructors
48
1
Static Blocks
49
1
Overloading and Overriding
50
2
J# Support for Inner Classes
51
1
java.lang.Object
52
5
Java Objects and Framework Objects
54
3
Issues in the Interoperability of J# and .NET Classes
57
1
Statements
57
1
Blocks
57
1
Control Statements
58
4
Variable Declarations
61
1
Assignments
61
1
Method Calls
62
1
Exceptions
62
9
Throwing and Catching an Exception
62
1
Checked and Unchecked Exceptions
63
1
Are Checked Exceptions Useful?
64
2
Errors
66
1
Interoperability with .NET Exceptions
66
3
The finally Block
69
2
Multithreading
71
1
The synchronized Keyword
71
1
The wait() and notify() Methods
72
4
Deadlocks
75
1
The volatile Keyword
76
4
Relation to C# Syntax and .NET
77
1
Block-level vs. Method-level Synchronization
78
1
The System. Threading Package
79
1
Properties
80
2
The J# Viewpoint
81
1
Implementing Properties in J#
82
2
Indexers
83
1
Delegates and Events
84
7
Delegates
85
1
Delegate Syntax
86
1
Multicast Delegates
87
1
Delegates vs. Interfaces
88
1
Events
89
1
Consuming .NET Events in J#
90
1
Implementing .NET Events in J#
91
1
Serialization
91
1
JDK 1.1.4 and Java 2 Compatibility
92
1
Interoperability with .NET Serialization
92
1
Packages, Namespaces, and Assemblies
93
1
Preprocessor
94
1
Summary
95
2
J# and Class Libraries
97
26
Using the J# Class Library
98
14
Testing Support for Java Classes
99
1
Testing java.awt, java.io, and Event Handling
99
3
Testing Reflection - Class Browser Application
102
7
Unsupported Class Libraries and APIs
109
1
Dynamic Loading of Classes
110
2
Using the .NET Class Library
112
4
Importing Namespaces
112
1
Limitations while using .NET's Class Library
112
1
Using Properties
112
1
Using Attributes
113
2
Delegates and Events
115
1
Using User-Defined .NET Class Libraries
116
1
Using COM Interop
117
4
Win32 API access
119
2
What did Visual J++ 6.0 have that J# does Not?
121
1
Summary
121
2
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 Properties
126
1
Visual Studio .NET Generated Code
127
1
Examining the Code
127
2
Adding Life to Our Program
129
1
Controls
129
5
NET Controls
130
3
Java AWT Controls (java.awt)
133
1
Layout Managers
134
1
The Java Way
134
2
FlowLayout
134
1
BorderLayout
134
1
CardLayout
135
1
GridLayout
135
1
GridBagLayout
135
1
The .NET Way
136
1
Event Handling
136
1
The .NET Model
136
2
The Java Delegation Model
137
1
Mixing .NET and Java Code
138
1
.NET-based Form
138
2
Java AWT-based Form
139
1
Running the Application
140
1
Discussion
140
1
Inheriting Forms
141
1
Class Diagram
141
1
Defining the Base Form
142
5
Form Code
142
1
Extending the Form
143
1
Extended Form Code
143
2
The Main Application Form
145
1
Main Form Code
145
2
Discussion
147
1
A GUI-based Address Book Application in J#
147
1
Creating the Application Project
147
1
Providing Database Support
148
4
Creating a Database
148
1
Adding a Table
149
1
Adding a Database Connection to the Form
150
1
Examining the Generated Code
150
2
Adding Application Functionality
152
6
Adding Button Event Handlers
155
1
Add
155
1
Update
155
1
Cancel
156
1
Modify
156
1
Delete
157
1
Search
157
1
Navigation
158
1
Exit
158
1
Building and Running the Project
158
1
Conclusions
159
2
ASP.NET Using J#
161
38
ASP.NET Features
162
1
Enhanced Browser-Independence
162
1
Object-Oriented Language Support
162
2
Object-Orientation
163
1
Strong Typing
163
1
Compiled Code
163
1
Server-Side Controls
164
1
Better Tools Support
165
1
Separation of HTML from Page Code
165
1
ASP.NET Programming Model
165
2
Web Form Architecture
167
1
Stages in Web Forms Processing
168
1
ASP.NET Framework Initialization
168
1
User Code Initialization
168
1
Event Handling
168
1
Cleanup
169
1
A First ASP.NET Page
169
1
Creating a Web Project
169
1
Wizard-Generated Files
170
1
Examining VS .NET's Generated Code
170
6
HTML Code
171
1
Code Behind
171
2
Developing the User Interface
173
1
Modifying the HTML Code
173
1
Writing Code Behind
173
1
get_Response() Method
174
1
get_Request() Method
174
1
Running the Application
175
1
Comparison to JSP
176
1
Web Form Controls
176
2
Server Side Controls
177
1
Rich Controls
178
4
Database table
179
1
Form Design
180
1
Writing the Code
180
2
Validation Controls
182
3
Screen design
182
1
Setting Validations
183
2
Developing an ASP.NET Application
185
12
Creating Database
185
1
Creating the Project
186
1
Main Form
186
1
Member Registration Form
187
5
Login Form
192
2
Product Listing Form
194
1
Running the Application
195
2
Summary
197
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 Services
203
1
Web Service Technologies
204
6
SOAP
204
2
Interoperability
206
1
Implementations
206
1
SOAP Messages with Attachments (SwA)
206
1
WSDL
207
1
The WSDL Document
207
2
UDDI
209
1
Implementation
210
1
ebXML
210
1
Creating a Web Service with VS .NET
211
1
Creating a Project
211
1
Wizard-Generated Files
212
2
The ASMX File
212
2
The Database
214
1
Modifying the ASMX File
214
2
Coding the Web Method
215
1
Running the Web Service
216
2
Discussion
217
1
Creating Web Service Clients with VS .NET
218
1
The Project
218
2
The User Interface
220
1
The Code
220
2
Running the Client Application
221
1
A Best Bargain Web Service
222
1
Micro-Level Web Services
222
2
The Database
222
1
Creating the First Web Service
223
1
Creating the Second Web Service
224
1
The Integrated Macro-level Service
224
4
Running the Application
228
1
Discussion
228
1
Limitations in the Current Version
229
1
Summary
229
2
Migrating
231
24
Migrating WFC
231
4
The jbimp Conversion tool
235
1
Migrating RMI and JDBC
235
5
JDBC/ODBC Driver
240
3
SQL Server 2000
242
1
RMI to .NET System.Runtime.Remoting
243
8
Conversion of Types
244
3
Remoting Namespace
247
3
Compilation
250
1
Summary
251
4
Appendix A: Support and Code Download
255
1
How to Download the Sample Code for the Book
255
1
Errata
255
1
E-Mail Support
256
1
p2p.wrox.com
257
1
The Early Adopters Page
257
<