Angebote zu "Package" (27 Treffer)

Kategorien

Shops

Pro JPA 2 in Java EE 8
37,94 € *
ggf. zzgl. Versand

Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of JPA usage for experienced Java developers. Authors Mike Keith, Merrick Schincariol and Massimo Nardone take a hands-on approach, based on their wealth of experience and expertise, by giving examples to illustrate each concept of the API and showing how it is used in practice. The examples use a common model from an overarching sample application, giving you a context from which to start and helping you to understand the examples within an already familiar domain. After completing Pro JPA 2 in Java EE 8 , you will have a full understanding of JPA and be able to successfully code applications using its annotations and APIs. The book also serves as an excellent reference guide. What You Will Learn Use the JPA in the context of enterprise applications Work with object relational mappings (ORMs), collection mappings and more Build complex enterprise Java applications that persist data long after the process terminates Connect to and persist data with a variety of databases, file formats, and more Use queries, including the Java Persistence Query Language (JPQL) Carry out advanced ORM, queries and XML mappings Package, deploy and test your Java persistence-enabled enterprise applications Who This Book Is For Experienced Java programmers and developers with at least some prior experience with J2EE or Java EE platform APIs.

Anbieter: buecher
Stand: 13.08.2020
Zum Angebot
Pro JPA 2 in Java EE 8
37,94 € *
ggf. zzgl. Versand

Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of JPA usage for experienced Java developers. Authors Mike Keith, Merrick Schincariol and Massimo Nardone take a hands-on approach, based on their wealth of experience and expertise, by giving examples to illustrate each concept of the API and showing how it is used in practice. The examples use a common model from an overarching sample application, giving you a context from which to start and helping you to understand the examples within an already familiar domain. After completing Pro JPA 2 in Java EE 8 , you will have a full understanding of JPA and be able to successfully code applications using its annotations and APIs. The book also serves as an excellent reference guide. What You Will Learn Use the JPA in the context of enterprise applications Work with object relational mappings (ORMs), collection mappings and more Build complex enterprise Java applications that persist data long after the process terminates Connect to and persist data with a variety of databases, file formats, and more Use queries, including the Java Persistence Query Language (JPQL) Carry out advanced ORM, queries and XML mappings Package, deploy and test your Java persistence-enabled enterprise applications Who This Book Is For Experienced Java programmers and developers with at least some prior experience with J2EE or Java EE platform APIs.

Anbieter: buecher
Stand: 13.08.2020
Zum Angebot
Thinking in Java
47,66 € *
ggf. zzgl. Versand

