Wednesday, April 7, 2010

TOWARDS THE SEMANTIC WEB



Contents
Foreword xiii
Biographies xv
List of Contributors xix
Acknowledgments xxi
1 Introduction 1
John Davies, Dieter Fensel and Frank van Harmelen
1.1 The Semantic Web and Knowledge Management 2
1.2 The Role of Ontologies 4
1.3 An Architecture for Semantic Web-based Knowledge Management 5
1.3.1 Knowledge Acquisition 5
1.3.2 Knowledge Representation 6
1.3.3 Knowledge Maintenance 7
1.3.4 Knowledge Use 7
1.4 Tools for Semantic Web-based Knowledge Management 7
1.4.1 Knowledge Acquisition 8
1.4.2 Knowledge Representation 8
1.4.3 Knowledge Maintenance 8
1.4.4 Knowledge Use 8
2 OIL and DAML1OIL: Ontology Languages for the Semantic Web 11
Dieter Fensel, Frank van Harmelen and Ian Horrocks
2.1 Introduction 11
2.2 The Semantic Web Pyramid of Languages 12
2.2.1 XML for Data Exchange 12
2.2.2 RDF for Assertions 13
2.2.3 RDF Schema for Simple Ontologies 14
2.3 Design Rationale for OIL 15
2.3.1 Frame-based Systems 16
2.3.2 Description Logics 17
2.3.3 Web Standards: XML and RDF 17
2.4 OIL Language Constructs 17
2.4.1 A Simple Example in OIL 18
2.5 Different Syntactic Forms 20
2.6 Language Layering 23
2.7 Semantics 26
2.8 From OIL to DAML1OIL 26
2.8.1 Integration with RDFS 26
2.8.2 Treatment of Individuals 29
2.8.3 DAML1OIL Data Types 29
2.9 Experiences and Future Developments 31
3 A Methodology for Ontology-based Knowledge Management 33
York Sure and Rudi Studer
3.1 Introduction 33
3.2 Feasibility Study 34
3.3 Kick Off Phase 38
3.4 Refinement Phase 41
3.5 Evaluation Phase 41
3.6 Maintenance and Evolution Phase 42
3.7 Related Work 42
3.7.1 Skeletal Methodology 43
3.7.2 KACTUS 44
3.7.3 Methontology 44
3.7.4 Formal Tools of Ontological Analysis 45
3.8 Conclusion 45
4 Ontology Management: Storing, Aligning and Maintaining Ontologies 47
Michel Klein, Ying Ding, Dieter Fensel and Borys Omelayenko
4.1 The Requirement for Ontology Management 47
4.2 Aligning Ontologies 48
4.2.1 Why is Aligning Needed 48
4.2.2 Aligning Annotated XML Documents 49
4.2.3 Mapping Meta-ontology 50
4.2.4 Mapping in OIL 53
4.3 Supporting Ontology Change 54
4.3.1 Ontologies are Changing 54
4.3.2 Changes in Ontologies Involve Several Problems 55
4.3.3 Change Management 58
4.4 Organizing Ontologies 61
4.4.1 Sesame Requirements 62
4.4.2 Functionality of an Ontology Storage System 62
4.4.3 Current Storage Systems 64
4.4.4 Requirements for a Storage System 66
4.5 Summary 69
5 Sesame: A Generic Architecture for Storing and Querying RDF and RDF
Schema 71
Jeen Broekstra, Arjohn Kampman and Frank van Harmelen
5.1 The Need for an RDFS Query Language 72
5.1.1 Querying at the Syntactic Level 72
5.1.2 Querying at the Structure Level 73
5.1.3 Querying at the Semantic Level 75
5.2 Sesame Architecture 76
5.2.1 The RQL Query module 78
5.2.2 The Admin Module 79
5.2.3 The RDF Export Module 80
5.3 The SAIL API 80
5.4 Experiences 82
5.4.1 Application: On-To-Knowledge 82
5.4.2 RDFS in Practice 84
5.4.3 PostgreSQL and SAIL 84
5.4.4 MySQL 86
5.5 Future Work 87
5.5.1 Transaction Rollback Support 87
5.5.2 Versioning Support 88
5.5.3 Adding and Extending Functional Modules 88
5.5.4 DAML1OIL Support 88
5.6 Conclusions 88
6 Generating Ontologies for the Semantic Web: OntoBuilder 91
R.H.P. Engels and T.Ch. Lech
6.1 Introduction 91
6.1.1 OntoBuilder and its Relation to the CORPORUM System 92
6.1.2 OntoExtract 93
6.1.3 OntoWrapper and TableAnalyser 96
6.2 Reading the Web 97
6.2.1 Semantics on the Internet 97
6.2.2 Problems with Retrieving Natural Language Texts from Documents 99
6.2.3 Document Handling 100
6.2.4 Normalization 100
6.2.5 Multiple Discourses 101
6.2.6 Document Class Categorization 102
6.2.7 Writing Style 102
6.2.8 Layout Issues 102
6.3 Information Extraction 103
6.3.1 Content-driven Versus Goal-driven 104
6.3.2 Levels of Linguistic Analysis 104
6.3.3 CognIT Vision 107
6.4 Knowledge Generation from Natural Language Documents 108
6.4.1 Syntax Versus Semantics 108
6.4.2 Generating Semantic Structures 109
6.4.3 Generating Ontologies from Textual Resources 110
6.4.4 Visualization and Navigation 111
6.5 Issues in Using Automated Text Extraction for Ontology Building using IE
on Web Resources 111
7 OntoEdit: Collaborative Engineering of Ontologies 117
York Sure, Michael Erdmann and Rudi Studer
7.1 Introduction 117
7.2 Kick Off Phase 118
7.3 Refinement Phase 123
7.3.1 Transaction Management 124
7.3.2 Locking Sub-trees of the Concept Hierarchy 126
7.3.3 What Does Locking a Concept Mean? 127
7.4 Evaluation Phase 128
7.4.1 Analysis of Typical Queries 128
7.4.2 Error Avoidance and Location 129
7.4.3 Usage of Competency Questions 129
7.4.4 Collaborative Evaluation 130
7.5 Related Work 130
7.6 Conclusion 131
8 QuizRDF: Search Technology for the Semantic Web 133
John Davies, Richard Weeks and Uwe Krohn
8.1 Introduction 133
8.2 Ontological Indexing 135
8.3 Ontological Searching 138
8.4 Alternative data models 141
8.4.1 Indexing in the New Model 141
8.4.2 Searching in the New Model 142
8.5 Further Work 142
8.5.1 Technical Enhancements 142
8.5.2 Evaluation 143
8.6 Concluding Remarks 143
9 Spectacle 145
Christiaan Fluit, Herko ter Horst, Jos van der Meer, Marta Sabou
and Peter Mika
9.1 Introduction 145
9.2 Spectacle Content Presentation Platform 145
9.2.1 Ontologies in Spectacle 146
9.3 Spectacle Architecture 147
9.4 Ontology-based Mapping Methodology 147
9.4.1 Information Entities 149
9.4.2 Ontology Mapping 149
9.4.3 Entity Rendering 150
9.4.4 Navigation Specification 150
9.4.5 Navigation Rendering 151
9.4.6 Views 152
9.4.7 User Profiles 152
9.5 Ontology-based Information Visualization 153
9.5.1 Analysis 153
9.5.2 Querying 156
9.5.3 Navigation 158
9.6 Summary: Semantics-based Web Presentations 159
10 OntoShare: Evolving Ontologies in a Knowledge Sharing System 161
John Davies, Alistair Duke and Audrius Stonkus
10.1 Introduction 161
10.2 Sharing and Retrieving Knowledge in OntoShare 162
10.2.1 Sharing Knowledge in OntoShare 163
10.2.2 Ontological Representation 164
10.2.3 Retrieving Explicit Knowledge in OntoShare 167
10.3 Creating Evolving Ontologies 169
10.4 Expertise Location and Tacit Knowledge 170
10.5 Sociotechnical Issues 172
10.5.1 Tacit and Explicit Knowledge Flows 172
10.5.2 Virtual Communities 173
10.6 Evaluation and Further Work 175
10.7 Concluding Remarks 176
11 Ontology Middleware and Reasoning 179
Atanas Kiryakov, Kiril Simov and Damyan Ognyanov
11.1 Ontology Middleware: Features and Architecture 179
11.1.1 Place in the On-To-Knowledge Architecture 181
11.1.2 Terminology 182
11.2 Tracking Changes, Versioning and Meta-information 183
11.2.1 Related Work 184
11.2.2 Requirements 184
11.3 Versioning Model for RDF(S) Repositories 185
11.3.1 History, Passing through Equivalent States 188
11.3.2 Versions are Labelled States of the Repository 188
11.3.3 Implementation Approach 188
11.3.4 Meta-information 190
11.4 Instance Reasoning for DAML1OIL 192
11.4.1 Inference Services 194
11.4.2 Functional Interfaces to a DAML1OIL Reasoner 195
12 Ontology-based Knowledge Management at Work: The Swiss Life Case
Studies 197
Ulrich Reimer, Peter Brockhausen, Thorsten Lau and Jacqueline R. Reich
12.1 Introduction 197
12.2 Skills Management 198
12.2.1 What is Skills Management? 198
12.2.2 SkiM: Skills Management at Swiss Life 200
12.2.3 Architecture of SkiM 202
12.2.4 SkiM as an Ontology-based Approach 203
12.2.5 Querying Facilities 207
12.2.6 Evaluation and Outlook 208
12.3 Automatically Extracting a ‘Lightweight Ontology’ from Text 209
12.3.1 Motivation 209
12.3.2 Automatic Ontology Extraction 210
12.3.3 Employing the Ontology for Querying 213
12.3.4 Evaluation and Outlook 215
12.4 Conclusions 217
13 Field Experimenting with Semantic Web Tools in a Virtual Organization 219
Victor Iosif, Peter Mika, Rikard Larsson and Hans Akkermans
13.1 Introduction 219
13.2 The EnerSearch Industrial Research Consortium as a Virtual Organization 219
13.3 Why Might Semantic Web Methods Help? 222
13.4 Design Considerations of Semantic Web Field Experiments 223
13.4.1 Different Information Modes 224
13.4.2 Different Target User Groups 224
13.4.3 Different Individual Cognitive Styles 225
13.4.4 Hypotheses to be Tested 228
13.5 Experimental Set-up in a Virtual Organization 229
13.5.1 Selecting Target Test Users 229
13.5.2 Tools for Test 230
13.5.3 Test Tasks and their Organization 230
13.5.4 Experimental Procedure 231
13.5.5 Determining What Data to Collect 232
13.5.6 Evaluation Matrix and Measurements 233
13.6 Technical and System Aspects of Semantic Web Experiments 234
13.6.1 System Design 234
13.6.2 Ontology Engineering, Population, Annotation 235
13.7 Ontology-based Information Retrieval: What Does it Look Like? 236
13.7.1 Ontology and Semantic Sitemaps 236
13.7.2 Semantics-based Information Retrieval 239
13.8 Some Lessons Learned 241
14 A Future Perspective: Exploiting Peer-to-Peer and the Semantic Web for
Knowledge Management 245
Dieter Fensel, Steffen Staab, Rudi Studer, Frank van Harmelen
and John Davies
14.1 Introduction 245
14.2 A Vision of Modern Knowledge Management 247
14.2.1 Knowledge Integration 247
14.2.2 Knowledge Categorization 247
14.2.3 Context Awareness 248
14.2.4 Personalization 248
14.2.5 Knowledge Portal Construction 249
14.2.6 Communities of Practice 249
14.2.7 P2P Computing and its Implications for KM 250
14.2.8 Virtual Organizations and their Impact 251
14.2.9 eLearning Systems 251
14.2.10 The Knowledge Grid 251
14.2.11 Intellectual Capital Valuation 252
14.3 A Vision of Ontologies: Dynamic Networks of Meaning 252
14.3.1 Ontologies or How to Escape a Paradox 253
14.3.2 Heterogeneity in Space: Ontology as Networks of Meaning 254
14.3.3 Development in Time: Living Ontologies 255
14.4 Peer-2-Peer, Ontologies and Knowledge 256
14.4.1 Shortcomings of Peer-2-Peer and Ontologies as Isolated Paradigms
256
14.4.2 Challenges in Integrating Peer-2-Peer and Ontologies 258
14.5 Conclusions 263
14.5.1 P2P for Knowledge Management 263
14.5.2 P2P for Ontologies 263
14.5.3 Ontologies for P2P and Knowledge Management 264
14.5.4 Community Building 264
15 Conclusions: Ontology-driven Knowledge Management – Towards the
Semantic Web? 265
John Davies, Dieter Fensel and Frank van Harmelen
References 267
Index 281

