Java Puzzlers

Traps, Pitfalls, and Corner Cases
Author: Joshua Bloch,Neal Gafter
Publisher: Pearson Education
ISBN: 0321643518
Category: Computers
Page: 312
View: 9331

Continue Reading →

"Every programming language has its quirks. This lively book reveals oddities of the Java programming language through entertaining and thought-provoking programming puzzles." --Guy Steele, Sun Fellow and coauthor of The Java™ Language Specification "I laughed, I cried, I threw up (my hands in admiration)." --Tim Peierls, president, Prior Artisans LLC, and member of the JSR 166 Expert Group How well do you really know Java? Are you a code sleuth? Have you ever spent days chasing a bug caused by a trap or pitfall in Java or its libraries? Do you like brainteasers? Then this is the book for you! In the tradition of Effective Java™, Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions, Java™ Puzzlers features 95 diabolical puzzles that educate and entertain. Anyone with a working knowledge of Java will understand the puzzles, but even the most seasoned veteran will find them challenging. Most of the puzzles take the form of a short program whose behavior isn't what it seems. Can you figure out what it does? Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. The solutions go well beyond a simple explanation of the program's behavior--they show you how to avoid the underlying traps and pitfalls for good. A handy catalog of traps and pitfalls at the back of the book provides a concise taxonomy for future reference. Solve these puzzles and you'll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.

Java Concurrency in Practice


Author: Tim Peierls,Brian Goetz,Joshua Bloch,Joseph Bowbeer,Doug Lea,David Holmes
Publisher: Pearson Education
ISBN: 9780132702256
Category: Computers
Page: 432
View: 1616

Continue Reading →

Threads are a fundamental part of the Java platform. As multicore processors become the norm, using concurrency effectively becomes essential for building high-performance applications. Java SE 5 and 6 are a huge step forward for the development of concurrent applications, with improvements to the Java Virtual Machine to support high-performance, highly scalable concurrent classes and a rich set of new concurrency building blocks. In Java Concurrency in Practice , the creators of these new facilities explain not only how they work and how to use them, but also the motivation and design patterns behind them. However, developing, testing, and debugging multithreaded programs can still be very difficult; it is all too easy to create concurrent programs that appear to work, but fail when it matters most: in production, under heavy load. Java Concurrency in Practice arms readers with both the theoretical underpinnings and concrete techniques for building reliable, scalable, maintainable concurrent applications. Rather than simply offering an inventory of concurrency APIs and mechanisms, it provides design rules, patterns, and mental models that make it easier to build concurrent programs that are both correct and performant. This book covers: Basic concepts of concurrency and thread safety Techniques for building and composing thread-safe classes Using the concurrency building blocks in java.util.concurrent Performance optimization dos and don'ts Testing concurrent programs Advanced topics such as atomic variables, nonblocking algorithms, and the Java Memory Model

Java Generics and Collections


Author: Maurice Naftalin,Philip Wadler
Publisher: "O'Reilly Media, Inc."
ISBN: 0596527756
Category: Computers
Page: 273
View: 5493

Continue Reading →

This book, written by one of the designers of generics, is a thorough explanation of how to use generics, and particularly, the effect this facility has on the way developers use collections.

Effective Java


Author: Joshua Bloch
Publisher: Addison-Wesley Professional
ISBN: 0134686047
Category: Computers
Page: 416
View: 4735

Continue Reading →

The Definitive Guide to Java Platform Best Practices–Updated for Java 7, 8, and 9 Java has changed dramatically since the previous edition of Effective Java was published shortly after the release of Java 6. This Jolt award-winning classic has now been thoroughly updated to take full advantage of the latest language and library features. The support in modern Java for multiple paradigms increases the need for specific best-practices advice, and this book delivers. As in previous editions, each chapter of Effective Java, Third Edition, consists of several “items,” each presented in the form of a short, stand-alone essay that provides specific advice, insight into Java platform subtleties, and updated code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why. The third edition covers language and library features added in Java 7, 8, and 9, including the functional programming constructs that were added to its object-oriented roots. Many new items have been added, including a chapter devoted to lambdas and streams. New coverage includes Functional interfaces, lambda expressions, method references, and streams Default and static methods in interfaces Type inference, including the diamond operator for generic types The @SafeVarargs annotation The try-with-resources statement New library features such as the Optional interface, java.time, and the convenience factory methods for collections