Thinking in Java has earned raves from programmers worldwide for its extraordinary clarity, careful organization, and small, direct programming examples. It's the definitive introduction to object-oriented programming in the language of the world wide web. From the fundamentals of Java syntax to its most advanced features, Thinking in Java is designed to teach, one simple step at a time. Fully updated for J2SE5 with many new examples and chapters. Product Description "Thinking in Java should be read cover to cover by every Java programmer, then kept close at hand for frequent reference. The exercises are challenging, and the chapter on Collections is superb! Not only did this book help me to pass the Sun Certified Java Programmer exam; it's also the first book I turn to whenever I have a Java question." -Jim Pleger, Loudoun County (Virginia) Government"Much better than any other Java book I've seen. Make that 'by an order of magnitude'.... Very complete, with excellent right-to-the-point examples and intelligent, not dumbed-down, explanations.... In contrast to many other Java books I found it to be unusually mature, consistent, intellectually honest, well-written, and precise. IMHO, an ideal book for studying Java." -Anatoly Vorobey, Technion University, Haifa, Israel"Absolutely one of the best programming tutorials I've seen for any language." -Joakim Ziegler, FIX sysop"Thank you again for your awesome book. I was really floundering (being a non-C programmer), but your book has brought me up to speed as fast as I could read it. It's really cool to be able to understand the underlying principles and concepts from the start, rather than having to try to build that conceptual model through trial and error. Hopefully I will be able to attend your seminar in the not-too-distant future." -Randall R. Hawley, automation technician, Eli Lilly & Co."This is one of the best books I've read about a programming language.... The best book ever written on Java." -Ravindra Pai, Oracle Corporation, SUNOS product line"Bruce, your book is wonderful! Your explanations are clear and direct. Through your fantastic book I have gained a tremendous amount of Java knowledge. The exercises are also fantastic and do an excellent job reinforcing the ideas explained throughout the chapters. I look forward to reading more books written by you. Thank you for the tremendous service that you are providing by writing such great books. My code will be much better after reading Thinking in Java. I thank you and I'm sure any programmers who will have to maintain my code are also grateful to you." -Yvonne Watkins, Java artisan, Discover Technologies, Inc."Other books cover the what of Java (describing the syntax and the libraries) or the how of Java (practical programming examples). Thinking in Java is the only book I know that explains the why of Java: Why it was designed the way it was, why it works the way it does, why it sometimes doesn't work, why it's better than C++, why it's not. Although it also does a good job of teaching the what and how of the language, Thinking in Java is definitely the thinking person's choice in a Java book." -Robert S. StephensonAwards for Thinking in Java2003 Software Development Magazine Jolt Award for Best Book 2003 Java Developer's Journal Reader's Choice Award for Best Book 2001 JavaWorld Editor's Choice Award for Best Book 2000 JavaWorld Reader's Choice Award for Best Book 1999 Software Development Magazine Productivity Award 1998 Java Developer's Journal Editor's Choice Award for Best Book Thinking in Java has earned raves from programmers worldwide for its extraordinary clarity, careful organization, and small, direct programming examples. From the fundamentals of Java syntax to its most advanced features, Thinking in Java is designed to teach, one simple step at a time. The classic object-oriented introduction for beginners and experts alike, fully updated for Java SE5/6 with many new examples and chapters! Test framework shows program output. Design patterns are shown with multiple examples throughout: Adapter, Bridge, Chain of Responsibility, Command, Decorator, Facade, Factory Method, Flyweight, Iterator, Data Transfer Object, Null Object, Proxy, Singleton, State, Strategy, Template Method, and Visitor. Introduction to XML for data transfer; SWT, Flash for user interfaces. Completely rewritten concurrency chapter gives you a solid grasp of threading fundamentals. 500+ working Java programs in 700+ compiling files, rewritten for this edition and Java SE5/6. Companion web site includes all source code, annotated solution guide, weblog, and multimedia seminars. Thorough coverage of fundamentals; demonstrates advanced topics. Explains sound object-oriented principles. Hands-On Java Seminar CD available online, with full multimedia seminar by Bruce Eckel. Live seminars, consulting, and reviews available. See www.MindView.net Download seven free sample chapters from Thinking in Java, Fourth Edition. Visit http://mindview.net/Books/TIJ4 . Features + Benefits Bruce Eckel's Classic, award-winning Thinking in Java, Fourth Edition--now fully updated and revised for J2SE 5.0! ° The awards for this book keep piling up! They include Software Development Magazine Jolt Award for best book, 2003; Java Devloper's Journal Reader's Choice Award for Best Book, 2003, 2001, 1998; JavaWorld Editor's Choice Award for Best Book 2001; Software Development Magazine Productivity Award, 1999 ° 12 new chapters including chapters on Generics and Arrays Backcover "Thinking in Java should be read cover to cover by every Java programmer, then kept close at hand for frequent reference. The exercises are challenging, and the chapter on Collections is superb! Not only did this book help me to pass the Sun Certified Java Programmer exam; it's also the first book I turn to whenever I have a Java question." -Jim Pleger, Loudoun County (Virginia) Government"Much better than any other Java book I've seen. Make that 'by an order of magnitude'.... Very complete, with excellent right-to-the-point examples and intelligent, not dumbed-down, explanations.... In contrast to many other Java books I found it to be unusually mature, consistent, intellectually honest, well-written, and precise. IMHO, an ideal book for studying Java." -Anatoly Vorobey, Technion University, Haifa, Israel"Absolutely one of the best programming tutorials I've seen for any language." -Joakim Ziegler, FIX sysop"Thank you again for your awesome book. I was really floundering (being a non-C programmer), but your book has brought me up to speed as fast as I could read it. It's really cool to be able to understand the underlying principles and concepts from the start, rather than having to try to build that conceptual model through trial and error. Hopefully I will be able to attend your seminar in the not-too-distant future." -Randall R. Hawley, automation technician, Eli Lilly & Co."This is one of the best books I've read about a programming language.... The best book ever written on Java." -Ravindra Pai, Oracle Corporation, SUNOS product line"Bruce, your book is wonderful! Your explanations are clear and direct. Through your fantastic book I have gained a tremendous amount of Java knowledge. The exercises are also fantastic and do an excellent job reinforcing the ideas explained throughout the chapters. I look forward to reading more books written by you. Thank you for the tremendous service that you are providing by writing such great books. My code will be much better after reading Thinking in Java. I thank you and I'm sure any programmers who will have to maintain my code are also grateful to you." -Yvonne Watkins, Java artisan, Discover Technologies, Inc."Other books cover the what of Java (describing the syntax and the libraries) or the how of Java (practical programming examples). Thinking in Java is the only book I know that explains the why of Java: Why it was designed the way it was, why it works the way it does, why it sometimes doesn't work, why it's better than C++, why it's not. Although it also does a good job of teaching the what and how of the language, Thinking in Java is definitely the thinking person's choice in a Java book." -Robert S. StephensonAwards for Thinking in Java2003 Software Development Magazine Jolt Award for Best Book 2003 Java Developer's Journal Reader's Choice Award for Best Book 2001 JavaWorld Editor's Choice Award for Best Book 2000 JavaWorld Reader's Choice Award for Best Book 1999 Software Development Magazine Productivity Award 1998 Java Developer's Journal Editor's Choice Award for Best Book Thinking in Java has earned raves from programmers worldwide for its extraordinary clarity, careful organization, and small, direct programming examples. From the fundamentals of Java syntax to its most advanced features, Thinking in Java is designed to teach, one simple step at a time. The classic object-oriented introduction for beginners and experts alike, fully updated for Java SE5/6 with many new examples and chapters! Test framework shows program output. Design patterns are shown with multiple examples throughout: Adapter, Bridge, Chain of Responsibility, Command, Decorator, Facade, Factory Method, Flyweight, Iterator, Data Transfer Object, Null Object, Proxy, Singleton, State, Strategy, Template Method, and Visitor. Introduction to XML for data transfer; SWT, Flash for user interfaces. Completely rewritten concurrency chapter gives you a solid grasp of threading fundamentals. 500+ working Java programs in 700+ compiling files, rewritten for this edition and Java SE5/6. Companion web site includes all source code, annotated solution guide, weblog, and multimedia seminars. Thorough coverage of fundamentals; demonstrates advanced topics. Explains sound object-oriented principles. Hands-On Java Seminar CD available online, with full multimedia seminar by Bruce Eckel. Live seminars, consulting, and reviews available. See www.MindView.net Download seven free sample chapters from Thinking in Java, Fourth Edition. Visit http://mindview.net/Books/TIJ4 . Preface 1 Introduction 13 Prerequisites 14 Learning Java 14 Goals 15 Teaching from this book 16 JDK HTML documentation 17 Exercises 17 Foundations for Java 18 Source code 18 Errors 21 Introduction to Objects 23 The progress of abstraction 24 An object has an interface 26 An object provides services 29 The hidden implementation 30 Reusing the implementation 32 Inheritance 33 Interchangeable objects with polymorphism 38 The singly rooted hierarchy 43 Containers 44 Object creation & lifetime 46 Exception handling: dealing with errors 49 Concurrent programming 50 Java and the Internet 51 Summary 60 Everything Is an Object 61 You manipulate objects with references 61 You must create all the objects 63 You never need to destroy an object 67 Creating new data types: class 69 Methods, arguments, and return values 72 Building a Java program 74 Your first Java program 78 Comments and embedded documentation 81 Coding style 88 Summary 89 Exercises 89 Operators 93 Simpler print statements 93 Using Java operators 94 Precedence 95 Assignment 95 Mathematical operators 98 Auto increment and decrement 101 Relational operators 103 Logical operators 105 Literals 108 Bitwise operators 111 Shift operators 112 Ternary if-else operator 116 String operator + and += 118 Common pitfalls when using operators 119 Casting operators 120 Java has no "sizeof" 122 A compendium of operators 123 Summary 133 Controlling Execution 135 true and false 135 if-else 135 Iteration 137 Foreach syntax 140 return 143 break and continue 144 The infamous "goto" 146 switch 151 Summary 154 Initialization & Cleanup 155 Guaranteed initialization with the constructor 155 Method overloading 158 Default constructors 166 The this keyword 167 Cleanup: finalization and garbage collection 173 Member initialization 181 Constructor initialization 185 Array initialization 193 Enumerated types 204 Summary 207 Access Control 209 package: the library unit 210 Java access specifiers 221 Interface and implementation 228 Class access 229 Summary 233 Reusing Classes 237 Composition syntax 237 Inheritance syntax 241 Delegation 246 Combining composition and inheritance 249 Choosing composition vs. inheritance 256 protected 258 Upcasting 260 The final keyword 262 Initialization and class loading 272 Summary 274 Polymorphism 277 Upcasting revisited 278 The twist 281 Constructors and polymorphism 293 Covariant return types 303 Designing with inheritance 304 Summary 310 Interfaces 311 Abstract classes and methods 311 Interfaces 316 Complete decoupling 320 "Multiple in heritance" in Java 326 Extending an interface with inheritance 329 Adapting to an interface 331 Fields in interfaces 335 Nesting interfaces 336 Interfaces and factories 339 Summary 343 Inner Classes 345 Creating inner classes 345 The link to the outer class 347 Using .this and .new 350 Inner classes and upcasting 352 Inner classes in methods and scopes 354 Anonymous inner classes 356 Nested classes 364 Why inner classes? 369 Inheriting from inner classes 382 Can inner classes be overridden? 383 Local inner classes 385 Inner-class identifiers 387 Summary 388 Holding Your Objects 389 Generics and type-safe containers 390 Basic concepts 394 Adding groups of elements 396 Printing containers 398 List 401 Iterator 406 LinkedList 410 Stack 412 Set 415 Map 419 Queue 423 Collection vs. Iterator 427 Foreach and iterators 431 Summary 437 Error Handling with Exceptions 443 Concepts 444 Basic exceptions 445 Catching an exception 447 Creating your own exceptions 449 The exception specification 457 Catching any exception 458 Standard Java exceptions 468 Performing cleanup with finally 471 Exception restrictions 479 Constructors 483 Exception matching 489 Alternative approaches 490 Exception guidelines 500 Summary 501 Strings 503 Immutable Strings 503 Overloading &8216;+' vs. StringBuilder 504 Unintended recursion 509 Operations on Strings 511 Formatting output 514 Regular expressions 523 Scanning input 546 StringTokenizer 551 Summary 552 Type Information 553 The need for RTTI 553 The Class object 556 Checking before a cast 569 Registered factories 582 instanceof vs. Class equivalence 586 Reflection: runtime class information 588 Dynamic proxies 593 Null Objects 598 Interfaces and type information 607 Summary 613 Generics 617 Comparison with C++ 618 Simple generics 619 Generic interfaces 627 Generic methods 631 Anonymous inner classes 645 Building complex models 647 The mystery of erasure 650 Compensating for erasure 662 Bounds 673 Wildcards 677 Issues 694 Self-bounded types 701 Dynamic type safety 710 Exceptions 711 Mixins 713 Latent typing 721 Compensating for the lack of latent typing 726 Using function objects as strategies 737 Summary: Is casting really so bad? 743 Arrays 747 Why arrays are special 747 Arrays are first-class objects 749 Returning an array 753 Multidimensional arrays 754 Arrays and generics 759 Creating test data 762 Arrays utilities 775 Summary 786 Containers in Depth 791 Full container taxonomy 791 Filling containers 793 Collection functionality 809 Optional operations 813 List functionality 817 Sets and storage order 821 Queues 827 Understanding Maps 831 Hashing and hash codes 839 Choosing an implementation 858 Utilities 879 Holding references 889 Java 1.0/1.1 containers 893 Summary 900 I/O 901 The File class 901 Input and output 914 Adding attributes and useful interfaces 918 Readers & Writers 922 Off by itself: RandomAccessFile 926 Typical uses of I/O streams 927 File reading & writing utilities 936 Standard I/O 941 Process control 944 New I/O 946 Compression 973 Object serialization 980 XML 1003 Preferences 1006 Summary 1008 Enumerated Types 1011 Basic enum features 1011 Adding methods to an enum 1014 enums in switch statements 1016 The mystery of values() 1017 Implements, not inherits 1020 Random selection 1021 Using interfaces for organization 1022 Using EnumSet instead of flags 1028 Using EnumMap 1030 Constant-specific methods 1032 Multiple dispatching 1047 Summary 1057 Annotations 1059 Basic syntax 1060 Writing annotation processors 1064 Using apt to process annoIntended for Java programmers, this book explains the why of Java. From the fundamentals of Java syntax to its advanced features, it is designed to teach, one step at a time. Design patterns are shown with multiple examples throughout: Adapter, Bridge, Chain of Responsibility, Command, Decorator, Facade, Factory Method, Flyweight, and more.