Download this book, click here
Continue Reading ...

Monday, April 5, 2010

A Muslim’s Guide to Prayer - Salah



CONTENTS

1. Contents 4-5
2. Preface 6
3. Chapter One: Ibadah & Revelation of Salah alah to Prophet
Muhammad PBUH 7-14
· Ibadah – Worship 7
· Revelation of Salah to Prophet Muhammad Pbuh 7
· Salah in the Holy Qur’an and Hadith 8-9
· Prophet Pbuh – The Best of Worshippers 9-12
· The Benefits of Salah 13
· Pictures of The Rawzah & Masjid-e-Nabawi s.a.w. 14
4. Chapter Two: Taharah – Purity in Islam 15-24
· What is Taharah? 15
· Types of Impurities/Najasaat 15-16
· The Water – Al-Maa’ 16
· Istinja – Cleaning of the Private Parts 17
· Wudhu - Ablution 18-22
· What Breaks the Wudhu 23
· What does not Break the Wudhu 23
· Actions Forbidden Without Wudhu or Tayammum 23
· Ghusl – Bath 23-24
· Tayammum – Dry Ablution 24
5. Chapter Three: Salah – Prayer 25-52
· The Names, Times and Rakaats of Daily Salah 25-26
· Witr Salah 27
· Sajdah Sahw – Prostration of Forgetfulness/Mistake 28-29
· Actions That Break the Prayer – Mufsidaat-e-Salah 29
· Actions Disliked During Prayer – Makroohat-e-Salah 29
· Times When Salah is Not To Be Performed 30
· Non-Daily Prayers 30
· Azaan – The Muslim Call to Prayer 31-33
· The Faraaidh of Salah – Compulsory Parts 34
· Photographs of Positions in Prayer for Males & Females 35-44
· The Sunnah Method of Performing the Prayer 45-51
· Dua and Zikr After Prayer 52
6. Chapter Four: Prayer Besides the daily y Salah & How to
Perform Them 53-62
· The Jumu’ah/Jum’ah – Friday Prayer 53-54
· The Salatul-Eidain –Eid Prayer 54-55
· The Tarawih Prayer 56-57
· The Janazah – Funeral Prayer 57-59
· The Musaafir’s (Traveler’s) Prayer 60-61
· Qaza (Missed) Prayer 62
· Mareez’s Prayer – Those Who Are Ill/Disabled 62
7. Chapter Five: Nafilah Salah (Superogatory/Optional
Prayer) 63-67
· Tahiyyatul-Wudhu 63
· Tahiyyatul-Masjid 63
· Ishraaq 63
· Duha/Chaasht 63
· Awwabeen 63
· Tahajjud 64
· Tasbeeh 64
· Istikhaarah 65-66
· Taubah 66
· Haajat 66-67
· Safar 67
· Khauf 67
· Istisqaa 67
· Kusoof 67
· Khusoof 67
8. Chapter Six: Aadab (Etiquettes/Manners) of The Masjid 68-69
9. Chapter Seven: Articles (Kalimaat) of Faith 70-75
· Zikr and articles of Faith 70
· Imaan Mufassal - Belief in Detail 71
· Imaan Mujmal - Belief in Brief 71
· First Kalima Tayyibah (Declaration of Faith) 72
· Second Kalimah Shahaadat (Witnessing) 72
· Third Kalimah Tamjeed (Glory of Allah) 73
· Fourth Kalimah Tawheed (Praise of Allah) 73
· Fifth Kalimah Istighfaar (Repenting/asking Allah’s
Forgiveness) 74
· Sixth Kalimah Radd-e-Kufr (Rejection of Disbelief) 75
10. Bibliography 76
11. Introduction to the Imam Ahmad Raza Institute Inter. 77

