- Table View
- List View
Java Message Service
by David A Chappell Richard Monson-HaefelThis book is a thorough introduction to Java Message Service (JMS), the standard Java application program interface (API) from Sun Microsystems that supports the formal communication known as "messaging" between computers in a network. JMS provides a common interface to standard messaging protocols and to special messaging services in support of Java programs. The messages exchange crucial data between computers, rather than between users--information such as event notification and service requests. Messaging is often used to coordinate programs in dissimilar systems or written in different programming languages.Using the JMS interface, a programmer can invoke the messaging services of IBM's MQSeries, Progress Software's SonicMQ, and other popular messaging product vendors. In addition, JMS supports messages that contain serialized Java objects and messages that contain Extensible Markup Language (XML) pages.Messaging is a powerful new paradigm that makes it easier to uncouple different parts of an enterprise application. Messaging clients work by sending messages to a message server, which is responsible for delivering the messages to their destination. Message delivery is asynchronous, meaning that the client can continue working without waiting for the message to be delivered. The contents of the message can be anything from a simple text string to a serialized Java object or an XML document.Java Message Service shows how to build applications using the point-to-point and publish-and-subscribe models; how to use features like transactions and durable subscriptions to make an application reliable; and how to use messaging within Enterprise JavaBeans. It also introduces a new EJB type, the MessageDrivenBean, that is part of EJB 2.0, and discusses integration of messaging into J2EE.
Java Message Service: Creating Distributed Enterprise Applications
by Mark Richards Richard Monson-Haefel David A ChappellJava Message Service, Second Edition, is a thorough introduction to the standard API that supports "messaging" -- the software-to-software exchange of crucial data among network computers. You'll learn how JMS can help you solve many architectural challenges, such as integrating dissimilar systems and applications, increasing scalability, eliminating system bottlenecks, supporting concurrent processing, and promoting flexibility and agility.Updated for JMS 1.1, this second edition also explains how this vendor-agnostic specification will help you write messaging-based applications using IBM's MQ, Progress Software's SonicMQ, ActiveMQ, and many other proprietary messaging services.With Java Message Service, you will:Build applications using point-to-point and publish-and-subscribe messaging modelsUse features such as transactions and durable subscriptions to make an application reliableImplement messaging within Enterprise JavaBeans (EJB) using message-driven beansUse JMS with RESTful applications and with the Spring application frameworkMessaging is a powerful paradigm that makes it easier to uncouple different parts of an enterprise application. Java Message Service, Second Edition, will quickly teach you how to use the key technology that lies behind it.
Java Methods: Object-Oriented Programming and Data Structures
by Maria Litvin Gary LitvinThis book offers a thorough introduction to the concepts and practices of object-oriented programming in Java. It also introduces the most common data structures and related algorithms and their implementations in the Java collections framework. Chapters 1 14 follow the syllabus of the AP Computer Science in Java course. They will prepare you well for the AP CS exam. Chapters 15-18 on file input and output, graphics, graphical user interfaces, and events handling in Java will give you a better sense of real-world Java programming; this material also makes case studies, labs, and exercises more fun. Chapters 19-26 deal with more advanced data structures and algorithms. Chapter 27, Design Patterns, introduces more intricate aspects of object-oriented design and serves as an introduction to design patterns. The last chapter, Computing in Context, discusses creative, responsible, and ethical computer use.
Java Methods A & AB: Object-Oriented Programming and Data Structures, AP Edition
by Maria Litvin Gary LitvinIn one volume, this edition covers both introductory Java/OOP A-level material and AB-level topics (data structures and algorithms). The book follows Java 5.0 and incorporates many other changes, big and small, to reflect the current priorities of the AP CS program. This edition offers an early focus on object-oriented programming and design and an expanded discussion of the Java collections framework.
Java Microservices and Containers in the Cloud: With Spring Boot, Kafka, PostgreSQL, Kubernetes, Helm, Terraform and AWS EKS
by Binildas A. ChristudasSpring Boot helps developers create applications that simply run. When minimal configuration is required to start up an application, even novice Java developers are ready to start. But this simplicity shouldn't constrain developers in addressing more complex enterprise requirements where microservice architecture is concerned. With the need to rapidly deploy, patch, or scale applications, containers provide solutions which can accelerate development, testing as well as production cycles. The cloud helps companies to scale and adapt at speed, accelerate innovation and drive business agility, without heavy upfront IT investment. What if we can equip even a novice developer with all that is required to help enterprises achieve all of this, this book does this and more. Java Microservices and Containers in the Cloud offers a comprehensive guide to both architecture and programming aspects to Java microservices development, providing a fully hands-on experience. We not only describe various architecture patterns but also provide practical implementations of each pattern through code examples. Despite the focus on architecture, this book is designed to be accessible to novice developers with only basic programming skills, such as writing a "Hello World" program and using Maven to compile and run Java code. It ensures that even such readers can easily comprehend, deploy, and execute the code samples provided in the book. Regardless of your current knowledge or lack thereof in Docker, Kubernetes, and Cloud technologies, this book will empower you to develop programming skills in these areas. There is no restriction on beginners attempting to understand serious and non-trivial architecture constraints. While mastering concurrency and scalability techniques often requires years of experience, this book promises to empower you to write microservices, as well as how to containerize and deploy them in the cloud. If you are a non-programming manager who is not afraid to read code snippets, this book will empower you to navigate the challenges posed by seasoned architects. It will equip you with the necessary understanding of specialized jargon, enabling you to engage in more meaningful discussions and break through barriers when collaborating with programmers, architects and engineers across the table. The code examples provided in the book are intentionally designed to be simple and accessible to all, regardless of your programming background. Even if you are a C# or Python programmer and not familiar with Java, you will find the code examples easy to follow and understand. You will Acquire proficiency in both RPC-style and Messaging-style inter-microservice communication Construct microservices utilizing a combination of SQL (PostgreSQL) and NoSQL (MongoDB) databases Leverage Liquibase, a database schema version control tool, and administer UI in conjunction with PostgreSQL Leverage both GraphQL and conventional REST approaches side by side Gain practical experience in implementing Hexagonal and Onion Architectures through hands-on exercises Integrate asynchronous processing into your Java applications using powerful APIs such as DeferredResult and CompletableFuture Who it's for: Developers, programmers and Architects who want to level up their Java Micoservices and Archtecture knowledge as well as managers who want to brush up on their technical knowledge around the topic.
The Java Module System
by Nicolai ParlogSummaryJava's much-awaited "Project Jigsaw" is finally here! Java 11 includes a built-in modularity framework, and The Java Module System is your guide to discovering it. In this new book, you'll learn how the module system improves reliability and maintainability, and how it can be used to reduce tight coupling of system components.Foreword by Kevlin Henney.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. You'll find registration instructions inside the print book.About the TechnologyPackaging code into neat, well-defined units makes it easier to deliver safe and reliable applications. The Java Platform Module System is a language standard for creating these units. With modules, you can closely control how JARs interact and easily identify any missing dependencies at startup. This shift in design is so fundamental that starting with Java 9, all core Java APIs are distributed as modules, and libraries, frameworks, and applications will benefit from doing the same.About the BookThe Java Module System is your in-depth guide to creating and using Java modules. With detailed examples and easy-to-understand diagrams, you'll learn the anatomy of a modular Java application. Along the way, you'll master best practices for designing with modules, debugging your modular app, and deploying to production.What's insideThe anatomy of a modular Java appBuilding modules from source to JARMigrating to modular JavaDecoupling dependencies and refining APIsHandling reflection and versioningCustomizing runtime imagesUpdated for Java 11About the ReaderPerfect for developers with some Java experience.About the AuthorNicolai Parlog is a developer, author, speaker, and trainer. His home is codefx.org. Table of ContentsPART 1 - Hello, modulesFirst piece of the puzzleAnatomy of a modular applicationDefining modules and their propertiesBuilding modules from source to JARRunning and debugging modular applicationsPART 2 - Adapting real-world projectsCompatibility challenges when moving to Java 9 or laterRecurring challenges when running on Java 9 or laterIncremental modularization of existing projectsMigration and modularization strategiesPART 3 - Advanced module system featuresUsing services to decouple modulesRefining dependencies and APIsReflection in a modular worldModule versions: What's possible and what's notCustomizing runtime images with jlinkPutting the pieces together
Java Network Programming
by Elliotte Rusty HaroldThe new third edition of this highly regarded introduction to Java networking programming has been thoroughly revised to cover all of the 100+ significant updates to Java Developers Kit (JDK) 1.5. It is a clear, complete introduction to developing network programs (both applets and applications) using Java, covering everything from networking fundamentals to remote method invocation (RMI).Java Network Programming, 3rd Edition includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, servlets, multithreaded network programming, I/O, HTML parsing and display, the Java Mail API, and the Java Secure Sockets Extension. There's also significant information on the New I/O API that was developed in large part because of the needs of network programmers.This invaluable book is a complete, single source guide to writing sophisticated network applications. Packed with useful examples, it is the essential resource for any serious Java developer.
Java Network Programming: Developing Networked Applications (Java Ser.)
by Elliotte Rusty HaroldThis practical guide provides a complete introduction to developing network programs with Java. You’ll learn how to use Java’s network class library to quickly and easily accomplish common networking tasks such as writing multithreaded servers, encrypting communications, broadcasting to the local network, and posting data to server-side programs.Author Elliotte Rusty Harold provides complete working programs to illustrate the methods and classes he describes. This thoroughly revised fourth edition covers REST, SPDY, asynchronous I/O, and many other recent technologies.Explore protocols that underlie the Internet, such as TCP/IP and UDP/IPLearn how Java’s core I/O API handles network input and outputDiscover how the InetAddress class helps Java programs interact with DNSLocate, identify, and download network resources with Java’s URI and URL classesDive deep into the HTTP protocol, including REST, HTTP headers, and cookiesWrite servers and network clients, using Java’s low-level socket classesManage many connections at the same time with the nonblocking I/O
Java Network Programming, 2nd Edition
by Elliotte Rusty HaroldThis complete guide to developing network programs (both applets and applications) using Java covers everything from networking fundamentals to remote method invocation (RMI). It includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, and servlets. This second edition also covers Java 1.1, 1.2 and 1.3, with new chapters on multithreaded network programming, I/O, HTML parsing and display, the Java Mail API, the Java Secure Sockets Extension, and more.
Java Network Programming, 3rd Edition
by Elliotte HaroldThe new third edition of this highly regarded introduction to Java networking programming has been thoroughly revised to cover all of the 100+ significant updates to Java Developers Kit (JDK) 1.5. It is a clear, complete introduction to developing network programs (both applets and applications) using Java, covering everything from networking fundamentals to remote method invocation (RMI). Java Network Programming, 3rd Edition includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, servlets, multithreaded network programming, I/O, HTML parsing and display, the Java Mail API, and the Java Secure Sockets Extension. There's also significant information on the New I/O API that was developed in large part because of the needs of network programmers. This invaluable book is a complete, single source guide to writing sophisticated network applications. Packed with useful examples, it is the essential resource for any serious Java developer.
Java Network Programming, 3rd Edition
by Elliotte Rusty HaroldThe new third edition of this highly regarded introduction to Java networking programming has been thoroughly revised to cover all of the 100+ significant updates to Java Developers Kit (JDK) 1.5. It is a clear, complete introduction to developing network programs (both applets and applications) using Java, covering everything from networking fundamentals to remote method invocation (RMI). Java Network Programming , 3rd Edition includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, servlets, multithreaded network programming, I/O, HTML parsing and display, the Java Mail API, and the Java Secure Sockets Extension. There's also significant information on the New I/O API that was developed in large part because of the needs of network programmers. This invaluable book is a complete, single source guide to writing sophisticated network applications. Packed with useful examples, it is the essential resource for any serious Java developer.
Java NIO
by Ron HitchensMany serious Java programmers, especially enterprise Java programmers, consider the new I/O API--called NIO for New Input/Output--the most important feature in the 1.4 version of the Java 2 Standard Edition. The NIO package includes many things that have been missing from previous editions of Java that are critical to writing high-performance, large-scale applications: improvements in the areas of buffer management, scalable network and file I/O, character-set support, and regular expression matching. Most of all, it boosts performance and speed dramatically. Java NIO explores the new I/O capabilities of version 1.4 in detail and shows you how to put these features to work to greatly improve the efficiency of the Java code you write. This compact volume examines the typical challenges that Java programmers face with I/O and shows you how to take advantage of the capabilities of the new I/O features. You?ll learn how to put these tools to work using examples of common, real-world I/O problems and see how the new features have a direct impact on responsiveness, scalability, and reliability. The book includes: A rundown of the new features in NIO Basic and advanced I/O Concepts Binary I/O and the new buffer classes Memory mapped files and file locking Character I/O: encoding, decoding and transforming character data Regular Expressions and the new java.util.regex package Muliplexing with java.nio Because the NIO APIs supplement the I/O features of version 1.3, rather than replace them, you'll also learn when to use new APIs and when the older 1.3 I/O APIs are better suited to your particular application. Java NIO is for any Java programmer who is interested in learning how to boost I/O performance, but if you're developing applications where performance is critical, such as game computing or large-scale enterprise applications, you'll want to give this book a permanent spot on your bookshelf. With the NIO APIs, Java no longer takes a backseat to any language when it comes to performance. Java NIO will help you realize the benefits of these exciting new features.
Java on the Raspberry Pi: Develop Java Programs to Control Devices for Robotics, IoT, and Beyond
by Greg FlurryUse Java to do whatever you want to do with the Raspberry Pi and the devices you need for your project. In theory, it should be possible, and even easy, to work with on the Pi. Unfortunately, reality is a bit different. This book features an extensive set of techniques that allow you to get close to bringing this theory to fruition.You'll review some limitations on using Java imposed by the Raspberry Pi and Raspberry Pi OS, and even Java itself, and examine which ones might apply to your projects and your devices. You'll also explore solutions to address the limitations and l look at efficient development of Java for the Raspberry Pi. Java on the Raspberry Pi shows how to interact with a range of devices useful in robotics and IOT, overcoming the hurdles in doing so. It also covers off-loading work from the Raspberry Pi to an Arduino, leveraging its close-to-real time capabilities. What You'll Learn Develop with Java remotely using NetBeans Leverage available libraries to enable device interaction, and what to do if they don’t work Implement multi-processing, using an Arduino as a co-processorBuild sophisticated projects with multiple threads of execution, multiple processes, and even multiple systems Who This Book Is ForExperienced programmers who appreciate the benefits of Java and world class tools for application development and want to build robotics or IOT projects using the low cost, low power, and portability of the Raspberry Pi.
Java Performance: The Definitive Guide
by Scott OaksCoding and testing are often considered separate areas of expertise. In this comprehensive guide, author and Java expert Scott Oaks takes the approach that anyone who works with Java should be equally adept at understanding how code behaves in the JVM, as well as the tunings likely to help its performance.You'll gain in-depth knowledge of Java application performance, using the Java Virtual Machine (JVM) and the Java platform, including the language and API. Developers and performance engineers alike will learn a variety of features, tools, and processes for improving the way Java 7 and 8 applications perform.Apply four principles for obtaining the best results from performance testingUse JDK tools to collect data on how a Java application is performingUnderstand the advantages and disadvantages of using a JIT compilerTune JVM garbage collectors to affect programs as little as possibleUse techniques to manage heap memory and JVM native memoryMaximize Java threading and synchronization performance featuresTackle performance issues in Java EE and Java SE APIsImprove Java-driven database application performance
Java Performance: In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond
by Scott OaksCoding and testing are generally considered separate areas of expertise. In this practical book, Java expert Scott Oaks takes the approach that anyone who works with Java should be adept at understanding how code behaves in the Java Virtual Machine—including the tunings likely to help performance. This updated second edition helps you gain in-depth knowledge of Java application performance using both the JVM and the Java platform.Developers and performance engineers alike will learn a variety of features, tools, and processes for improving the way the Java 8 and 11 LTS releases perform. While the emphasis is on production-supported releases and features, this book also features previews of exciting new technologies such as ahead-of-time compilation and experimental garbage collections.Understand how various Java platforms and compilers affect performanceLearn how Java garbage collection worksApply four principles to obtain best results from performance testingUse the JDK and other tools to learn how a Java application is performingMinimize the garbage collector’s impact through tuning and programming practicesTackle performance issues in Java APIsImprove Java-driven database application performance
Java Persistence with Hibernate
by Gary Gregory Christian BauerSummaryJava Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions.About the TechnologyPurchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.Persistence—the ability of data to outlive an instance of a program—is central to modern applications. Hibernate, the most popular Java persistence tool, offers automatic and transparent object/relational mapping, making it a snap to work with SQL databases in Java applications.About the BookJava Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate, working through mappings, queries, fetching strategies, transactions, conversations, caching, and more. Along the way you'll find a well-illustrated discussion of best practices in database design and optimization techniques. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions.What's InsideObject/relational mapping conceptsEfficient database application designComprehensive Hibernate and Java Persistence referenceIntegration of Java Persistence with EJB, CDI, JSF, and JAX-RS * Unmatched breadth and depthAbout the ReaderThe book assumes a working knowledge of Java.About the AuthorsChristian Bauer is a member of the Hibernate developer team and a trainer and consultant. Gavin King is the founder of the Hibernate project and a member of the Java Persistence expert group (JSR 220). Gary Gregory is a principal software engineer working on application servers and legacy integration.Table of ContentsPART 1 GETTING STARTED WITH ORMUnderstanding object/relational persistenceStarting a projectDomain models and metadataPART 2 MAPPING STRATEGIESMapping persistent classesMapping value typesMapping inheritanceMapping collections and entity associationsAdvanced entity association mappingsComplex and legacy schemasPART 3 TRANSACTIONAL DATA PROCESSINGManaging dataTransactions and concurrencyFetch plans, strategies, and profilesFiltering dataPART 4 WRITING QUERIESCreating and executing queriesThe query languagesAdvanced query optionsCustomizing SQL
Java Persistence with MyBatis 3
by K. Siva ReddyThis book will have a practical approach, thus making it easy for the readers to understand and learn with step-by-step instructions.This book is for Java developers who would like to learn all about the MyBatis framework and are looking for a practical guide to get started. The prerequisites required for this book are basic Java and SQL skills. No prior knowledge of MyBatis is expected.
Java Persistence with Spring Data and Hibernate
by Catalin TudoseMaster Java persistence using the industry-leading tools Spring Data and Hibernate.In Java Persistence with Spring Data and Hibernate you will learn: Mapping persistent classes, value types, and inheritance Mapping collections and entity associations Processing transactions with Spring Data and Hibernate Creating fetch plans, strategies, and profiles Filtering data Building Spring Data REST projects Using Java persistence with non-relational databases Querying JPA with QueryDSL Testing Java persistence applications Java Persistence with Spring Data and Hibernate teaches you the ins-and-outs of Java persistence with hands-on examples using Spring Data, JPA, and Hibernate. The book carefully analyzes the capabilities of the major Java persistence tools, and guides you through the most common use cases. By comparing and contrasting the alternatives, you&’ll find it easy to choose the right tool choice for your applications. You&’ll learn how to make and utilize mapping strategies, about the different approach to transactions for both Hibernate and Spring Data, and even how to efficiently test Java persistence applications. The practical techniques are demonstrated with both relational and non-relational databases. Forewords by Dmitry Aleksandrov and Mohamed Taman. About the technology Effectively managing application data is essential for any serious application. Spring Data and Hibernate bridge the gap between object-oriented code and relational data stores, radically simplifying Java persistence. By implementing the Java Persistence API (JPA) standard, these powerful tools help you avoid common bugs related to state and application data storage. About the book Java Persistence with Spring Data and Hibernate explores Java persistence using industry-standard tools. Hands-on examples introduce object-relational mapping and guide you through different mapping strategies to suit your needs. Covering transactions, persistent application testing, and non-relational databases, this book is your go-to resource for managing data in Java applications. What's inside Mapping persistent classes, value types, and inheritance Creating fetch plans, strategies, and profiles Building Spring Data REST projects Querying JPA with QueryDSL About the reader For intermediate Java programmers. About the author Catalin Tudose has more than 20 years of experience in the Java community. Christian Bauer, Gavin King, and Gary Gregory are the authors of Java Persistence with Hibernate, Second Edition, on which this book is based. Table of Contents PART 1 - GETTING STARTED WITH ORM 1 Understanding object/relational persistence 2 Starting a project 3 Domain models and metadata 4 Working with Spring Data JPA PART 2 - MAPPING STRATEGIES 5 Mapping persistent classes 6 Mapping value types 7 Mapping inheritance 8 Mapping collections and entity associations 9 Advanced entity association mappings PART 3 - TRANSACTIONAL DATA PROCESSING 10 Managing data 11 Transactions and concurrency 12 Fetch plans, strategies, and profiles 13 Filtering data PART 4 - BUILDING JAVA PERSISTENCE APPLICATIONS WITH SPRING 14 Integrating JPA and Hibernate with Spring 15 Working with Spring Data JDBC 16 Working with Spring Data REST PART 5 - BUILDING JAVA PERSISTENCE APPLICATIONS WITH SPRING 17 Working with Spring Data MongoDB 18 Working with Hibernate OGM PART 6 - WRITING QUERIES AND TESTING JAVA PERSISTENCE APPLICATIONS 19 Querying JPA with Querydsl 20 Testing Java persistence applications
Java Pocket Guide
by Robert Liguori Patricia LiguoriHow many times have you reached an impasse while writing code because you couldn't remember how something in Java worked? This new pocket guide is designed to keep you moving. Concise, convenient and easy to use, the Java Pocket Guide gives you Java stripped down to its bare essentials -- in fact, it's the only book on Java that you can actually fit in your pocket. Written by Robert and Patricia Liguori, senior software and lead information engineers for Java-based air traffic management and simulation environments, Java Pocket Guide contains everything you really need to know about Java, particularly everything you need to remember. The book pays special attention to the new areas in Java 5 and 6, such as generics and annotations. Why do you need the Java Pocket Guide? It's the only CliffsNotes-style guide to Java available Lets you find important things quickly without consulting 1000-page tutorials Includes many command-line options Organized for quick and easy use on the job If you're looking to learn some aspect of Java, this is not your book. Java Pocket Guide is for the experienced Java programmers among you who need quick reminders to jog your memory on how something in the language works. Simply put, this pocket guide offers practical help for practicing developers.
Java Pocket Guide: Instant Help for Java Programmers
by Robert Liguori Patricia LiguoriAny time you need quick answers for developing or debugging Java programs, this pocket guide is the ideal reference to standard features of the Java programming language and its platform. Youâ??ll find helpful programming examples, tables, figures, and lists fastâ??including Java 9 features such as modular source code and the new JShell interactive command-line REPL. Itâ??s a handy companion, whether youâ??re in the office, in the lab, or on the road.This book also provides material to help you prepare for the Oracle Certified Associate Java Programmer exam.Quickly find Java language details, such as naming conventions, types, statements and blocks, and object-oriented programmingGet details on the Java SE platform, including development basics, memory management, concurrency, and genericsUse new features in Java 9, including modular source code and JShellBrowse through information on basic input/output, NIO 2.0, the Java collections framework, and the Java Scripting APIGet supplemental references to fluent APIs, third-party tools, and basics of the Unified Modeling Language (UML)
Java Power Tools
by John Ferguson SmartAll true craftsmen need the best tools to do their finest work, and programmers are no different. Java Power Tools delivers 30 open source tools designed to improve the development practices of Java developers in any size team or organization. Each chapter includes a series of short articles about one particular tool -- whether it's for build systems, version control, or other aspects of the development process -- giving you the equivalent of 30 short reference books in one package.No matter which development method your team chooses, whether it's Agile, RUP, XP, SCRUM, or one of many others available, Java Power Tools provides practical techniques and tools to help you optimize the process. The book discusses key Java development problem areas and best practices, and focuses on open source tools that can help increase productivity in each area of the development cycle, including:Build tools including Ant and Maven 2Version control tools such as CVS and Subversion, the two most prominent open source toolsQuality metrics tools that measure different aspects of code quality, including CheckStyle, PMD, FindBugs and JupiterTechnical documentation tools that can help you generate good technical documentation without spending too much effort writing and maintaining itUnit Testing tools including JUnit 4, TestNG, and the open source coverage tool CoberturaIntegration, Load and Performance Testing to integrate performance tests into unit tests, load-test your application, and automatically test web services, Swing interfaces and web interfacesIssue management tools including Bugzilla and TracContinuous Integration tools such as Continuum, Cruise Control, LuntBuild and HudsonIf you are a Java developer, these tools can help improve your development practices, and make your life easier in the process. Lead developers, software architects and people interested in the wider picture will be able to gather from these pages some useful ideas about improving your project infrastructure and best practices.
Java. Praktyczne narzędzia
by John Ferguson SmartPoznaj narzędzia, które okażą się niezbędne! Jak zapewnić wysoką jakość tworzonego rozwiązania?Jak wprowadzić proces ciągłej integracji?Jak testować kod? Możliwości języka Java znają już chyba wszyscy. Dlatego warto jedynie wspomnieć o tym, że oprócz podstawowych narzędzi do tworzenia oprogramowania w tym języku, które zna każdy programista, istnieje wiele innych -- przydatnych i użytecznych -- aplikacji. Potrafią one w niezwykle skuteczny sposób przyśpieszyć oraz ułatwić programowanie w języku Java i sprawić, że będzie to zajęcie jeszcze przyjemniejsze. W żadnej innej książce nie znajdziesz tak szczegółowego omówienia tych narzędzi. Zatem jeśli wykorzystujesz język Java na co dzień, musisz ją mieć! Dzięki tej książce poznasz 33 praktyczne narzędzia, które ułatwią Twoją pracę -- narzędzia, które zwiększą niezawodność Twojego kodu, poprawią wydajność oraz zapewnią bezpieczeństwo Twoim plikom źródłowym. Autor książki omawia kilka grup narzędzi, a wśród nich aplikacje takie, jak Maven, Subversion, JUnit czy też Hudson. Dzięki książce "Java. Praktyczne narzędzia" dowiesz się, jak bardzo na jakość Twojego rozwiązania może wpłynąć proces ciągłej integracji oraz jak ważne są testy jednostkowe czy integracyjne. Ponadto autor książki omawia 29 innych narzędzi, które zwiększają komfort pracy. Otwórz spis treści i spójrz, jak cenne informacje są zawarte w tej książce! Wykorzystanie narzędzi kompilujących (Ant, Maven2)Zastosowanie systemów kontroli wersji (CVS, Subversion)Sposoby oceny jakości kodu (CheckStyle, PMD, FindBugs, Jupiter)Tworzenie wysokiej jakości dokumentacjiPrzygotowanie testów jednostkowych (JUnit, TestNG)Przeprowadzanie testów integracyjnychSystemy raportowania i śledzenia błędów (Bugzilla, Trac)Narzędzia pozwalające na wprowadzenie procesu ciągłej integracji (Continuum, Hudson)Sposoby przeprowadzania testów obciążeniowychProfilowanie i monitorowanie aplikacji za pomocą narzędzi dostępnych w pakiecie JDK oraz Eclipse Zobacz, jak łatwo można wykonać skomplikowane zadania!
Java Program Design: Principles, Polymorphism, and Patterns
by Edward ScioreGet a grounding in polymorphism and other fundamental aspects of object-oriented program design and implementation, and learn a subset of design patterns that any practicing Java professional simply must know in today’s job climate. Java Program Design presents program design principles to help practicing programmers up their game and remain relevant in the face of changing trends and an evolving language. The book enhances the traditional design patterns with Java's new functional programming features, such as functional interfaces and lambda expressions. The result is a fresh treatment of design patterns that expands their power and applicability, and reflects current best practice. The book examines some well-designed classes from the Java class library, using them to illustrate the various object-oriented principles and patterns under discussion. Not only does this approach provide good, practical examples, but you will learn useful library classes you might not otherwise know about.The design of a simplified banking program is introduced in chapter 1 in a non-object-oriented incarnation and the example is carried through all chapters. You can see the object orientation develop as various design principles are progressively applied throughout the book to produce a refined, fully object-oriented version of the program in the final chapter. What You'll LearnCreate well-designed programs, and identify and improve poorly-designed onesBuild a professional-level understanding of polymorphism and its use in Java interfaces and class hierarchiesApply classic design patterns to Java programming problems while respecting the modern features of the Java languageTake advantage of classes from the Java library to facilitate the implementation of design patterns in your programsWho This Book Is ForJava programmers who are comfortable writing non-object-oriented code and want a guided immersion into the world of object-oriented Java, and intermediate programmers interested in strengthening their foundational knowledge and taking their object-oriented skills to the next level. Even advanced programmers will discover interesting examples and insights in each chapter.
Java programmieren lernen für Dummies (Für Dummies)
by Barry BurdSteigen Sie mit diesem Buch in die Welt des Programmierens ein und zwar mit der beliebten Programmiersprache Java! Schritt für Schritt werden Sie mit den Grundlagen, wie zum Beispiel Variablen, Schleifen und objektorientierter Programmierung, vertraut gemacht, probieren viele anschauliche Beispiele aus und schreiben Ihr erstes eigenes Programm. Dieses Buch steht Ihnen bei allen Herausforderungen jederzeit mit hilfreichen Tipps und Lösungsvorschlägen zur Seite, sodass Sie auf Ihrem Weg zum Programmierer optimal gerüstet sind! Mit den Programmbeispielen zum Herunterladen können Sie das Gelernte direkt ausprobieren.
Java Programming: From the Ground Up
by Ralph Bravaco Shai SimonsonJava Programming, From The Ground Up, with its flexible organization, teaches Java in a way that is refreshing, fun, interesting and still has all the appropriate programming pieces for students to learn. The motivation behind this writing is to bring a logical, readable, entertaining approach to keep your students involved. Each chapter has a Bigger Picture section at the end of the chapter to provide a variety of interesting related topics in computer science. The writing style is conversational and not overly technical so it addresses programming concepts appropriately. Because of the flexibile organization of the text, it can be used for a one or two semester introductory Java programming class, as well as using Java as a second language. The text contains a large variety of carefully designed exercises that are more effective than the competition.