Anbieter: buecher
Stand: 13.08.2020
Zum Angebot
Thinking in Java
47,66 € *
ggf. zzgl. Versand

Thinking in Java has earned raves from programmers worldwide for its extraordinary clarity, careful organization, and small, direct programming examples. It's the definitive introduction to object-oriented programming in the language of the world wide web. From the fundamentals of Java syntax to its most advanced features, Thinking in Java is designed to teach, one simple step at a time. Fully updated for J2SE5 with many new examples and chapters. Product Description "Thinking in Java should be read cover to cover by every Java programmer, then kept close at hand for frequent reference. The exercises are challenging, and the chapter on Collections is superb! Not only did this book help me to pass the Sun Certified Java Programmer exam; it's also the first book I turn to whenever I have a Java question." -Jim Pleger, Loudoun County (Virginia) Government"Much better than any other Java book I've seen. Make that 'by an order of magnitude'.... Very complete, with excellent right-to-the-point examples and intelligent, not dumbed-down, explanations.... In contrast to many other Java books I found it to be unusually mature, consistent, intellectually honest, well-written, and precise. IMHO, an ideal book for studying Java." -Anatoly Vorobey, Technion University, Haifa, Israel"Absolutely one of the best programming tutorials I've seen for any language." -Joakim Ziegler, FIX sysop"Thank you again for your awesome book. I was really floundering (being a non-C programmer), but your book has brought me up to speed as fast as I could read it. It's really cool to be able to understand the underlying principles and concepts from the start, rather than having to try to build that conceptual model through trial and error. Hopefully I will be able to attend your seminar in the not-too-distant future." -Randall R. Hawley, automation technician, Eli Lilly & Co."This is one of the best books I've read about a programming language.... The best book ever written on Java." -Ravindra Pai, Oracle Corporation, SUNOS product line"Bruce, your book is wonderful! Your explanations are clear and direct. Through your fantastic book I have gained a tremendous amount of Java knowledge. The exercises are also fantastic and do an excellent job reinforcing the ideas explained throughout the chapters. I look forward to reading more books written by you. Thank you for the tremendous service that you are providing by writing such great books. My code will be much better after reading Thinking in Java. I thank you and I'm sure any programmers who will have to maintain my code are also grateful to you." -Yvonne Watkins, Java artisan, Discover Technologies, Inc."Other books cover the what of Java (describing the syntax and the libraries) or the how of Java (practical programming examples). Thinking in Java is the only book I know that explains the why of Java: Why it was designed the way it was, why it works the way it does, why it sometimes doesn't work, why it's better than C++, why it's not. Although it also does a good job of teaching the what and how of the language, Thinking in Java is definitely the thinking person's choice in a Java book." -Robert S. StephensonAwards for Thinking in Java2003 Software Development Magazine Jolt Award for Best Book 2003 Java Developer's Journal Reader's Choice Award for Best Book 2001 JavaWorld Editor's Choice Award for Best Book 2000 JavaWorld Reader's Choice Award for Best Book 1999 Software Development Magazine Productivity Award 1998 Java Developer's Journal Editor's Choice Award for Best Book Thinking in Java has earned raves from programmers worldwide for its extraordinary clarity, careful organization, and small, direct programming examples. From the fundamentals of Java syntax to its most advanced features, Thinking in Java is designed to teach, one simple step at a time. The classic object-oriented introduction for beginners and experts alike, fully updated for Java SE5/6 with many new examples and chapters! Test framework shows program output. Design patterns are shown with multiple examples throughout: Adapter, Bridge, Chain of Responsibility, Command, Decorator, Facade, Factory Method, Flyweight, Iterator, Data Transfer Object, Null Object, Proxy, Singleton, State, Strategy, Template Method, and Visitor. Introduction to XML for data transfer; SWT, Flash for user interfaces. Completely rewritten concurrency chapter gives you a solid grasp of threading fundamentals. 500+ working Java programs in 700+ compiling files, rewritten for this edition and Java SE5/6. Companion web site includes all source code, annotated solution guide, weblog, and multimedia seminars. Thorough coverage of fundamentals; demonstrates advanced topics. Explains sound object-oriented principles. Hands-On Java Seminar CD available online, with full multimedia seminar by Bruce Eckel. Live seminars, consulting, and reviews available. See www.MindView.net Download seven free sample chapters from Thinking in Java, Fourth Edition. Visit http://mindview.net/Books/TIJ4 . Features + Benefits Bruce Eckel's Classic, award-winning Thinking in Java, Fourth Edition--now fully updated and revised for J2SE 5.0! ° The awards for this book keep piling up! They include Software Development Magazine Jolt Award for best book, 2003; Java Devloper's Journal Reader's Choice Award for Best Book, 2003, 2001, 1998; JavaWorld Editor's Choice Award for Best Book 2001; Software Development Magazine Productivity Award, 1999 ° 12 new chapters including chapters on Generics and Arrays Backcover "Thinking in Java should be read cover to cover by every Java programmer, then kept close at hand for frequent reference. The exercises are challenging, and the chapter on Collections is superb! Not only did this book help me to pass the Sun Certified Java Programmer exam; it's also the first book I turn to whenever I have a Java question." -Jim Pleger, Loudoun County (Virginia) Government"Much better than any other Java book I've seen. Make that 'by an order of magnitude'.... Very complete, with excellent right-to-the-point examples and intelligent, not dumbed-down, explanations.... In contrast to many other Java books I found it to be unusually mature, consistent, intellectually honest, well-written, and precise. IMHO, an ideal book for studying Java." -Anatoly Vorobey, Technion University, Haifa, Israel"Absolutely one of the best programming tutorials I've seen for any language." -Joakim Ziegler, FIX sysop"Thank you again for your awesome book. I was really floundering (being a non-C programmer), but your book has brought me up to speed as fast as I could read it. It's really cool to be able to understand the underlying principles and concepts from the start, rather than having to try to build that conceptual model through trial and error. Hopefully I will be able to attend your seminar in the not-too-distant future." -Randall R. Hawley, automation technician, Eli Lilly & Co."This is one of the best books I've read about a programming language.... The best book ever written on Java." -Ravindra Pai, Oracle Corporation, SUNOS product line"Bruce, your book is wonderful! Your explanations are clear and direct. Through your fantastic book I have gained a tremendous amount of Java knowledge. The exercises are also fantastic and do an excellent job reinforcing the ideas explained throughout the chapters. I look forward to reading more books written by you. Thank you for the tremendous service that you are providing by writing such great books. My code will be much better after reading Thinking in Java. I thank you and I'm sure any programmers who will have to maintain my code are also grateful to you." -Yvonne Watkins, Java artisan, Discover Technologies, Inc."Other books cover the what of Java (describing the syntax and the libraries) or the how of Java (practical programming examples). Thinking in Java is the only book I know that explains the why of Java: Why it was designed the way it was, why it works the way it does, why it sometimes doesn't work, why it's better than C++, why it's not. Although it also does a good job of teaching the what and how of the language, Thinking in Java is definitely the thinking person's choice in a Java book." -Robert S. StephensonAwards for Thinking in Java2003 Software Development Magazine Jolt Award for Best Book 2003 Java Developer's Journal Reader's Choice Award for Best Book 2001 JavaWorld Editor's Choice Award for Best Book 2000 JavaWorld Reader's Choice Award for Best Book 1999 Software Development Magazine Productivity Award 1998 Java Developer's Journal Editor's Choice Award for Best Book Thinking in Java has earned raves from programmers worldwide for its extraordinary clarity, careful organization, and small, direct programming examples. From the fundamentals of Java syntax to its most advanced features, Thinking in Java is designed to teach, one simple step at a time. The classic object-oriented introduction for beginners and experts alike, fully updated for Java SE5/6 with many new examples and chapters! Test framework shows program output. Design patterns are shown with multiple examples throughout: Adapter, Bridge, Chain of Responsibility, Command, Decorator, Facade, Factory Method, Flyweight, Iterator, Data Transfer Object, Null Object, Proxy, Singleton, State, Strategy, Template Method, and Visitor. Introduction to XML for data transfer; SWT, Flash for user interfaces. Completely rewritten concurrency chapter gives you a solid grasp of threading fundamentals. 500+ working Java programs in 700+ compiling files, rewritten for this edition and Java SE5/6. Companion web site includes all source code, annotated solution guide, weblog, and multimedia seminars. Thorough coverage of fundamentals; demonstrates advanced topics. Explains sound object-oriented principles. Hands-On Java Seminar CD available online, with full multimedia seminar by Bruce Eckel. Live seminars, consulting, and reviews available. See www.MindView.net Download seven free sample chapters from Thinking in Java, Fourth Edition. Visit http://mindview.net/Books/TIJ4 . Preface 1 Introduction 13 Prerequisites 14 Learning Java 14 Goals 15 Teaching from this book 16 JDK HTML documentation 17 Exercises 17 Foundations for Java 18 Source code 18 Errors 21 Introduction to Objects 23 The progress of abstraction 24 An object has an interface 26 An object provides services 29 The hidden implementation 30 Reusing the implementation 32 Inheritance 33 Interchangeable objects with polymorphism 38 The singly rooted hierarchy 43 Containers 44 Object creation & lifetime 46 Exception handling: dealing with errors 49 Concurrent programming 50 Java and the Internet 51 Summary 60 Everything Is an Object 61 You manipulate objects with references 61 You must create all the objects 63 You never need to destroy an object 67 Creating new data types: class 69 Methods, arguments, and return values 72 Building a Java program 74 Your first Java program 78 Comments and embedded documentation 81 Coding style 88 Summary 89 Exercises 89 Operators 93 Simpler print statements 93 Using Java operators 94 Precedence 95 Assignment 95 Mathematical operators 98 Auto increment and decrement 101 Relational operators 103 Logical operators 105 Literals 108 Bitwise operators 111 Shift operators 112 Ternary if-else operator 116 String operator + and += 118 Common pitfalls when using operators 119 Casting operators 120 Java has no "sizeof" 122 A compendium of operators 123 Summary 133 Controlling Execution 135 true and false 135 if-else 135 Iteration 137 Foreach syntax 140 return 143 break and continue 144 The infamous "goto" 146 switch 151 Summary 154 Initialization & Cleanup 155 Guaranteed initialization with the constructor 155 Method overloading 158 Default constructors 166 The this keyword 167 Cleanup: finalization and garbage collection 173 Member initialization 181 Constructor initialization 185 Array initialization 193 Enumerated types 204 Summary 207 Access Control 209 package: the library unit 210 Java access specifiers 221 Interface and implementation 228 Class access 229 Summary 233 Reusing Classes 237 Composition syntax 237 Inheritance syntax 241 Delegation 246 Combining composition and inheritance 249 Choosing composition vs. inheritance 256 protected 258 Upcasting 260 The final keyword 262 Initialization and class loading 272 Summary 274 Polymorphism 277 Upcasting revisited 278 The twist 281 Constructors and polymorphism 293 Covariant return types 303 Designing with inheritance 304 Summary 310 Interfaces 311 Abstract classes and methods 311 Interfaces 316 Complete decoupling 320 "Multiple in heritance" in Java 326 Extending an interface with inheritance 329 Adapting to an interface 331 Fields in interfaces 335 Nesting interfaces 336 Interfaces and factories 339 Summary 343 Inner Classes 345 Creating inner classes 345 The link to the outer class 347 Using .this and .new 350 Inner classes and upcasting 352 Inner classes in methods and scopes 354 Anonymous inner classes 356 Nested classes 364 Why inner classes? 369 Inheriting from inner classes 382 Can inner classes be overridden? 383 Local inner classes 385 Inner-class identifiers 387 Summary 388 Holding Your Objects 389 Generics and type-safe containers 390 Basic concepts 394 Adding groups of elements 396 Printing containers 398 List 401 Iterator 406 LinkedList 410 Stack 412 Set 415 Map 419 Queue 423 Collection vs. Iterator 427 Foreach and iterators 431 Summary 437 Error Handling with Exceptions 443 Concepts 444 Basic exceptions 445 Catching an exception 447 Creating your own exceptions 449 The exception specification 457 Catching any exception 458 Standard Java exceptions 468 Performing cleanup with finally 471 Exception restrictions 479 Constructors 483 Exception matching 489 Alternative approaches 490 Exception guidelines 500 Summary 501 Strings 503 Immutable Strings 503 Overloading &8216;+' vs. StringBuilder 504 Unintended recursion 509 Operations on Strings 511 Formatting output 514 Regular expressions 523 Scanning input 546 StringTokenizer 551 Summary 552 Type Information 553 The need for RTTI 553 The Class object 556 Checking before a cast 569 Registered factories 582 instanceof vs. Class equivalence 586 Reflection: runtime class information 588 Dynamic proxies 593 Null Objects 598 Interfaces and type information 607 Summary 613 Generics 617 Comparison with C++ 618 Simple generics 619 Generic interfaces 627 Generic methods 631 Anonymous inner classes 645 Building complex models 647 The mystery of erasure 650 Compensating for erasure 662 Bounds 673 Wildcards 677 Issues 694 Self-bounded types 701 Dynamic type safety 710 Exceptions 711 Mixins 713 Latent typing 721 Compensating for the lack of latent typing 726 Using function objects as strategies 737 Summary: Is casting really so bad? 743 Arrays 747 Why arrays are special 747 Arrays are first-class objects 749 Returning an array 753 Multidimensional arrays 754 Arrays and generics 759 Creating test data 762 Arrays utilities 775 Summary 786 Containers in Depth 791 Full container taxonomy 791 Filling containers 793 Collection functionality 809 Optional operations 813 List functionality 817 Sets and storage order 821 Queues 827 Understanding Maps 831 Hashing and hash codes 839 Choosing an implementation 858 Utilities 879 Holding references 889 Java 1.0/1.1 containers 893 Summary 900 I/O 901 The File class 901 Input and output 914 Adding attributes and useful interfaces 918 Readers & Writers 922 Off by itself: RandomAccessFile 926 Typical uses of I/O streams 927 File reading & writing utilities 936 Standard I/O 941 Process control 944 New I/O 946 Compression 973 Object serialization 980 XML 1003 Preferences 1006 Summary 1008 Enumerated Types 1011 Basic enum features 1011 Adding methods to an enum 1014 enums in switch statements 1016 The mystery of values() 1017 Implements, not inherits 1020 Random selection 1021 Using interfaces for organization 1022 Using EnumSet instead of flags 1028 Using EnumMap 1030 Constant-specific methods 1032 Multiple dispatching 1047 Summary 1057 Annotations 1059 Basic syntax 1060 Writing annotation processors 1064 Using apt to process annoIntended for Java programmers, this book explains the why of Java. From the fundamentals of Java syntax to its advanced features, it is designed to teach, one step at a time. Design patterns are shown with multiple examples throughout: Adapter, Bridge, Chain of Responsibility, Command, Decorator, Facade, Factory Method, Flyweight, and more.

