๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

An Introduction to Network Programming with Java

โœ Scribed by Jan Graba


Publisher
Springer
Year
2006
Tongue
English
Leaves
435
Edition
2
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


The 1st edition of this book was equally useful as an undergraduate textbook and as the lucid, no-nonsense guide required by IT professionals, featuring many code examples, screenshots and exercises. The new 2nd edition adds revised language reflecting significant changes in J2SE 5.0; update of support software; non-blocking servers; DataSource interface and Data Access Objects for connecting to remote databases. CD-ROM includes J2SE 5.0 and all code for the chapter examples.

โœฆ Table of Contents


AN INTRODUCTION TO NETWORK PROGRAMMING WITH JAVA......Page 1
Springerlink......Page 0
Half-title......Page 2
Title Page......Page 3
Copyright Page......Page 4
Language Changes......Page 6
New Material......Page 7
Contents......Page 9
1.1 Clients, Servers and Peers......Page 13
1.2 Ports and Sockets......Page 14
1.3 The Internet and IP Addresses......Page 15
1.4 Internet Services, URLs and DNS......Page 16
1.5 TCP......Page 17
1.6 UDP......Page 19
2.1 The InetAddress Class......Page 21
2.2.1 TCP Sockets......Page 24
2.2.2 Datagram (UDP) Sockets......Page 30
2.3 Network Programming with GUIs......Page 40
2.4 Downloading Web Pages......Page 49
Exercises......Page 53
3.1 Thread Basics......Page 63
3.2 Using Threads in Java......Page 64
3.2.1 Extending the Thread Class......Page 65
3.2.2 Explicitly Implementing the Runnable Interface......Page 69
3.3 Multithreaded Servers......Page 72
3.4 Locks and Deadlock......Page 77
3.5 Synchronising Threads......Page 79
3.6.1 Overview......Page 86
3.6.2 Implementation......Page 88
3.6.3 Further Details......Page 98
Exercises......Page 100
4.1 Serial Access Files......Page 103
4.2 File Methods......Page 109
4.3 Redirection......Page 111
4.4 Command Line Parameters......Page 113
4.5 Random Access Files......Page 114
4.6 Serialisation [U.S. spelling Serialization]......Page 121
4.7 File I/O with GUIs......Page 125
4.8 Vectors......Page 132
4.9 Vectors and Serialisation......Page 135
Exercises......Page 144
5.1 The Basic RMI Process......Page 148
5.2 Implementation Details......Page 149
5.3 Compilation and Execution......Page 153
5.4 Using RMI Meaningfully......Page 155
5.5 RMI Security......Page 165
Exercises......Page 168
6.1 Background and Basics......Page 170
6.2 The Structure of a Java IDL Specification......Page 171
6.3 The Java IDL Process......Page 175
6.4 Using Factory Objects......Page 185
6.6 RMI-IIOP......Page 196
Exercises......Page 198
7.1 The Vendor Variation Problem......Page 200
7.2 SQL and Versions of JDBC......Page 201
7.3 Creating an ODBC Data Source......Page 202
7.4 Simple Database Access......Page 203
7.5 Modifying the Database Contents......Page 211
7.6 Transactions......Page 215
7.7 Meta Data......Page 216
7.8 Using a GUI to Access a Database......Page 219
7.9 Scrollable ResultSets in JDBC 2......Page 222
7.10 Modifying Databases via Java Methods......Page 227
7.11.1 Overview and Support Software......Page 232
7.11.2 Defining a JNDI Resource Reference......Page 234
7.11.3 Mapping the Resource Reference onto a Real Resource......Page 235
7.11.4 Obtaining the Data Source Connection......Page 237
7.11.5 Data Access Objects......Page 238
Exercises......Page 244
8.1 Servlet Basics......Page 246
8.2 Setting up the Servlet API......Page 247
8.3 Creating a Web Application......Page 249
8.4 The Servlet URL and the Invoking Web Page......Page 251
8.5 Servlet Structure......Page 252
8.7 Passing Data......Page 254
8.8 Sessions......Page 261
8.9 Cookies......Page 272
8.10 Accessing a Database Via a Servlet......Page 280
Exercises......Page 287
9.1 The Rationale behind JSPs......Page 290
9.2 Compilation and Execution......Page 291
9.3 JSP Tags......Page 292
9.4 Implicit JSP Objects......Page 295
9.6 JSPs in Action......Page 297
9.7 Error Pages......Page 303
9.8 Using JSPs to Access Remote Databases......Page 306
Exercises......Page 307
Learning Objectives......Page 309
10.1 Introduction to the Bean Builder......Page 310
10.2 Creating a JavaBean......Page 313
10.3 Exposing a Bean's Properties......Page 319
10.4 Making Beans Respond to Events......Page 323
10.5 Using JavaBeans within an Application......Page 327
10.6 Bound Properties......Page 329
10.7.1 The Basic Procedure......Page 336
10.7.2 Calling a Bean's Methods Directly......Page 338
10.7.3 Using HTML Tags to Manipulate a Bean's Properties......Page 342
Exercises......Page 354
11.1 Categories of EJB......Page 357
11.2 Basic Structure of an EJB......Page 358
11.3 Packaging and Deployment......Page 361
11.4 Client Programs......Page 363
11.5 Entity EJBs......Page 365
Learning Objectives......Page 371
12.1 Transferring and Displaying Images Easily......Page 372
12.2 Transferring Media Files......Page 377
12.3 Playing Sound Files......Page 382
12.4 The Java Media Framework......Page 384
Exercises......Page 391
13.1 Applets and JApplets......Page 392
13.2 Applet Basics and the Development Process......Page 393
13.3 The Internal Operation of Applets......Page 397
13.4.1 Using Class Image......Page 404
13.4.2 Using Class ImageIcon......Page 409
13.5 Scaling Images......Page 412
13.6 Using Sound in Applets......Page 413
Exercises......Page 417
A.1 DDL Statements......Page 418
A.1.3 Adding Attributes......Page 419
A.2.1 SELECT......Page 420
A.2.2 INSERT......Page 421
A.2.4 UPDATE......Page 422
Appendix B. Deployment Descriptors for EJBs......Page 423
Appendix C. Further Reading......Page 426
Index......Page 429