Download this book click here Continue Reading ...

Computer Networks, Fourth Edition



Computer Networks, Fourth Edition
By Andrew S. Tanenbaum

Publisher : Prentice Hall
Pub Date : March 17, 2003
ISBN : 0-13-066102-3
Pages : 384


Copyright
Other bestselling titles by Andrew S. Tanenbaum
Preface
About the Author
Chapter 1. Introduction
Section 1.1. Uses of Computer Networks
Section 1.2. Network Hardware
Section 1.3. Network Software
Section 1.4. Reference Models
Section 1.5. Example Networks
Section 1.6. Network Standardization
Section 1.7. Metric Units
Section 1.8. Outline of the Rest of the Book
Section 1.9. Summary
Chapter 2. The Physical Layer
Section 2.1. The Theoretical Basis for Data Communication
Section 2.2. Guided Transmission Media
Section 2.3. Wireless Transmission
Section 2.4. Communication Satellites
Section 2.5. The Public Switched Telephone Network
Section 2.6. The Mobile Telephone System
Section 2.7. Cable Television
Section 2.8. Summary
Chapter 3. The Data Link Layer
Section 3.1. Data Link Layer Design Issues
Section 3.2. Error Detection and Correction
Section 3.3. Elementary Data Link Protocols
Section 3.4. Sliding Window Protocols
Section 3.5. Protocol Verification
Section 3.6. Example Data Link Protocols
Section 3.7. Summary
Chapter 4. The Medium Access Control Sublayer
Section 4.1. The Channel Allocation Problem
Section 4.2. Multiple Access Protocols
Section 4.3. Ethernet
Section 4.4. Wireless LANs
Section 4.5. Broadband Wireless
Section 4.6. Bluetooth
Section 4.7. Data Link Layer Switching
Section 4.8. Summary
Chapter 5. The Network Layer
Section 5.1. Network Layer Design Issues
Section 5.2. Routing Algorithms
Section 5.3. Congestion Control Algorithms
Section 5.4. Quality of Service
Section 5.5. Internetworking
Section 5.6. The Network Layer in the Internet
Section 5.7. Summary
Chapter 6. The Transport Layer
Section 6.1. The Transport Service
Section 6.2. Elements of Transport Protocols
Section 6.3. A Simple Transport Protocol
Section 6.4. The Internet Transport Protocols: UDP
Section 6.5. The Internet Transport Protocols: TCP
Section 6.6. Performance Issues
Section 6.7. Summary
Chapter 7. The Application Layer
Section 7.1. DNS—The Domain Name System
Section 7.2. Electronic Mail
Section 7.3. The World Wide Web
Section 7.4. Multimedia
Section 7.5. Summary
Chapter 8. Network Security
Section 8.1. Cryptography
Section 8.2. Symmetric-Key Algorithms
Section 8.3. Public-Key Algorithms
Section 8.4. Digital Signatures
Section 8.5. Management of Public Keys
Section 8.6. Communication Security
Section 8.7. Authentication Protocols
Section 8.8. E-Mail Security
Section 8.9. Web Security
Section 8.10. Social Issues
Section 8.11. Summary
Chapter 9. Reading List and Bibliography
Section 9.1. Suggestions for Further Reading
Section 9.1.1. Introduction and General Works
Section 9.2. Alphabetical Bibliography