Hardcore Java


Author: Robert Simmons
Publisher: "O'Reilly Media, Inc."
ISBN: 9780596005689
Category: Computers
Page: 324
View: 427

Continue Reading →

Focuses on the little-touched but critical parts of the Java programming language that the expert programmers use. Learn about extremely powerful and useful programming techniques such as reflection, advanced data modeling, advanced GUI design, and advanced aspects of JDO, EJB, and XML-based web clients. This unique book reveals the true wizardry behind the complex and often mysterious Java environment--O'Reilly web site.

Java Precisely


Author: Peter Sestoft
Publisher: MIT Press
ISBN: 0262334755
Category: Computers
Page: 216
View: 9222

Continue Reading →

The third edition of Java Precisely provides a concise description of the Java programming language, version 8.0. It offers a quick reference for the reader who has already learned (or is learning) Java from a standard textbook and who wants to know the language in more detail. The book presents the entire Java programming language and essential parts of the class libraries: the collection classes, the input-output classes, the stream libraries and Java 8's facilities for parallel programming, and the functional interfaces used for that.Though written informally, the book describes the language in detail and offers many examples. For clarity, most of the general rules appear on left-hand pages with the relevant examples directly opposite on the right-hand pages. All examples are fragments of legal Java programs. The complete ready-to-run example programs are available on the book's website.This third edition adds material about functional parallel processing of arrays; default and static methods on interfaces; a brief description of the memory model and visibility across concurrent threads; lambda expressions, method reference expressions, and the related functional interfaces; and stream processing, including parallel programming and collectors.

Java Programming Interviews Exposed


Author: Noel Markham
Publisher: John Wiley & Sons
ISBN: 1118722884
Category: Computers
Page: 384
View: 2675

Continue Reading →

If you are a skilled Java programmer but are concerned about the Java coding interview process, this real-world guide can help you land your next position Java is a popular and powerful language that is a virtual requirement for businesses making use of IT in their daily operations. For Java programmers, this reality offers job security and a wealth of employment opportunities. But that perfect Java coding job won't be available if you can't ace the interview. If you are a Java programmer concerned about interviewing, Java Programming Interviews Exposed is a great resource to prepare for your next opportunity. Author Noel Markham is both an experienced Java developer and interviewer, and has loaded his book with real examples from interviews he has conducted. Review over 150 real-world Java interview questions you are likely to encounter Prepare for personality-based interviews as well as highly technical interviews Explore related topics, such as middleware frameworks and server technologies Make use of chapters individually for topic-specific help Use the appendix for tips on Scala and Groovy, two other languages that run on JVMs Veterans of the IT employment space know that interviewing for a Java programming position isn't as simple as sitting down and answering questions. The technical coding portion of the interview can be akin to a difficult puzzle or an interrogation. With Java Programming Interviews Exposed, skilled Java coders can prepare themselves for this daunting process and better arm themselves with the knowledge and interviewing skills necessary to succeed.

Concurrent Programming in Java

Design Principles and Patterns
Author: Douglas Lea
Publisher: Addison-Wesley Professional
ISBN: 9780201310092
Category: Computers
Page: 411
View: 9744

Continue Reading →

Software -- Programming Languages.

Data Structures and Algorithms Made Easy in Java

Data Structure and Algorithmic Puzzles, Second Edition
Author: Narasimha Karumanchi
Publisher: Createspace Independent Pub
ISBN: 9781468101270
Category: Computers
Page: 419
View: 4538

Continue Reading →

Peeling Data Structures and Algorithms for (Java, Second Edition): * Programming puzzles for interviews * Campus Preparation * Degree/Masters Course Preparation * Instructor's * GATE Preparation * Big job hunters: Microsoft, Google, Amazon, Yahoo, Flip Kart, Adobe, IBM Labs, Citrix, Mentor Graphics, NetApp, Oracle, Webaroo, De-Shaw, Success Factors, Face book, McAfee and many more * Reference Manual for working people