๐Ÿ“œ SIMILAR VOLUMES


An Introduction to Network Programming w
โœ Jan Graba ๐Ÿ“‚ Library ๐Ÿ“… 2006 ๐Ÿ› Springer ๐ŸŒ English

The 1st edition of this book was equally useful as an undergraduate textbook and as the lucid, no-nonsense guide required by IT professionals, featuring many code examples, screenshots and exercises. The new 2nd edition adds revised language reflecting significant changes in J2SE 5.0; update of supp

An Introduction to Network Programming w
โœ Jan Graba ๐Ÿ“‚ Library ๐Ÿ“… 2006 ๐Ÿ› Springer ๐ŸŒ English

The 1st edition of this book was equally useful as an undergraduate textbook and as the lucid, no-nonsense guide required by IT professionals, featuring many code examples, screenshots and exercises. The new 2nd edition adds revised language reflecting significant changes in J2SE 5.0; update of supp

An Introduction to Network Programming w
โœ Jan Graba BA, PGCE, MSc (auth.) ๐Ÿ“‚ Library ๐Ÿ“… 2007 ๐Ÿ› Springer London ๐ŸŒ English

<p>The continually expanding popularity of both the Internet and local intranets means that the ability to construct reliable network software is a vital skill for many of today's programmers. At the same time, Java's comprehensive libraries of readily-accessible network programming features ensure

An Introduction to Network Programming w
โœ Jan Graba ๐Ÿ“‚ Library ๐Ÿ“… 2003 ๐Ÿ› Addison Wesley ๐ŸŒ English

The ability to construct reliable network software is a vital skill for many of today's programmers and at the same time, Java's comprehensive libraries of readily-accessible network programming features ensure that Java remains at the forefront of network software development.The 1st edition of thi

An Introduction to Network Programming w
โœ Jan Graba ๐Ÿ“‚ Library ๐Ÿ“… 2003 ๐Ÿ› Pearson/Addison Wesley ๐ŸŒ English

With the explosion in growth of the internet and the increasing use of intranets across a wide spectrum of business areas, there has been a correspondingly large growth of interest in network programming, particularly in the use of client-server applications. Java's inbuilt network programming capa