Anbieter: buecher
Stand: 13.08.2020
Zum Angebot
XML Data Package
34,00 € *
ggf. zzgl. Versand

Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. XML Data Package (XDP) is an XML file format created by Adobe Systems in 2003. It is intended to be an XML-based companion to PDF. It allows PDF content and/or Adobe XML Forms Architecture (XFA) resources to be packaged within an XML container. Several products by Adobe, most notably its LiveCycle ES Suite, use files in XDP format. XDP is XML 1.0 compliant. The XDP may be a standalone document or it may in turn be carried inside a PDF document. XDP provides a mechanism for packaging form components within a surrounding XML container. An XDP can also package a PDF file, along with XML form and template data. When the XFA (XML Forms Architecture) grammars used for an XFA form are moved from one application to another, they must be packaged as an XML Data Package.

Anbieter: Dodax
Stand: 13.08.2020
Zum Angebot
Xena (Software)
45,00 € *
ggf. zzgl. Versand

High Quality Content by WIKIPEDIA articles! Xena (short for XML Electronic Normalising for Archives) is an open-source software package intended for digital preservation. It was developed by the National Archives of Australia. In contrast to server-based solutions for institutions such as DSpace, Xena can be installed on any desktop computer, offering individuals a way to avoid digital obsolescence. Xena is available free of charge under the GNU General Public License. Xena either converts files into an openly specified format, such as ODF or PNG, or else it performs ASCII Base64 encoding on binary files and wraps the output with XML metadata headers and footers. The resulting .xena file is plain text, although the content of the data itself is not directly human-readable.