Programming Interviews Exposed

Secrets to Landing Your Next Job
Author: John Mongan,Noah Suojanen Kindler,Eric Giguère
Publisher: John Wiley & Sons
ISBN: 1118283406
Category: Computers
Page: 336
View: 6939

Continue Reading →

Be prepared for your next job interview with this tried-and-true advice In today's tight job market, competition for programming jobs is hotter than ever. This third edition of a popular guide to programming interviews includes new code examples, information on the latest languages, new chapters on sorting and design patterns, tips on using LinkedIn, and a downloadable app to help prepare applicants for the interview. Like its earlier editions, this guide covers what software companies and IT departments want their programmers to know and includes plenty of helpful hints to boost your confidence. Looks at current job search and hiring processes, such as the rise of LinkedIn and other social networks as recruiting resources Addresses the most important languages for a programmer to know and features examples in multiple languages Includes new programming questions designed to sharpen your knowledge Features all-new chapters on design patterns and sorting, including how to deal with memory constraints and mobility issues Walk into your next job interview with confidence, knowing you have thoroughly studied this newest edition of Programming Interviews Exposed.

Essentials of Programming Languages


Author: Daniel P. Friedman,Mitchell Wand
Publisher: MIT Press
ISBN: 0262062798
Category: Computers
Page: 410
View: 4152

Continue Reading →

1. Inductive sets of data 2. Data abstraction 3. Expressions 4. State 5. Continuation-passing interpreters 6. Continuation-passing style 7. Types 8. Modules 9. Objects and classes.

VBScript Programmer's Reference


Author: Adrian Kingsley-Hughes,Kathie Kingsley-Hughes,Daniel Read
Publisher: John Wiley & Sons
ISBN: 1118058690
Category: Computers
Page: 816
View: 5404

Continue Reading →

Completely updated for Windows Vista and Windows Server 2003 R2, this book is packed with practical examples for today's programmer, Web developer, or system administrator Combines a comprehensive overview of the VBScript technology and associated technologies with sample code at every stage from beginner to advanced user Discusses the general syntax, functions, keywords, style, error handling, and similar language-specific topics and then moves into an expanded reference section covering the object models in detail Presents advanced coverage on Active Directory Service Interfaces (ADSI), PowerShell, security scripting, remote scripting, database scripting, and more

Sams Teach Yourself Game Programming in 24 Hours


Author: Michael Morrison
Publisher: Sams Publishing
ISBN: 9780672324611
Category: Computers
Page: 488
View: 7134

Continue Reading →

Teaches fundamental C and C++ programming and provides information for programming games in Windows, exploring topics including game theory, double-buffered graphics, sprite animation, and digitized sound effects.

The Java Language Specification


Author: James Gosling,Bill Joy,Guy L. Steele,Gilad Bracha,Alex Buckley
Publisher: Pearson Education
ISBN: 013390069X
Category: Computers
Page: 758
View: 540

Continue Reading →

Written by the inventors of the technology, The Java� Language Specification, Java SE 8 Edition is the definitive technical reference for the Java programming language. The book provides complete, accurate, and detailed coverage of the Java programming language. It fully describes the new features added in Java SE 8, including lambda expressions, method references, default methods, type annotations, and repeating annotations. The book also includes many explanatory notes and carefully distinguishes the formal rules of the language from the practical behavior of compilers.

The Design of Design

Essays from a Computer Scientist
Author: Frederick P. Brooks Jr.
Publisher: Pearson Education
ISBN: 0321702069
Category: Computers
Page: 448
View: 7640

Continue Reading →

