The The Java Workshop


Book Description

Get to grips with the fundamentals of Java programming and learn to build useful applications with the help of real-world examples and engaging practical activities Key FeaturesBuild a solid foundation in Java and focus on developing real-world applicationsImplement the fundamental concepts of object-oriented programming in your codeWork with external data storage systems and learn how to efficiently handle dataBook Description Java is a versatile, popular programming language used across a wide range of industries. Learning how to write effective Java code can take your career to the next level, and The Java Workshop will help you do just that. This book is designed to take the pain out of Java coding and teach you everything you need to know to be productive in building real-world software. The Workshop starts by showing you how to use classes, methods, and the built-in Collections API to manipulate data structures effortlessly. You'll dive right into learning about object-oriented programming by creating classes and interfaces and making use of inheritance and polymorphism. After learning how to handle exceptions, you'll study the modules, packages, and libraries that help you organize your code. As you progress, you'll discover how to connect to external databases and web servers, work with regular expressions, and write unit tests to validate your code. You'll also be introduced to functional programming and see how to implement it using lambda functions. By the end of this Workshop, you'll be well-versed with key Java concepts and have the knowledge and confidence to tackle your own ambitious projects with Java. What you will learnWrite clean, well-commented Java code that's easy to maintainDebug logical errors and handle exceptions in your Java programsImplement object-oriented and functional programming paradigmsUse regular expressions to search for information in text dataWork with information stored in databases using JDBCMake HTTP requests from Java applications and parse the response dataSecure your data with cryptography and encryptionWrite unit tests to validate your code with JUnitWho this book is for This Java coding book is designed for anyone who is new to Java. Whether you're an aspiring software developer, or are just curious about learning to code, then this book will get you on the right track. No prior programming experience is required.




Inside Java Workshop


Book Description

Inside Java Workshop takes you on a working tour of the Java development environment from Sun Microsystems. Learn Java WorkShop basics: managing projects of any size, GUI building with a visual point and click interface, debugging multi-threaded programs, publishing applications on the Internet, and more. By the time you finish Inside Java Workshop, you'll be able to visually assemble, test, debug, and publish portable Java applications.




The Art of Unit Testing


Book Description

Summary The Art of Unit Testing, Second Edition guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy. You'll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks such as Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, you'll learn about integration testing and techniques and tools for testing databases and other technologies. About this Book You know you should be unit testing, so why aren't you doing it? If you're new to unit testing, if you find unit testing tedious, or if you're just not getting enough payoff for the effort you put into it, keep reading. The Art of Unit Testing, Second Edition guides you step by step from writing your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. You'll move quickly to more complicated subjects like mocks and stubs, while learning to use isolation (mocking) frameworks like Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, refactor code applications, and learn how to test "untestable" code. Along the way, you'll learn about integration testing and techniques for testing with databases. The examples in the book use C#, but will benefit anyone using a statically typed language such as Java or C++. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside Create readable, maintainable, trustworthy tests Fakes, stubs, mock objects, and isolation (mocking) frameworks Simple dependency injection techniques Refactoring legacy code About the Author Roy Osherove has been coding for over 15 years, and he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. His blog is at ArtOfUnitTesting.com. Table of Contents PART 1 GETTING STARTED The basics of unit testing A first unit test PART 2 CORE TECHNIQUES Using stubs to break dependencies Interaction testing using mock objects Isolation (mocking) frameworks Digging deeper into isolation frameworks PART 3 THE TEST CODE Test hierarchies and organization The pillars of good unit tests PART 4 DESIGN AND PROCESS Integrating unit testing into the organization Working with legacy code Design and testability




Teach Yourself Java for Macintosh in 21 Days


Book Description

Takes a tutorial approach towards developing and serving Java applets, offering step-by-step instruction on such areas as motion pictures, animation, applet interactivity, file transfers, sound, and type. Original. (Intermediate).




BEA WebLogic Workshop 8.1 Kick Start


Book Description

Written by leading members of BEAUs Education team, this book offers concise, practical coverage of the real-world problems Workshop can solve for J2EE developers. It includes developing page flows and JSP applications, using tag libraries, building controls, developing Web services, processing XML data, and BEAUs new XML Beans classes, handling security, and deploying applications to production.336 pp.







Java in Two Semesters


Book Description