Anbieter: Dodax
Stand: 13.08.2020
Zum Angebot
Apress Pro JPA 2 Software-Handbuch 500 Seiten
48,14 € *
ggf. zzgl. Versand

Pro JPA 2 introduces, explains, and demonstrates how to use the Java Persistence API (JPA). JPA provides Java developers with both the knowledge and insight needed to write Java applications that access relational databases through JPA. Authors Mike Keith and Merrick Schincariol take a hands–on approach to teaching by giving examples to illustrate each concept of the API and showing how it is used in practice. All of the examples use a common model from an overriding sample application, giving readers a context from which to start and helping them to understand the examples within an already familiar domain. After completing the book, you will have a full understanding and be able to successfully code applications using JPA. The book also serves as a reference guide during initial and later JPA application experiences. - Hands-on examples for all the aspects of the JPA specification, based on the reference implementation of this specification - A special section on migration to JPA - Expert insight about various aspects of the API and when they are useful - Portability hints to provide increased awareness of the potential for non–portable JPA code What you’ll learn - Get started with enterprise applications using JPA 2 - Get up to speed with object–relational mapping and Entity Manager - Learn and use queries and the query language (JP QL) - Employ advanced object–relational mapping techniques - Use XML mapping files and learn other advanced techniques - Package and deploy your Java persistence applications - Test your Java persistence applications - Migrate your Java persistence applications Who this book is for The book generally targets enterprise and persistence developers who fall in one of three categories: - Those who are new to persistence, we will present some background information and introduce these readers to the basic persistence concepts to bring them up to speed. - Those who know and/or use existing ORM persistence products such as Hibernate or TopLink. - Those who have already used JPA and want to learn about newer features introduced by JPA 2, or have a good reference book to consult when they develop JPA applications. In general, we assume that the reader is knowledgeable with Java, SQL, and JDBC, and has a little knowledge of J2EE