Making Sense of Design Effective design is at the heart of everything from software development to engineering to architecture. But what do we really know about the design process? What leads to effective, elegant designs? The Design of Design addresses these questions. These new essays by Fred Brooks contain extraordinary insights for designers in every discipline. Brooks pinpoints constants inherent in all design projects and uncovers processes and patterns likely to lead to excellence. Drawing on conversations with dozens of exceptional designers, as well as his own experiences in several design domains, Brooks observes that bold design decisions lead to better outcomes. The author tracks the evolution of the design process, treats collaborative and distributed design, and illuminates what makes a truly great designer. He examines the nuts and bolts of design processes, including budget constraints of many kinds, aesthetics, design empiricism, and tools, and grounds this discussion in his own real-world examples—case studies ranging from home construction to IBM’s Operating System/360. Throughout, Brooks reveals keys to success that every designer, design project manager, and design researcher should know.

Spring Boot Cookbook


Author: Alex Antonov
Publisher: Packt Publishing Ltd
ISBN: 178528911X
Category: Computers
Page: 206
View: 4201

Continue Reading →

Over 35 recipes to help you build, test, and run Spring applications using Spring Boot About This Book Learn to create different types of Spring Boot applications, configure behavior, and add custom components Become more efficient in testing, deploying, and monitoring Spring Boot based applications This is a practical guide that will help Spring developers to develop and deploy applications using Spring Boot Who This Book Is For If you are a Spring Developer who has good knowledge level and understanding of Spring Boot and application development and now want to learn efficient Spring Boot development techniques in order to make the existing development process more efficient, then this book is for you. What You Will Learn Create Spring Boot applications from scratch Configure and tune web applications and containers Create custom Spring Boot auto-configurations and starters Use Spring Boot Test framework with JUnit, Cucumber, and Spock Configure and tune web applications and containers Deploy Spring Boot as self-starting executables and Docker containers Monitor data using DropWizard, Graphite, and Dashing In Detail Spring Boot is Spring's convention-over-configuration solution. This feature makes it easy to create Spring applications and services with absolute minimum fuss. Spring Boot has the great ability to be customized and enhanced, and is specifically designed to simplify development of a new Spring application. This book will provide many detailed insights about the inner workings of Spring Boot, as well as tips and recipes to integrate the third-party frameworks and components needed to build complex enterprise-scale applications. The book starts with an overview of the important and useful Spring Boot starters that are included in the framework, and teaches you to create and add custom Servlet Filters, Interceptors, Converters, Formatters, and PropertyEditors to a Spring Boot web application. Next it will cover configuring custom routing rules and patterns, adding additional static asset paths, and adding and modifying servlet container connectors and other properties such as enabling SSL. Moving on, the book will teach you how to create custom Spring Boot Starters, and explore different techniques to test Spring Boot applications. Next, the book will show you examples of configuring your build to produce Docker images and self-executing binary files for Linux/OSX environments. Finally, the book will teach you how to create custom health indicators, and access monitoring data via HTTP and JMX. Style and approach This book is a cohesive collection of recipes that provide developers with a set of connected guidelines on how to build, configure, and customize their application, starting from the design and development stages, all the way through testing, deployment, and production monitoring.

Java/J2EE Job Interview Companion


Author: Arulkumaran Kumaraswamipillai,Sivayini Arulkumaran
Publisher: Lulu.com
ISBN: 1411668243
Category: Computers
Page: 356
View: 7032

Continue Reading →

400+ Java/J2EE Interview questions with clear and concise answers for: job seekers (junior/senior developers, architects, team/technical leads), promotion seekers, pro-active learners and interviewers. Lulu top 100 best seller. Increase your earning potential by learning, applying and succeeding. Learn the fundamentals relating to Java/J2EE in an easy to understand questions and answers approach. Covers 400+ popular interview Q&A with lots of diagrams, examples, code snippets, cross referencing and comparisons. This is not only an interview guide but also a quick reference guide, a refresher material and a roadmap covering a wide range of Java/J2EE related topics. More Java J2EE interview questions and answers & resume resources at http: //www.lulu.com/java-succes

The Java Developer's Guide to Eclipse


Author: Jim D'Anjou
Publisher: Addison-Wesley Professional
ISBN: 9780321305022
Category: Computers
Page: 1083
View: 6674

Continue Reading →

The revision of the best-selling Eclipse book on the market, completely revised for Eclipse 3.0!