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

๐Ÿ“

Advanced Java 2 Platform How To Program

โœ Scribed by Harvey M. Deitel


Publisher
Prentice Hall
Year
2001
Tongue
English
Leaves
1875
Edition
4
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


An introduction to the Java 2 Platform, Standard edition, using the author's LIVE-CODE training methods. Covers data structures/collections, exceptions, multithreading, files, streams, serialization, and more. Provides screen captures and Internet resources. Includes accompanying CD-ROM. Previous edition: c1999. Softcover. DLC: Java (Computer program language).

โœฆ Table of Contents


Contents......Page 7
Illustrations......Page 21
Preface......Page 47
Introduction......Page 65
1. 1 Introduction......Page 66
1. 2 Architecture of the Book......Page 67
1. 3 Tour of the Book......Page 71
1. 4 Running Example Code......Page 82
1. 5 Design Patterns......Page 83
Advanced Swing Graphical User Interface Components......Page 93
2. 2 WebBrowser Using JEditorPane and JToolBar......Page 94
2. 3 Swing Action s......Page 103
2. 4 JSplitPane and JTabbedPane......Page 109
2. 5 Multiple- Document Interfaces......Page 116
2.6 Drag and Drop......Page 120
2. 7 Internationalization......Page 126
2. 8 Accessibility......Page 135
2.9 Internet and World Wide Web Resources......Page 142
Model- View- Controller......Page 149
3. 2 Model- View- Controller Architecture......Page 150
3. 3 Observable Class and Observer Interface......Page 152
3. 4 JList......Page 171
3. 5 JTable......Page 175
3. 6 JTree......Page 179
Graphics Programming with Java 2D and Java 3D......Page 199
4.2 Coordinates, Graphics Contexts and Graphics Objects......Page 200
4. 3 Java 2D API......Page 202
4. 4 Java 3D API......Page 224
4. 5 A Java 3D Case Study: A 3D Game with Custom Behaviors......Page 243
Case Study: Java 2D GUI Application with Design Patterns......Page 283
5. 2 Application Overview......Page 284
5. 3 MyShape Class Hierarchy......Page 285
5. 4 Deitel DrawingModel......Page 306
5.5 Deitel Drawing Views......Page 318
5.6 Deitel Drawing Controller Logic......Page 324
5. 7 DrawingInternalFrame Component......Page 351
5. 8 ZoomDialog , Action and Icon Components......Page 368
5. 9 DeitelDrawing Application......Page 373
JavaBeans Component Model......Page 385
6. 1 Introduction......Page 386
6. 2 Using Beans in Forte for Java Community Edition......Page 387
6.3 Preparing a Class to be a JavaBean......Page 401
6.4 Creating a JavaBean: Java Archive Files......Page 404
6. 5 JavaBean Properties......Page 409
6. 6 Bound Properties......Page 411
6. 7 Indexed Properties and Custom Events......Page 419
6. 8 Customizing JavaBeans for Builder Tools......Page 428
6.9 Internet and World Wide Web Resources......Page 443
Security......Page 450
7. 1 Introduction......Page 451
7.2 Ancient Ciphers to Modern Cryptosystems......Page 452
7.3 Secret- key Cryptography......Page 453
7. 4 Public- key Cryptography......Page 454
7. 6 Key Agreement Protocols......Page 457
7.7 Key Management......Page 458
7.8 Java Cryptography Extension ( JCE)......Page 459
7.9 Digital Signatures......Page 470
Authorities......Page 471
7. 11 Java Policy Files......Page 474
7.12 Digital Signatures for Java Code......Page 477
7. 13 Authentication......Page 481
7. 14 Secure Sockets Layer ( SSL)......Page 487
7.15 Java Language Security and Secure Coding......Page 493
7.16 Internet and World Wide Web Resources......Page 494
Java Database Connectivity ( JDBC)......Page 508
8. 1 Introduction......Page 509
8.2 Relational- Database Model......Page 510
8.3 Relational Database Overview: The books Database......Page 511
8.4 Structured Query Language ( SQL)......Page 516
8.5 Creating Database books in Cloudscape......Page 527
8.6 Manipulating Databases with JDBC......Page 528
8.7 Case Study: Address- Book Application......Page 543
8. 9 Batch Processing......Page 579
8. 10 Processing Multiple ResultSet s or Update Counts......Page 581
8.11 Updatable ResultSet s......Page 582
8. 12 JDBC 2. 0 Optional Package javax. sql......Page 583
8.13 Internet and World Wide Web Resources......Page 584
Servlets......Page 594
9. 1 Introduction......Page 595
9. 2 Servlet Overview and Architecture......Page 597
9.3 Handling HTTP get Requests......Page 603
9.4 Handling HTTP get Requests Containing Data......Page 613
9.5 Handling HTTP post Requests......Page 616
9. 6 Redirecting Requests to Other Resources......Page 620
9.7 Session Tracking......Page 623
9.8 Multi- tier Applications: Using JDBC from a Servlet......Page 641
9. 9 HttpUtils Class......Page 648
9.10 Internet and World Wide Web Resources......Page 649
JavaServer Pages ( JSP)......Page 657
10. 1 Introduction......Page 658
10.2 JavaServer Pages Overview......Page 659
10.3 A First JavaServer Page Example......Page 660
10. 4 Implicit Objects......Page 662
10. 5 Scripting......Page 663
10.6 Standard Actions......Page 668
10. 7 Directives......Page 698
10.8 Custom Tag Libraries......Page 702
10. 9 World Wide Web Resources......Page 717
Case Study: Servlet and JSP Bookstore......Page 724
11. 1 Introduction......Page 725
11. 2 Bookstore Architecture......Page 726
11. 3 Entering the Bookstore......Page 728
11.4 Obtaining the Book List from the Database......Page 731
11. 5 Viewing a Book s Details......Page 740
11.6 Adding an Item to the Shopping Cart......Page 747
11. 7 Viewing the Shopping Cart......Page 750
11. 8 Checking Out......Page 753
11. 9 Processing the Order......Page 757
11.10 Deploying the Bookstore Application in J2EE 1.2.1......Page 758
Java- Based Wireless Applications Development and J2ME......Page 780
12. 1 Introduction......Page 781
12. 2 WelcomeServlet Overview......Page 784
12. 3 TipTestServlet Overview......Page 790
12. 4 Java 2 Micro Edition......Page 821
12. 5 Installation Instructions......Page 845
12.6 Internet and World Wide Web Resources......Page 849
Remote Method Invocation......Page 854
13. 1 Introduction......Page 855
13. 3 Defining the Remote Interface......Page 856
13. 4 Implementing the Remote Interface......Page 857
13.5 Compiling and Executing the Server and the Client......Page 871
13. 6 Case Study: Deitel Messenger with Activatable Server......Page 873
13.7 Internet and World Wide Web Resources......Page 904
Session EJBs and Distributed Transactions......Page 910
14. 2 EJB Overview......Page 911
14. 3 Session Beans......Page 913
14. 4 EJB Transactions......Page 943
14.5 Internet and World Wide Web Resources......Page 964
Entity EJBs......Page 968
15. 2 Entity EJB Overview......Page 969
15. 4 Employee EJB Home and Remote Interfaces......Page 970
15. 5 EJB with Bean- Managed Persistence......Page 972
15. 6 Employee EJB with Container- Managed Persistence......Page 984
15. 7 Employee EJB Client......Page 989
15.8 Internet and World Wide Web Resources......Page 998
Messaging with JMS......Page 1001
16. 1 Introduction......Page 1002
16.2 Installation and Configuration of J2EE 1.3......Page 1003
16. 3 Point- To- Point Messaging......Page 1004
16.4 Publish/ Subscribe Messaging......Page 1015
16. 5 Message- Driven Enterprise JavaBeans......Page 1032
Enterprise Java Case Study: Architectural Overview......Page 1054
17. 1 Introduction......Page 1055
17. 3 System Architecture......Page 1056
17. 4 Enterprise JavaBeans......Page 1057
17. 6 XSLT Presentation Logic......Page 1059
Enterprise Java Case Study: Presentation and Controller Logic......Page 1073
18. 1 Introduction......Page 1074
18. 2 XMLServlet Base Class......Page 1075
18. 3 Shopping Cart Servlets......Page 1086
18.4 Product Catalog Servlets......Page 1104
18. 5 Customer Management Servlets......Page 1117
Enterprise Java Case Study: Business Logic Part 1......Page 1137
19. 2 EJB Architecture......Page 1138
19. 3 ShoppingCart Implementation......Page 1139
19. 4 Product Implementation......Page 1149
19. 5 Order Implementation......Page 1158
19. 6 OrderProduct Implementation......Page 1171
Enterprise Java Case Study: Business Logic Part 2......Page 1181
20. 2 Customer Implementation......Page 1182
20. 3 Address Implementation......Page 1195
20. 4 SequenceFactory Implementation......Page 1208
20. 5 Deitel Bookstore Application Deployment with J2EE......Page 1213
Application Servers......Page 1225
21.2 J2EE Specification and Benefits......Page 1226
21.3 Commercial Application Servers......Page 1227
21. 4 Deploying the Deitel Bookstore on BEA WebLogic......Page 1229
21. 5 Deploying the Deitel Bookstore on IBM WebSphere......Page 1255
21.6 Internet and World Wide Web Resources......Page 1257
Jini......Page 1260
22. 1 Introduction......Page 1261
22. 3 Configuring the Jini Runtime Environment......Page 1262
22. 4 Starting the Required Services......Page 1263
22. 5 Running the Jini LookupBrowser......Page 1267
22. 6 Discovery......Page 1268
22.7 Jini Service and Client Implementations......Page 1278
22. 8 Introduction to High- Level Helper Utilities......Page 1296
22.9 Internet and World Wide Web Resources......Page 1317
JavaSpaces......Page 1322
23. 1 Introduction......Page 1323
23.3 JavaSpaces Service......Page 1324
23. 4 Discovering the JavaSpaces Service......Page 1326
23. 5 JavaSpace Interface......Page 1328
23. 6 Defining an Entry......Page 1329
23. 7 Write Operation......Page 1330
23.8 Read and Take Operations......Page 1333
23. 9 Notify Operation......Page 1340
23. 10 Method snapshot......Page 1345
23.11 Updating Entries with Jini Transaction Service......Page 1348
23.12 Case Study: Distributed Image Processing......Page 1358
23.13 Internet and World Wide Web Resources......Page 1378
Java Management Extensions ( JMX)......Page 1383
24. 1 Introduction......Page 1384
24. 3 Case Study......Page 1386
24.4 Internet and World Wide Web Resources......Page 1424
Jiro......Page 1428
25. 1 Introduction......Page 1429
25. 2 Installation......Page 1430
25.3 Starting Jiro......Page 1431
25. 5 Dynamic Services......Page 1433
25. 6 Static Services......Page 1444
25. 7 Dynamic Service Deployment......Page 1456
25.8 Management Policies......Page 1473
25. 9 Closing Notes on the Printer Management Solution......Page 1492
25.10 Internet and World Wide Web Resources......Page 1493
Common Object Request Broker Architecture ( CORBA) : Part 1......Page 1499
26. 1 Introduction......Page 1500
26.2 Step- by- Step......Page 1505
26.3 First Example: SystemClock......Page 1506
26. 4 Technical/ Architectural Overview......Page 1517
26. 5 CORBA Basics......Page 1522
26. 6 Example: AlarmClock......Page 1532
26. 7 Distributed Exceptions......Page 1540
26.8 Case Study: Chat......Page 1544
26.10 Internet and World Wide Web Resources......Page 1562
Common Object Request Broker Architecture ( CORBA) : Part 2......Page 1572
27. 1 Introduction......Page 1573
Interface ( DII) and Dynamic Skeleton Interface ( DSI)......Page 1574
27. 3 BOAs, POAs and TIEs......Page 1578
27. 4 CORBAservices......Page 1580
27.5 EJBs and CORBAcomponents......Page 1586
27. 6 CORBA vs. RMI......Page 1592
27.7 RMIMessenger Case Study Ported to RMI- IIOP......Page 1595
27. 8 Future Directions......Page 1606
27.9 Internet and World Wide Web Resources......Page 1607
Peer- to- Peer Applications and JXTA......Page 1612
28.2 Client/ Server and Peer- to- Peer Applications......Page 1613
28.3 Centralized vs. Decentralized Network Applications......Page 1614
28.5 Case Study: Deitel Instant Messenger......Page 1615
28. 6 Defining the Service Interface......Page 1617
28. 7 Defining the Service implementation......Page 1619
28. 8 Registering the Service......Page 1626
28. 9 Find Other Peers......Page 1628
28.11 Improving Deitel Instant Messenger......Page 1635
28. 12 Deitel Instant Messenger with Multicast Sockets......Page 1636
28. 13 Introduction to JXTA......Page 1652
28.14 Internet and World Wide Web Resources......Page 1654
Introduction to Web Services and SOAP......Page 1658
29. 1 Introduction......Page 1659
29. 2 Simple Object Access Protocol ( SOAP)......Page 1660
29. 3 SOAP Weather Service......Page 1666
29.4 Internet and World Wide Web Resources......Page 1672
A Creating Markup with XML......Page 1675
A. 2 Introduction to XML Markup......Page 1676
A. 3 Parsers and Well- Formed XML Documents......Page 1679
A. 4 Characters......Page 1680
A. 5 CDATA Sections and Processing Instructions......Page 1682
A. 6 XML Namespaces......Page 1684
A. 7 Internet and World Wide Web Resources......Page 1687
B Document Type Definition ( DTD)......Page 1691
B. 2 Parsers, Well- Formed and Valid XML Documents......Page 1692
B. 3 Document Type Declaration......Page 1693
B. 4 Element Type Declarations......Page 1694
B. 5 Attribute Declarations......Page 1700
B. 6 Attribute Types......Page 1702
B. 7 Conditional Sections......Page 1708
B. 8 Whitespace Characters......Page 1709
B. 9 Internet and World Wide Web Resources......Page 1711
C Document Object Model ( DOM )......Page 1716
C. 1 Introduction......Page 1717
C. 2 DOM with Java......Page 1718
C. 4 DOM Components......Page 1721
C. 5 Creating Nodes......Page 1729
C. 6 Traversing the DOM......Page 1732
C. 7 Internet and World Wide Web Resources......Page 1735
D XSL: Extensible Stylesheet Language Transformations ( XSLT)......Page 1740
D. 2 Applying XSLTs with Java......Page 1741
D. 3 Templates......Page 1743
D. 4 Creating Elements and Attributes......Page 1744
D. 5 Iteration and Sorting......Page 1747
D. 6 Conditional Processing......Page 1751
D. 7 Combining Style Sheets......Page 1754
D. 9 Internet and World Wide Web Resources......Page 1759
E. 2 Installation......Page 1763
E. 3 Configuration......Page 1764
F. 2 Participants......Page 1765
F. 3 Java Community Process......Page 1766
G Java Native Interface ( JNI)......Page 1769
G. 2 Getting Started with Java Native Interface......Page 1770
G. 3 Accessing Java Methods and Objects from Native Code......Page 1774
G. 4 JNI and Arrays......Page 1782
G. 5 Handling Exceptions with JNI......Page 1786
G. 6 Internet and World Wide Web Resources......Page 1797
H Career Opportunities......Page 1802
H. 1 Introduction......Page 1803
H. 2 Resources for the Job Seeker......Page 1804
H. 3 Online Opportunities for Employers......Page 1805
H. 4 Recruiting Services......Page 1810
H. 5 Career Sites......Page 1812
H. 6 Internet and World Wide Web Resources......Page 1818
I Unicode ยฎ......Page 1826
I. 1 Introduction......Page 1827
I. 2 Unicode Transformation Formats......Page 1828
I. 3 Characters and Glyphs......Page 1829
I. 5 Unicode Consortium s Web Site......Page 1830
I. 6 Using Unicode......Page 1831
I. 7 Character Ranges......Page 1834
Numerics......Page 1838
B......Page 1840
D......Page 1844
E......Page 1846
F......Page 1851
G......Page 1852
I......Page 1854
J......Page 1856
L ListDataListener......Page 1860
M......Page 1861
N......Page 1862
P......Page 1864
R DropTargetDragEv- removeChild method 1659......Page 1866
S......Page 1867
T......Page 1871
U......Page 1872
W......Page 1873
X......Page 1874
Y......Page 1875


๐Ÿ“œ SIMILAR VOLUMES


Advanced Programming for the Java 2 Plat
โœ Calvin Austin, Monica Pawlan ๐Ÿ“‚ Library ๐Ÿ“… 2000 ๐Ÿ› Addison Wesley Longman ๐ŸŒ English

(Pearson Education) A guide for experienced Web developers to using the Java 2 platform. Guides the reader through advanced APIs, providing coverage of key elements in advanced applications. The CD-ROM contains all of the source code referenced in the text as well as the text itself in html, and Lin

Java : how to program
โœ Paul J Deitel; Harvey M Deitel ๐Ÿ“‚ Library ๐Ÿ“… 2007 ๐Ÿ› Pearson Prentice Hall ๐ŸŒ English