Download this book, click here Continue Reading ...

Saturday, April 3, 2010

Advanced Data Structures




Contents
Preface page xi
1 Elementary Structures 1
1.1 Stack 1
1.2 Queue 8
1.3 Double-Ended Queue 16
1.4 Dynamical Allocation of Nodes 16
1.5 Shadow Copies of Array-Based Structures 18
2 Search Trees 23
2.1 Two Models of Search Trees 23
2.2 General Properties and Transformations 26
2.3 Height of a Search Tree 29
2.4 Basic Find, Insert, and Delete 31
2.5 Returning fromLeaf to Root 35
2.6 Dealing with Nonunique Keys 37
2.7 Queries for the Keys in an Interval 38
2.8 Building Optimal Search Trees 40
2.9 Converting Trees into Lists 47
2.10 Removing a Tree 48
3 Balanced Search Trees 50
3.1 Height-Balanced Trees 50
3.2 Weight-Balanced Trees 61
3.3 (a, b)- and B-Trees 72
3.4 Red-Black Trees and Trees of Almost Optimal Height 89
3.5 Top-Down Rebalancing for Red-Black Trees 101
3.6 Trees with Constant Update Time at a Known Location 111
3.7 Finger Trees and Level Linking 114
3.8 Trees with Partial Rebuilding: Amortized Analysis 119
3.9 Splay Trees: Adaptive Data Structures 122
3.10 Skip Lists: Randomized Data Structures 135
3.11 Joining and Splitting Balanced Search Trees 143
4 Tree Structures for Sets of Intervals 148
4.1 Interval Trees 148
4.2 Segment Trees 154
4.3 Trees for the Union of Intervals 162
4.4 Trees for Sums of Weighted Intervals 169
4.5 Trees for Interval-Restricted Maximum Sum Queries 174
4.6 Orthogonal Range Trees 182
4.7 Higher-Dimensional Segment Trees 196
4.8 Other Systems of Building Blocks 199
4.9 Range-Counting and the Semigroup Model 202
4.10 kd-Trees and Related Structures 204
5 Heaps 209
5.1 Balanced Search Trees as Heaps 210
5.2 Array-Based Heaps 214
5.3 Heap-Ordered Trees and Half-Ordered Trees 221
5.4 Leftist Heaps 227
5.5 Skew Heaps 235
5.6 Binomial Heaps 239
5.7 Changing Keys in Heaps 248
5.8 Fibonacci Heaps 250
5.9 Heaps of Optimal Complexity 262
5.10 Double-Ended Heap Structures and Multidimensional
Heaps 267
5.11 Heap-Related Structures with Constant-Time Updates 271
6 Union-Find and Related Structures 278
6.1 Union-Find: Merging Classes of a Partition 279
6.2 Union-Find with Copies and Dynamic Segment Trees 293
6.3 List Splitting 303
6.4 Problems on Root-Directed Trees 306
6.5 Maintaining a Linear Order 317
7 Data Structure Transformations 321
7.1 Making Structures Dynamic 321
7.2 Making Structures Persistent 330
8 Data Structures for Strings 335
8.1 Tries and Compressed Tries 336
8.2 Dictionaries Allowing Errors in Queries 356
8.3 Suffix Trees 360
8.4 Suffix Arrays 367
9 Hash Tables 374
9.1 Basic Hash Tables and Collision Resolution 374
9.2 Universal Families of Hash Functions 380
9.3 Perfect Hash Functions 391
9.4 Hash Trees 397
9.5 Extendible Hashing 398
9.6 Membership Testers and Bloom Filters 402
10 Appendix 406
10.1 The Pointer Machine and Alternative Computation
Models 406
10.2 External Memory Models and Cache-Oblivious
Algorithms 408
10.3 Naming of Data Structures 409
10.4 Solving Linear Recurrences 410
10.5 Very Slowly Growing Functions 412
11 References 415
Author Index 441
Subject Index 455

