Books: 8

GWT

CoverTitleYear
A practical guide to get you up and running with unit testing using Mockito
ABOUT THIS BOOK * Explore Mockito features and learn stubbing, mocking and spying dependencies using the Mockito framework * Mock external dependencies for legacy and greenfield projects and create an automated JUnit safety net for building reliable, maintainable and testable software * A focused more » guide filled with examples and supporting illustrations on testing your software using Mockito WHO THIS BOOK IS FOR This book is ideal for developers who have some experience in Java application development as well as some basic knowledge of test doubles and JUnit testing. This book also introduces you to the fundamentals of JUnit testing, test doubles, refactoring legacy code, and writing JUnit tests for GWT and web services. WHAT YOU WILL LEARN * Explore test doubles and work with dummy, spy, fake, stub, and mock objects * Uncover the Mockito architecture and build a custom mocking framework * Mock, stub, and spy external code dependencies using Mockito * Practice Behavior-driven Development (BDD) with Mockito * Make legacy code testable by mocking and spying dependencies * Mock GWT and web service dependencies using Mockito * Discover argument captors, inline stubbing, and resetting mock objects IN DETAIL Whether you are new to JUnit testing and mocking or a seasoned Mockito expert, this book will provide you with the skills you need to successfully build and maintain meaningful JUnit test cases and effectively mock external dependencies. At the beginning, this book deals with dummy and fake objects and then moves on to exploring stubs followed by an example on spying. Then, it will show you how to make legacy code testable, mock external dependencies using Mockito, and write testable code for greenfield projects. You will also gain an insight on the concepts of Service-oriented Architecture (SOA) as well as understand how to unit test RESTful web services with Mockito. By sequentially working through the steps in each chapter, you will quickly learn the features of Mockito. Mockito Essentials will ensure your success with these concepts, tools, and frameworks. « less
2014
The recipes in this book are in a straightforward and easy to follow format.The range of topics covered in this book will bring out the forward-thinking Java developer in you. If you want to build AJAX web applications with GWT then this book is for you. Developers with prior programming experience of more » Java development and object-oriented programming will find this book very useful. « less
2010
Building Enterprise Google Web Toolkit Applications
Ajax is a web development technique that takes advantage of JavaScript to display and interact dynamically with information embedded into a web page. Its emergence has made it possible to create web applications that closely resemble their desktop–based brethren. With this exciting new ability came several more » challenges; not only did developers have to learn JavaScript, but they were also forced to use inefficient development processes, not to mention deal with cross–platform and browser difficulties. But with the release of Google Web Toolkit (GWT), Java developers are able to continue using their favorite language to write powerful Ajax applications while using not only the Java language, but also the very same development tools they’re already using on a daily basis! Serious Java developers wanting to write Ajax applications using GWT can expect a fast–paced, yet thorough, introduction to GWT from Java expert Vipul Gupta. You’ll gain key insights into the GWT framework’s capabilities and can rely on clear instruction that will show you how to incorporate GWT into your daily development routine in the most effective way. Accelerated GWT introduces you to the popular GWT framework in a way that will allow you to begin using GWT in short order. Forgoing superfluous introductions to JavaScript and Ajax, you’ll instead be immersed in GWT fundamentals from the very first chapter. Subsequent chapters discuss key GWT concepts such as architecture, widgets, and RPC. Understanding you’ll want to efficiently integrate GWT into your development workflow, the author also devotes time to sound GWT application design, testing, and internationalization issues. **** What you’ll learn **** * Use GWT’s Remote Procedure Call (RPC) capabilities to greatly enhance the user experience by optimizing application performance * Go beyond basic syntax fundamentals to learn how to most effectively design and test your GWT applications * Build complex interfaces by taking advantage of GWT’s advanced widget offerings **** Who this book is for **** Java–minded web developers seeking to incorporate Ajax capabilities into their web applications without sacrificing sound development principles. **** Table of Contents **** 1. GWT Basics and a First Application 2. GWT Architecture and Internal Features 3. UI Programming: Basic Widgets 4. Communication: RPC 5. UI Programming: Handling Events and Using AdvancedWidgets 6. Communication: Advanced Techniques 7. Testing GWT Applications 8. Internationalizing Your Applications: A Modern-Day Reality 9. Some Important, Not-to-Be-Missed Techniques 10. Peeking Into the Upcoming GWT 1.5 Release « less
2008
From Novice to Professional
The open source, lightweight Google Web Toolkit (GWT) is a framework that allows Java developers to build rich Internet applications (RIAs), more recently called Ajax applications, in Java. Typically, writing these applications requires a lot of JavaScript development. However, Java and JavaScript are more » very distinctively different languages (although the name suggests otherwise), therefore requiring a different development process. In Beginning Google Web Toolkit: From Novice to Professional, you’ll learn to build rich, user–friendly web applications using a popular Java–based Ajax web framework, the Google Web Toolkit. The authors will guide you through the complete development of a GWT front-end application with a no–nonsense, down–to–earth approach. You’ll start with the first steps of working with GWT and learn to understand the concepts and consequences of building this kind of application. During the course of the book, all the key aspects of GWT are tackled pragmatically, as you’re using them to build a real–world sample application. Unlike many other books, the inner workings of GWT and other unnecessary details are shelved, so you can focus on the stuff that really matters when developing GWT applications. **** What you’ll learn **** * Get a solid foundation to develop RIAs. * Understand the basics of the GWT Framework and its components. * Fit GWT into your application’s life cycle and development process. * Develop rich web front–end GUIs using widgets, composite widgets, panels, and much more. * Integrate with remote procedure call (RPC) and various other data formats. * Reinforce principles learned throughout the book by working through a real–world sample application created with GWT from scratch. **** Who this book is for **** Beginning Google Web Toolkit: From Novice to Professional is written for Java developers of all levels who want to start building rich Internet applications. The book assumes no prior knowledge of developing Ajax applications and/or working with JavaScript. « less
2008
If you're a web developer, you know that you can use Ajax to add rich, user-friendly, dynamic features to your applications. With the Google Web Toolkit (GWT), a new Ajax tool from Google that automatically converts Java to JavaScript, you can build Ajax applications using the Java language. GWT in more » Practice is an example-driven, code-rich book designed for web developers already familiar with the basics of GWT who now want hands-on experience. After a quick review of GWT fundamentals, GWT in Practice presents scores of handy, reusable solutions to the problems you face when you need to move beyond "Hello World" and "proof of concept" applications. This book skips the theory and looks at the way things really work when you're building. I also shows you where GWT fits into the Enterprise Java Developer's toolset. Written by expert authors Robert Cooper and Charlie Collins, this book combines sharp insight with hard-won experience. Readers will find thorough coverage of all aspects of GWT development from the basic GWT concepts to in depth real world example applications. The first part of the book is a rapid introduction to the GWT methodology The second part of the book then delves into several practical examples which further demonstrate core aspects of the toolkit The book concludes by presenting several larger GWT applications including drag and drop support for UI elements, data binding, processing streaming data, handling application state, automated builds, and continuous integration. Along the way GWT in Practice covers many additional facets of working with the toolkit. Various development tools are used throughout the book, including Eclipse, NetBeans, IDEA, Ant, Maven, and, of course, the old fashioned command line. The book also addresses integrating GWT with existing applications and services along with enterprise and team development. « less
2008
“Ryan clearly understands the GWT value proposition and how GWT integrates into a diverse web technology stack–and not just in a theoretical way. With the popularity of gpokr.com and kdice.com, Ryan can speak with the authority of concrete success.” –Bruce Johnson, creator of Google Web Toolkit “This more » book distinguishes itself from other books on GWT in that it walks through the entire process of building several nontrivial GWT applications, not the toy applications that most books present.” –R. Mark Volkmann, Object Computing, Inc. “Google™ Web Toolkit Applications is an excellent resource for any GWT developer. Solutions to challenges commonly encountered in GWT are presented through the design and development of actual applications. The applications developed throughout the text demonstrate best practices from simple UI design all the way to custom code generation, and are presented with little pretext about the amount of Java knowledge a given developer may have. Advanced concepts are not withheld but are presented in a way that will be understood by both novice and seasoned developers alike. Good application development practices and proper Model View Controller design is reinforced throughout the book, nearly guaranteeing that the reader will come away a better programmer. “ –Jason Essington, Senior Web/Java Engineer, Green River Computing “Dewsbury’s Google™ Web Toolkit Applications is a book for both experts and beginner programmers who want to discover this open source Java software development framework, as well as write Ajax applications. A very detailed book!” –Massimo Nardone, Advisory IT Security Architect Accelerate and Simplify Ajax Development with Google Web Toolkit Get the edge you need to deliver exceptional user experiences with Google™ Web Toolkit Applications, a guidebook that provides web developers with core information and instructions for creating rich web applications. Whether you’re a developer who needs to build a high-performance front end for Java, PHP, or Ruby applications, or to integrate with external web services, this resource from expert Google Web Toolkit (GWT) developer Ryan Dewsbury delivers the in-depth coverage you’ll need. In this valuable book, insider Ryan Dewsbury provides instructions for using the robust tool set and gets you on your way to creating first-class web applications by providing a comprehensive overview of GWT technology. In addition, he shares his “in-the-trenches” insights on * Building elegant and responsive user interfaces with Cascading Style Sheets and GWT’s Widgets and Panels * Creating seamless user experiences through asynchronous communication with HTTP, REST, JSON/JSONP, and RPC Interoperating with web standards–such as XML, RSS, and Atom–and web services–such as Google Maps, Amazon Books, Yahoo! Search, Flickr, and Blogger * Overcoming browser security restrictions, such as HTTP’s two-connection limit and the Same-Origin policy * Accelerating development, using software engineering, code generation, internationalization, application patterns, and Java tools * Deploying for optimal performance with resource compression and caching * Building five non-trivial applications: a gadget application with a rich drag-and-drop interface, a multi-search application that makes requests to many search engines, a blog editor application for managing entries across multiple blogs, a web-based instant messenger, and a database manager for a traditional web page This practical guide to GWT introduces you to the technology; provides techniques, tips, and examples; and puts you on the road to delivering top-notch user experiences for your web applications. « less
2007
A step-by-step to Google Web Toolkit for creating Ajax applications fast
Each chapter covers a series of practical tasks, showing how to achieve a particular useful result and then learn how it works so that you can apply your knowledge to your own unique situation. Readers will need experience writing non-trivial applications using Java. Experience with developing web interfaces more » is useful, but knowledge of JavaScript and DHTML is not required GWT takes care of that! « less
2007
More Cool & Useful Stuff
Google Web Toolkit (GWT) is an open source Java development framework for building Ajax-enabled web applications. Instead of the hodgepodge of technologies that developers typically use for Ajax–JavaScript, HTML, CSS, and XMLHttpRequest–GWT lets developers implement rich client applications with pure more » Java, using familiar idioms from the AWT, Swing, and SWT. GWT goes beyond most Ajax frameworks by making it easy to build desktop-like applications that run in the ubiquitous browser, where the richness of the user interface is limited only by the developer’s imagination.   This book focuses on the more advanced aspects of GWT that you need to implement real-world applications with rich user interfaces but without the heavy lifting of JavaScript and other Ajax-related technologies. Each solution in this practical, hands-on book is more than a recipe. The sample programs are carefully explained in detail to help you quickly master advanced GWT techniques, such as implementing drag-and-drop, integrating JavaScript libraries, and using advanced event handling methodologies.   Solutions covered include •   Building custom GWT widgets, including both high-level composites and low-level components •   Implementing a viewport class that includes iPhone-style automated scrolling •   Integrating web services with GWT applications •   Incorporating the Script.aculo.us JavaScript framework into GWT applications •   Combining Hibernate and GWT to implement database-backed web applications •   Extending the GWT PopupPanel class to implement a draggable and resizable window •   Creating a drag-and-drop module, complete with drag sources and drop targets •   Deploying GWT applications to an external server •   Dynamically resizing flex tables •   Using GWT widgets in legacy applications developed with other frameworks, such as Struts and JavaServer Faces   Complete Sample Code Available at www.coolandusefulgwt.com   All of the code used in this book has been tested, both in hosted and web modes, and in an external version of Tomcat (version 5.5.17), under Windows, Linux, and Mac OS X. For Windows and Linux, we used 1.4.60, and for the Mac we used 1.4.61.  NOTE: There are three separate versions of the code. Please download the correct JAR file for the operating system you are using. Foreword xiii Preface xvi Acknowledgments xviii About the Authors xix   Solution 1: GWT Fundamentals and Beyond 1 Solution 2: JavaScript Integration 53 Solution 3: Custom Widget Implementation 71 Solution 4: Viewports and Maps 103 Solution 5: Access to Online Web Services 133 Solution 6: Drag and Drop 167 Solution 7: Simple Windows 199 Solution 8: Flex Tables 237 Solution 9: File Uploads 283 Solution 10: Hibernate Integration 303 Solution 11: Deployment to an External Server 325 Solution 12: GWT and Legacy Code 343 Index 371 « less
2007