Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.
Maven is based around the central concept of a build lifecycle. There are three built-in build lifecycles:
defaultlifecycle handles your project deployment
cleanlifecycle handles project cleaning
sitelifecycle handles the creation of your project’s site documentation.
Project Object Model or
POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details used by Maven to build the project. It contains default values for most projects. For example, the source directory, which is
src/main/java; the test source directory, which is
src/test/java; and so on.
POM also contains the goals and plugins. While executing a task or goal, Maven looks for the POM in the current directory. It reads the POM, gets the needed configuration information, then executes the goal.
Maven is build automation tool mainly for Java Programmer, by addressing two aspects of building software: 1. how software is built and 2. how dependencies are managed. It provides easy way to build project, a way to share Jars and include project dependency.
Maven’s objectives are:
- Making easy build process - Builds
- Providing Uniform build system - Release/Distribution
- Guidelines for best practices development
Maven is based on Plain Object Model(POM) which provides all the configuration for single project. The
pom.xml file provides all details for how software can be built.
A compiler is a computer program (or a set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language), with the latter often having a binary form known as object code. The most common reason for converting a source code is to create an executable program.
In this tutorial, we will show how to display an Android project’s dependencies via gradle. Let’s use the RetrofitDemo project as an example.
In computer science, the Happened-before relation is a relation between the result of two events, such that if one event should happen before another event, the result must reflect that, even if those events are in reality executed out of order. —-Wikipedia
TCP/IP (Transmission Control Protocol/Internet Protocol) is the basic communication language or protocol of the Internet. It can also be used as a communications protocol in a private network (either an intranet or an extranet).
When designing the Android layout file, we sometimes might need to re-use larger components that require a special layout. To efficiently achieve this, we can use the
<include/> tag to embed another layout inside the current layout.