Download this book click here Continue Reading ...

Arabic For Dummies





Contents at a Glance
Introduction .................................................................1
Part I: Getting Started ..................................................7
Chapter 1: You Already Know a Little Arabic .................................................................9
Chapter 2: The Nitty-Gritty: Basic Arabic Grammar ....................................................19
Chapter 3: ‘as-salaamu ‘alaykum!: Greetings and Introductions ................................49
Part II: Arabic in Action..............................................59
Chapter 4: Getting to Know You: Making Small Talk....................................................61
Chapter 5: This Is Delicious! Eating In and Dining Out ................................................81
Chapter 6: Going Shopping .............................................................................................99
Chapter 7: Around Town ...............................................................................................121
Chapter 8: Enjoying Yourself: Recreation....................................................................143
Chapter 9: Talking on the Phone ..................................................................................155
Chapter 10: At the Office and Around the House.......................................................167
Part III: Arabic on the Go..........................................187
Chapter 11: Money, Money, Money ..............................................................................189
Chapter 12: Asking for Directions ................................................................................205
Chapter 13: Staying at a Hotel.......................................................................................217
Chapter 14: Getting from Here to There: Transportation .........................................239
Chapter 15: Planning a Trip...........................................................................................261
Chapter 16: Handling an Emergency............................................................................281
Part IV: The Part of Tens ...........................................293
Chapter 17: Ten Ways to Pick Up Arabic Quickly.......................................................295
Chapter 18: Ten Things You Should Never Do in an Arab Country .........................299
Chapter 19: Ten Favorite Arabic Expressions.............................................................305
Chapter 20: Ten Great Arabic Proverbs.......................................................................311
Part V: Appendixes ...................................................315
Appendix A: Verb Tables ...............................................................................................317
Appendix B: Arabic-English Mini-Dictionary ..............................................................331
Appendix C: Answer Key ...............................................................................................345
Appendix D: About the CD ............................................................................................351
Index .......................................................................353

