Master the New Build System for Android
Android adopted Gradle as the preferred build automation system a few years ago, but many Android developers are still unfamiliar with this open source tool. This hands-on guide provides a collection of Gradle recipes to help you quickly and easily accomplish the most common build tasks for your Android more » apps. You’ll learn how to customize project layouts, add dependencies, and generate many different versions of your app.
Gradle is based on Groovy, yet very little knowledge of the JVM language is required for you to get started. Code examples use Android SDK version 23, with emulators from Marshmallow (Android 6) or Lollipop (Android 5). If you’re comfortable with Java and Android, you’re ready.
* Understand Gradle’s generated build files for Android apps
* Run Gradle from the command line or inside Android Studio
* Add more Java libraries to your Android app
* Import and export Eclipse ADT projects
* Digitally sign a Release APK for the Google Play store
* Use product flavors to build many versions of the same app
* Add custom tasks to the Gradle build process
* Test both your app’s Android and non-Android components
* Improve the performance of your Gradle build « less
Learn how to implement a DSL with Xtext and Xtend using easy-to-understand examples and best practices
ABOUT THIS BOOK
* Leverage the latest features of Xtext and Xtend to develop a domain-specific language.
* Integrate Xtext with popular third party IDEs and get the best out of both worlds.
* Discover how to test a DSL implementation and how to customize runtime and IDE aspects of the DSL
WHO more » THIS BOOK IS FOR
This book is targeted at programmers and developers who want to create a domain-specific language with Xtext. They should have a basic familiarity with Eclipse and its functionality. Previous experience with compiler implementation can be helpful but is not necessary since this book will explain all the development stages of a DSL.
WHAT YOU WILL LEARN
* Write Xtext grammar for a DSL;
* Use Xtend as an alternative to Java to write cleaner, easier-to-read, and more maintainable code;
* Build your Xtext DSLs easily with Maven/Tycho and Gradle;
* Write a code generator and an interpreter for a DSL;
* Explore the Xtext scoping mechanism for symbol resolution;
* Test most aspects of the DSL implementation with JUnit;
* Understand best practices in DSL implementations with Xtext and Xtend;
* Develop your Xtext DSLs using Continuous Integration mechanisms;
* Use an Xtext editor in a web application
Xtext is an open source Eclipse framework for implementing domain-specific languages together with IDE functionalities. It lets you implement languages really quickly; most of all, it covers all aspects of a complete language infrastructure, including the parser, code generator, interpreter, and more.
This book will enable you to implement Domain Specific Languages (DSL) efficiently, together with their IDE tooling, with Xtext and Xtend. Opening with brief coverage of Xtext features involved in DSL implementation, including integration in an IDE, the book will then introduce you to Xtend as this language will be used in all the examples throughout the book. You will then explore the typical programming development workflow with Xtext when we modify the grammar of the DSL.
Further, the Xtend programming language (a fully-featured Java-like language tightly integrated with Java) will be introduced. We then explain the main concepts of Xtext, such as validation, code generation, and customizations of runtime and UI aspects. You will have learned how to test a DSL implemented in Xtext with JUnit and will progress to advanced concepts such as type checking and scoping. You will then integrate the typical Continuous Integration systems built in to Xtext DSLs and familiarize yourself with Xbase. By the end of the book, you will manually maintain the EMF model for an Xtext DSL and will see how an Xtext DSL can also be used in IntelliJ.
STYLE AND APPROACH
A step-by step-tutorial with illustrative examples that will let you master using Xtext and implementing DSLs with its custom language, Xtend. « less
Your one-stop guide to developing Java® EE applications with the Eclipse IDE, Maven, and WildFly® 8.1
This book starts with an introduction to EJB 3 and how to set up the environment, including the configuration of a MySQL database for use with WildFly. We will then develop object-relational mapping with Hibernate 4, build and package the application with Maven, and then deploy it in WildFly 8.1, followed more » by a demonstration of the use of Facelets in a web application.
Moving on from that, we will create an Ajax application in the Eclipse IDE, compile and package it using Maven, and run the web application on WildFly 8.1 with a MySQL database. In the final leg of this book, we will discuss support for generating and parsing JSON with WildFly 8.1.
***** Who This Book Is For *****
This book is for professional WildFly developers. If you are already using JBoss or WildFly but don't use the Eclipse IDE and Maven for development, this book will show you how the Eclipse IDE and Maven facilitate the development of Java EE applications with WildFly 8.1. This book does not provide a beginner-level introduction to Java EE as it is written as an intermediate/advanced course in Java EE development with WildFly 8.1. « less
A fast-paced guide that helps you create a continuous delivery solution by integrating Maven with an Eclipse environment
ABOUT THIS BOOK
* Use m2eclipse, the Maven plugin for Eclipse, to develop Maven projects
* Customize Maven to suit your needs, generate artifacts, and build multi-module projects
* Simplify Maven and utilize it with a hands-on, step-by-step approach
WHO THIS BOOK IS FOR
If you want to learn about more » Maven and use it from within Eclipse to develop Java projects, this is the book for you. Prior experience in developing Java projects and using the Eclipse IDE is presumed. Whether you are a beginner or an experienced developer, this book will get you up and running quickly, with a hands-on approach.
WHAT YOU WILL LEARN
* Install Maven and m2eclipse
* Get to grips with the Maven architecture and the core concepts of Maven
* Understand the Maven project structure and build lifecycle
* Create Maven projects with and without archetypes
* Unit tests and generate reports in different formats
* Customize Maven to fit your needs by adding various dependencies and resources
* Make, build, and execute multimodule projects
* Explore the m2eclipse plugin and how it can be customized
Starting with an exploration of the Maven architecture and its installation, you will then learn how to install m2eclipse, which provides Maven integration with Eclipse. Furthermore, the book guides you through the stages of project creation, including building, testing, and executing the projects.
You will learn to customize your projects by demonstrating different core concepts of the Maven project structure. Nevertheless, you will also become familiar with the build lifecycles that generate the required artifacts. Moreover, it will also guide you through the process of handling multimodule projects and working with them effectively.
By the end of this book, you will have a good understanding of m2eclipse and will be able to use it efficiently with ease. « less
How to develop, build, test, package, and release Eclipse plug-ins with features for Eclipse 3.x and Eclipse 4.x
As a highly extensible platform, Eclipse is used by everyone from independent software developers to NASA. Key to this is Eclipse's plug-in ecosystem, which allows applications to be developed in a modular architecture and extended through its use of plug-ins and features.
Eclipse 4 Plug-in Development more » by Example Beginner's Guide takes the reader through the full journey of plug-in development, starting with an introduction to Eclipse plug-ins, continued through packaging and culminating in automated testing and deployment. The example code provides simple snippets which can be developed and extended to get you going quickly. « less
Over 10 practical recipes for creating rich client applications using Eclipse 4
Standalone desktop applications are important in this era of web and mobile applications. Eclipse provides a rich set of APIs and tools, not just to create IDEs but also to create cross-platform standalone applications. Eclipse 4 has introduced many new concepts and APIs that make creating rich client more » application a lot easier.
Instant Eclipse 4 RCP Development How-to is a practical and hands-on guide to developing standalone applications. It also describes concepts and APIs used to perform specific tasks. The tasks identified in this book are most commonly performed in developing standalone applications of various levels of complexity.
Instant Eclipse 4 RCP Development How-to takes the approach of learning new features of Eclipse 4 by breaking them into specific tasks and progressively building a sample application using new features.
The book covers end-to-end workflow from setting up the development environment, creating the user interface, event handling, and displaying and saving data, to customizing and packaging the application. It provides code snippets for each task and explains the Eclipse 4 APIs and concepts used in them.The code will be easy to follow, making up part of the process of creating the entire sample application.
What you will learn from this book
* Add custom menus, toolbar items, and keyboard shortcuts using an application model
* Create static and dynamic views
* Generate a dynamic pop-up menu
* Use core expressions to show/hide menu items
* Use Dependency Injection and annotations to access Eclipse 4 framework objects and services
* Create custom events and handlers for notifications and to share data in the application
* Style applications using CSS
* Customize and export the application to different target platforms
Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks.A concise guide that delivers immediate results with practical recipes on learning practical hints and avoiding pitfalls in Eclipse 4 development.
Who this book is written for
You will find this book useful if you are looking to create cross-platform rich client applications. Eclipse platform is built with Java, so basic knowledge of Java is essential. The focus of this book is to understand the new APIs and concepts of the Eclipse 4 platform. Prior knowledge of basic concepts of the Eclipse framework (plugin, extension, perspective, workspace, and so on), SWT (Standard Widget Toolkit), and JFace would be beneficial in understanding the examples in this book quicker. « less
The fun and friendly guide to creating applications on the Android platform The popularity of the Android market is soaring with no sign of slowing down. The open nature of the Android OS offers programmers the freedom to access the platform's capabilities and this straightforward guide walks you through more » the steps for creating amazing Android applications. Android programming expert Donn Felker explains how to download the SDK, get Eclipse up and running, code Android applications, and submit your finished products to the Android Market. Featuring two sample programs, this introductory book explores everything from the simple basics to more advanced aspects of the Android platform.
* Takes you soup through nuts of developing applications for the Android platform
* Begins with downloading the SDK, then explains how to code Android applications and submit projects to the Android Market
* Written by Android guru Donn Felker, who breaks every aspect of developing applications for the Android platform into easily digestible pieces
No matter your level of programming experience, Android Application Development For Dummies is an ideal guide for getting started with developing applications for the Android platform. « less
Eclipse and the Rich Client Platform (RCP) together form a leading development platform. It provides a lightweight software component framework based on plug–ins. In addition to allowing Eclipse to be extended using other programming languages, it provides the key to the seamless integration of tools more » with Eclipse.
The RCP gives Eclipse its modularity: Eclipse employs plug–ins in order to provide all of its functionality on top of (and including) the RCP, in contrast to some other applications where functionality is typically hard–coded. RCP apps are platform independent: they can be built for all major operating systems such as Windows, Linux, and Mac from a single code base. And the RCP provides a professional look and feel for applications.
Practical Eclipse Rich Client Platform Projects is a clear and technical guide for Eclipse developers to help them enhance their knowledge and achieve their goals quickly.
* The book explains the technical concepts easily and in an engaging way.
* The text provides plenty of source code and images as learning aids.
* Several practical projects and case studies are included. « less
Master the Android mobile development platform
Build compelling Java-based mobile applications using the Android SDK and the Eclipse open-source software development platform. Android: A Programmer's Guide shows you, step-by-step, how to download and set up all of the necessary tools, build and tune more » dynamic Android programs, and debug your results. Discover how to provide web and chat functions, interact with the phone dialer and GPS devices, and access the latest Google services. You'll also learn how to create custom Content Providers and database-enable your applications using SQLite.
* Install and configure Java, Eclipse, and Android plugin
* Create Android projects from the Eclipse UI or command line
* Integrate web content, images, galleries, and sounds
* Deploy menus, progress bars, and auto-complete functions
* Trigger actions using Android Intents, Filters, and Receivers
* Implement GPS, Google Maps, Google Earth, and GTalk
* Build interactive SQLite databases, calendars, and notepads
* Test applications using the Android Emulator and Debug Bridge « less
Step-by-step guide that introduces novices to using all major features of Eclipse 3 Eclipse is an open source extensible integrated development environment (IDE) that helps Java programmers build best-of-breed integrated tools covering the whole software lifecycle-from conceptual modeling to deployment more » Eclipse is fast becoming the development platform of choice for the Java community
Packed with code-rich, real-world examples that show programmers how to speed up the development of applications by reusing and extending existing Eclipse components Describes SWT and JFace (Eclipse's alternative to the Java AWT and Swing) and demonstrates them in practice in a JavaLayer based MP3 player Shows how Eclipse can be used as a tool platform and application framework « less