Anbieter: Dodax
Stand: 13.08.2020
Zum Angebot
Beginning Java 7
72,90 CHF *
ggf. zzgl. Versand

Beginning Java 7 guides you through version 7 of the Java language and a wide assortment of platform APIs. New Java 7 language features that are discussed include switch-on-string and try-with-resources. APIs that are discussed include Threading, the Collections Framework, the Concurrency Utilities, Swing, Java 2D, networking, JDBC, SAX, DOM, StAX, XPath, JAX-WS, and SAAJ. This book also presents an introduction to Android app development so that you can apply some of its knowledge to the exciting world of Android app development. This book presents the following table of contents: Chapter 1 introduces you to Java and begins to cover the Java language by focusing on fundamental concepts such as comments, identifiers, variables, expressions, and statements. Chapter 2 continues to explore this language by presenting all of its features for working with classes and objects. You learn about features related to class declaration and object creation, encapsulation, information hiding, inheritance, polymorphism, interfaces, and garbage collection. Chapter 3 focuses on the more advanced language features related to nested classes, packages, static imports, exceptions, assertions, annotations, generics, and enums. Additional chapters introduce you to the few features not covered in Chapters 1 through 3. Chapter 4 largely moves away from covering language features (although it does introduce class literals and strictfp) while focusing on language-oriented APIs. You learn about Math, StrictMath, Package, Primitive Type Wrapper Classes, Reference, Reflection, String, StringBuffer and StringBuilder, Threading, BigDecimal, and BigInteger in this chapter. Chapter 5 begins to explore Java's utility APIs by focusing largely on the Collections Framework. However, it also discusses legacy collection-oriented APIs and how to create your own collections. Chapter 6 continues to focus on utility APIs by presenting the concurrency utilities along with the Objects and Random classes. Chapter 7 moves you away from the command-line user interfaces that appear in previous chapters and toward graphical user interfaces. You first learn about the Abstract Window Toolkit foundation, and then explore the Java Foundation Classes in terms of Swing and Java 2D. Appendix C explores Accessibility and Drag and Drop. Chapter 8 explores filesystem-oriented I/O in terms of the File, RandomAccessFile, stream, and writer/reader classes. Chapter 9 introduces you to Java's network APIs (e.g., sockets). It also introduces you to the JDBC API for interacting with databases along with the Java DB database product. Chapter 10 dives into Java's XML support by first presenting an introduction to XML (including DTDs and schemas). It next explores the SAX, DOM, StAX, XPath, and XSLT APIs. It even briefly touches on the Validation API. While exploring XPath, you encounter namespace contexts, extension functions and function resolvers, and variables and variable resolvers. Chapter 11 introduces you to Java's support for SOAP-based and RESTful web services. As well as providing you with the basics of these web service categories, Chapter 11 presents some advanced topics, such as working with the SAAJ API to communicate with a SOAP-based web service without having to rely on JAX-WS. You will appreciate having learned about XML in Chapter 10 before diving into this chapter. Chapter 12 helps you put to use some of the knowledge you've gathered in previous chapters by showing you how to use Java to write an Android app's source code. This chapter introduces you to Android, discusses its architecture, shows you how to install necessary tools, and develops a simple app. Appendix A presents the solutions to the programming exercises that appear near the end of Chapters 1 through 12. Appendix B introduces you to Java's Scripting API along with Java 7's support for dynamically typed languages. Appendix C introduces you to additional APIs and architecture topics. Examples include Accessibility, classloaders, Console, Drag and Drop, Java Native Interface, and System Tray. Appendix D presents a gallery of significant applications that demonstrate various aspects of Java. Unfortunately, there are limits to how much