Download this book click here Continue Reading ...

Friday, April 2, 2010

Programming Microsoft Windows CE




Introduction

I was introduced to Microsoft Windows CE right before it was released in the fall of 1996. A Windows programmer for many years, I was intrigued by an operating system that applied the well-known Windows API to a smaller, more power-conserving operating system. The distillation of the API for smaller machines enables tens of thousands of Windows programmers to write applications for an entirely new class of systems. The subtle differences, however, make writing Windows CE code somewhat different from writing for Windows 98 or Windows NT. It's those differences that I'll address in this book.
Just What Is Windows CE?

Windows CE is the newest, smallest, and arguably the most interesting of the Microsoft Windows operating systems. Windows CE was designed from the ground up to be a small, ROM-based operating system with a Win32 subset API. Windows CE extends the Windows API into the markets and machines that can't support the larger footprints of Windows 98 and Windows NT.

Windows 98 is a great operating system for users who need backward compatibility with DOS and Windows 2.x and 3.x programs. While it has shortcomings, Windows 98 succeeds amazingly well at this difficult task. Windows NT, on the other hand, is written for the enterprise. It sacrifices compatibility and size to achieve its high level of reliability and robustness.

Windows CE isn't backward compatible with MS-DOS or Windows. Nor is it an all-powerful operating system designed for enterprise computing. Instead, Windows CE is a lightweight, multithreaded operating system with an optional graphical user interface. Its strength lies in its small size, its Win32 subset API, and its multiplatform support.
Products Based on Windows CE