This easy-to-follow textbook teaches Java programming from first principles, as well as covering design and testing methodologies. The text is divided into two parts. Each part supports a one-semester module, the first part addressing fundamental programming concepts, and the second part building on this foundation, teaching the skills required to develop more advanced applications. This fully updated and greatly enhanced fourth edition covers the key developments introduced in Java 8, including material on JavaFX, lambda expressions and the Stream API. Topics and features: begins by introducing fundamental programming concepts such as declaration of variables, control structures, methods and arrays; goes on to cover the fundamental object-oriented concepts of classes and objects, inheritance and polymorphism; uses JavaFX throughout for constructing event-driven graphical interfaces; includes advanced topics such as interfaces and lambda expressions, generics, collection classes and exceptions; explains file-handling techniques, packages, multi-threaded programs, socket programming, remote database access and processing collections using streams; includes self-test questions and programming exercises at the end of each chapter, as well as two illuminating case studies; provides additional resources at its associated website (simply go to springer.com and search for "Java in Two Semesters"), including a guide on how to install and use the NetBeansTM Java IDE. Offering a gentle introduction to the field, assuming no prior knowledge of the subject, Java in Two Semesters is the ideal companion to undergraduate modules in software development or programming.




"Dear Evil Tester"


Book Description

Are you in charge of your own testing? Do you have the advice you need to advance your test approach? "Dear Evil Tester" contains advice about testing that you won't hear anywhere else. "Dear Evil Tester" is a three pronged publication designed to: -provoke not placate, -make you react rather than relax, -help you laugh not languish. Starting gently with the laugh out loud Agony Uncle answers originally published in 'The Testing Planet'. "Dear Evil Tester" then provides new answers, to never before published questions, that will hit your beliefs where they change. Before presenting you with essays that will help you unleash your own inner Evil Tester. With advice on automating, communication, talking at conferences, psychotherapy for testers, exploratory testing, tools, technical testing, and more. Dear Evil Tester randomly samples the Software Testing stomping ground before walking all over it. "Dear Evil Tester" is a revolutionary testing book for the mind which shows you an alternative approach to testing built on responsibility, control and laughter. Read what our early reviewers had to say: "Wonderful stuff there. Real deep." Rob Sabourin, @RobertASabourin Author of "I Am a Bug" "The more you know about software testing, the more you will find to amuse you." Dot Graham, @dorothygraham Author of "Experiences of Test Automation" "laugh-out-loud episodes" Paul Gerrard, @paul_gerrard Author of "The Tester's Pocketbook" "A great read for every Tester." Andy Glover, @cartoontester Author of "Cartoon Tester"




The Java Tutorial


Book Description

The Java®Tutorial, Fifth Edition, is based on Release 7 of the Java Platform Standard Edition. This revised and updated edition introduces the new features added to the platform, including a section on NIO.2, the new file I/O API, and information on migrating legacy code to the new API. The deployment coverage has also been expanded, with new chapters such as “Doing More with Rich Internet Applications” and “Deployment in Depth,” and a section on the fork/join feature has been added to the chapter on concurrency. Information reflecting Project Coin developments, including the new try-with-resources statement, the ability to catch more than one type of exception with a single exception handler, support for binary literals, and diamond syntax, which results in cleaner generics code, has been added where appropriate. The chapters covering generics, Java Web Start, and applets have also been updated. In addition, if you plan to take one of the Java SE 7 certification exams, this guide can help. A special appendix, “Preparing for Java Programming Language Certification,” lists the three exams available, details the items covered on each exam, and provides cross-references to where more information about each topic appears in the text. All of the material has been thoroughly reviewed by members of Oracle Java engineering to ensure that the information is accurate and up to date.




Cloud Native Java


Book Description

What separates the traditional enterprise from the likes of Amazon, Netflix, and Etsy? Those companies have refined the art of cloud native development to maintain their competitive edge and stay well ahead of the competition. This practical guide shows Java/JVM developers how to build better software, faster, using Spring Boot, Spring Cloud, and Cloud Foundry. Many organizations have already waded into cloud computing, test-driven development, microservices, and continuous integration and delivery. Authors Josh Long and Kenny Bastani fully immerse you in the tools and methodologies that will help you transform your legacy application into one that is genuinely cloud native. In four sections, this book takes you through: The Basics: learn the motivations behind cloud native thinking; configure and test a Spring Boot application; and move your legacy application to the cloud Web Services: build HTTP and RESTful services with Spring; route requests in your distributed system; and build edge services closer to the data Data Integration: manage your data with Spring Data, and integrate distributed services with Spring’s support for event-driven, messaging-centric architectures Production: make your system observable; use service brokers to connect stateful services; and understand the big ideas behind continuous delivery