Anbieter: Orell Fuessli CH
Stand: 13.08.2020
Zum Angebot
Pro JPA 2 in Java EE 8
55,90 CHF *
ggf. zzgl. Versand

Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of JPA usage for experienced Java developers. Authors Mike Keith, Merrick Schincariol and Massimo Nardone take a hands-on approach, based on their wealth of experience and expertise, by giving examples to illustrate each concept of the API and showing how it is used in practice. The examples use a common model from an overarching sample application, giving you a context from which to start and helping you to understand the examples within an already familiar domain. After completing Pro JPA 2 in Java EE 8, you will have a full understanding of JPA and be able to successfully code applications using its annotations and APIs. The book also serves as an excellent reference guide. What You Will Learn Use the JPA in the context of enterprise applications Work with object relational mappings (ORMs), collection mappings and more Build complex enterprise Java applications that persist data long after the process terminates Connect to and persist data with a variety of databases, file formats, and more Use queries, including the Java Persistence Query Language (JPQL) Carry out advanced ORM, queries and XML mappings Package, deploy and test your Java persistence-enabled enterprise applications Who This Book Is For Experienced Java programmers and developers with at least some prior experience with J2EE or Java EE platform APIs.

Anbieter: Orell Fuessli CH
Stand: 13.08.2020
Zum Angebot