The first products designed for Windows CE were handheld "organizer" type devices with 480-by-240 or 640-240 screens and chiclets keyboards. These devices, dubbed Handheld PCs, were first introduced at Fall Comdex 96. Fall Comdex 97 saw the release of a dramatically upgraded version of the operating system, Windows CE 2.0,with newer hardware in a familiar form—this time the box came with a 640-by-240-landscape screen and a somewhat larger keyboard.

In January 1998 at the Consumer Electronics Show, Microsoft announced two new platforms, the Palm-size PC and the Auto PC. The Palm-size PC was aimed directly at the pen-based organizer market currently dominated by the Palm Pilot. The Palm-size PC sports a portrait mode, 240-by-320 screen and uses stylus-based input. A number of Palm-size PCs are on the market today.

Download this book click here Continue Reading ...

Siapa Bilang Jadi Karyawan Nggak Bisa Kaya?



Banyak orang bilang “Kalau mau kaya, jangan lama-lama jadi karyawan. Keluar
dan bukalah usaha sendiri.” Pertanyaannya: betulkah bekerja sebagai karyawan
tidak bisa membuat Anda jadi kaya? Jawabannya: ternyata tidak betul…!
Dalam buku ini, ada 5 kiat agar seorang karyawan bisa jadi kaya:
1. Beli & Miliki Sebanyak Mungkin Harta Produktif,
2. Atur Pengeluaran Anda,
3. Hati-hati dengan Utang,
4. Sisihkan untuk Masa Depan,
5. Miliki Proteksi.
Dipenuhi dengan sejumlah contoh serta langkah praktis untuk setiap kiatnya, buku ini
pantas menjadi pegangan bagi Anda yang bekerja sebagai karyawan.

“Akhirnya … tidak perlu berhenti kerja dari kantor untuk jadi kaya. Buku ini
memberikan kiat-kiat yang sederhana, tapi powerful untuk menjamin masa depan.”
Fifi Aleyda Yahya
Presenter – Metro TV

“… kiat-kiat dalam buku ini telah mematahkan teori Kiyosaki bahwa hanya
pengusaha atau investor yang bisa menjadi kaya.”
Gung Panggodo Supryanto
Redaktur Eksekutif – Tabloid Bisnis Uang

“Buku ini berusaha menepis gambaran umum bahwa yang namanya karyawan nggak
bisa kaya. Dan ternyata berhasil …!”
Arief Agus “Lengky”
Knowledge Management Manager – PT Excelcomindo Pratama

Safir Senduk adalah seorang Perencana Keuangan yang bertugas membantu
perorangan dan keluarga dalam mencapai tujuan-tujuan keuangan mereka. Ia adalah
pendiri Safir Senduk & Rekan, sebuah Biro Perencanaan Keuangan yang pertama di
Indonesia. Selain melayani klien, ia telah bebicara di depan ribuan orang─baik dalam
bentuk seminar maupun pelatihan─tentang perencanaan keuangan. Ia juga mendirikan
situs www.perencanakeuangan.com sebuah situs perencanaan keuangan yang terbesar
dan terlengkap di Indonesia.

Download this book click here Continue Reading ...

Thursday, April 1, 2010

Core Java™ 2: Volume I–Fundamentals



Table of Contents
List of Tables, Code Examples and Figures....................................................................... 1
Tables ................................................................................................................................ 1
Code Examples................................................................................................................... 1
Figures............................................................................................................................... 3
Preface .................................................................................................................................. 7
To the Reader ..................................................................................................................... 7
About This Book ................................................................................................................8
Conventions..................................................................................................................... 10
CD-ROM.......................................................................................................................... 11
Acknowledgments............................................................................................................... 12
Chapter 1. An Introduction to Java ................................................................................. 13
Java as a Programming Tool ............................................................................................ 13
Advantages of Java........................................................................................................... 14
The Java “White Paper” Buzzwords ................................................................................ 15
Java and the Internet......................................................................................................... 22
A Short History of Java.................................................................................................... 24
Common Misconceptions About Java.............................................................................. 26
Chapter 2. The Java Programming Environment .......................................................... 30
Installing the Java Software Development Kit................................................................. 30
Development Environments............................................................................................. 34
Using the Command Line Tools ...................................................................................... 35
Using an Integrated Development Environment.............................................................. 38
Compiling and Running Programs from a Text Editor .................................................... 42
Graphical Applications..................................................................................................... 46
Applets ............................................................................................................................. 49
Chapter 3. Fundamental Programming Structures in Java .......................................... 54
A Simple Java Program.................................................................................................... 54
Comments........................................................................................................................ 57
Data Types........................................................................................................................ 58
Variables.......................................................................................................................... 62
Assignments and Initializations ....................................................................................... 63
Operators .......................................................................................................................... 65
Strings.............................................................................................................................. 73
Control Flow .................................................................................................................... 87
Big Numbers .................................................................................................................. 106
Arrays ............................................................................................................................. 108
Chapter 4. Objects and Classes....................................................................................... 123
Introduction to Object-Oriented Programming .............................................................. 123
Using Existing Classes ................................................................................................... 131
Building Your Own Classes........................................................................................... 143
Static Fields and Methods .............................................................................................. 155
Method Parameters......................................................................................................... 161
Object Construction........................................................................................................ 168
Packages ......................................................................................................................... 177
Documentation Comments............................................................................................. 187
Class Design Hints ......................................................................................................... 192
Chapter 5. Inheritance..................................................................................................... 195
Extending Classes .......................................................................................................... 195
Object: The Cosmic Superclass ................................................................................... 216
The Class Class ............................................................................................................. 240
Reflection ....................................................................................................................... 244
Design Hints for Inheritance .......................................................................................... 262
Chapter 6. Interfaces and Inner Classes ........................................................................ 265
Interfaces ........................................................................................................................ 265
Object Cloning ............................................................................................................... 276
Inner Classes .................................................................................................................. 282
Proxies........................................................................................................................... 299
Chapter 7. Graphics Programming................................................................................ 306
Introduction to Swing..................................................................................................... 306
Creating a Frame ............................................................................................................ 310
Frame Positioning .......................................................................................................... 314
Displaying Information in a Panel ................................................................................. 319
2D Shapes....................................................................................................................... 326
Colors ............................................................................................................................. 335
Text and Fonts................................................................................................................ 340
Images ............................................................................................................................ 351
Chapter 8. Event Handling.............................................................................................. 358
Basics of Event Handling............................................................................................... 358
The AWT Event Hierarchy ............................................................................................ 378
Semantic and Low-Level Events in the AWT ............................................................... 380
Low-Level Event Types ................................................................................................. 384
Actions ........................................................................................................................... 402
Multicasting................................................................................................................... 411
The Event Queue............................................................................................................ 414
Chapter 9. User Interface Components with Swing...................................................... 424
The Model-View-Controller Design Pattern.................................................................. 424
An Introduction to Layout Management........................................................................ 430
Text Input ....................................................................................................................... 437
Making Choices.............................................................................................................. 464
Menus............................................................................................................................ 488
Sophisticated Layout Management ................................................................................ 512
Dialog Boxes .................................................................................................................. 540
Chapter 10. Applets.......................................................................................................... 582
Applet Basics.................................................................................................................. 582
The Applet HTML Tags and Attributes......................................................................... 600
Multimedia ..................................................................................................................... 614
The Applet Context ........................................................................................................ 617
JAR Files ........................................................................................................................ 628
Chapter 11. Exceptions and Debugging ......................................................................... 640
Dealing with Errors ........................................................................................................ 640
Catching Exceptions....................................................................................................... 648
Some Tips on Using Exceptions .................................................................................... 658
Debugging Techniques................................................................................................... 661
Using a Debugger........................................................................................................... 684
Chapter 12. Streams and Files ........................................................................................ 693
Streams ........................................................................................................................... 693
The Complete Stream Zoo ............................................................................................. 696
ZIP File Streams............................................................................................................. 718
Putting Streams to Use ................................................................................................... 727
Object Streams ............................................................................................................... 741
File Management............................................................................................................ 768
Appendix Java Keywords................................................................................................ 776

Download this book click here
Continue Reading ...

Related Posts with Thumbnails

Put Your Ads Here!

Recent Posts