{"__v":1,"_id":"57e2e66acda3750e0054a8c9","api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"body":"Eclipse Che provides:\n\n* Workspaces that include runtimes and IDEs\n* RESTful workspace server\n* A browser-based IDE\n* Plug-ins for languages, framework, and tools\n* An SDK for creating plug-ins and assemblies\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Getting Started\"\n}\n[/block]\nYou can get started with Che by:\n- [Installing it locally](doc:che-getting-started) \n- [Creating a hosted SaaS account](doc:getting-started-saas-cloud) \n- [Installing it in a cloud instance you control](doc:usage-bitnami) \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Workspace Model\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/aaqJI51xQtanQW4gbXhN_Docker%20--%20Codenvy%20Meeting.png\",\n        \"Docker -- Codenvy Meeting.png\",\n        \"960\",\n        \"540\",\n        \"#2c2c4c\",\n        \"\"\n      ],\n      \"sizing\": \"smart\"\n    }\n  ]\n}\n[/block]\nChe defines the workspace to be the project code files and all of their dependencies necessary to edit, build, run, and debug them. In our world, we treat the IDE and the development runtime as a dependency of the workspace. These items are embedded and included with the workspace, whereever it may run. This compares to classic workspace definitions which may include the project code, but require the developer to bind their IDE and use their laptop localhost to provide a runtime.\n\nEach workspace is isolated from one another and is responsible for managing the lifecycle of the components that are contained within it.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/fb7LsRaRRpK2m8bKEjMz_Docker%20--%20Codenvy%20Meeting%20(1).png\",\n        \"Docker -- Codenvy Meeting (1).png\",\n        \"960\",\n        \"540\",\n        \"#068cb9\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nA workspace contains one or more runtimes. The default runtime within our workspaces are Docker containers, but these runtimes can be replaced with other types of \"machines\" that offer different characteristics. We, for example, provide an SSH machine type and will soon provide localhost machines. The advantage of Docker as the runtime type allows users to define the contents of their runtime using Dockerfiles, for which we can then dynamically construct workspace runtimes without the user having to learn a lot of complex Docker syntax.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/dHeS9QR9Q32HbFn0g7g7_Docker%20--%20Codenvy%20Meeting%20(2).png\",\n        \"Docker -- Codenvy Meeting (2).png\",\n        \"960\",\n        \"540\",\n        \"#7ab76e\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nA workspace can have 0..n projects, with each project mapping to 0..1 remote version control repositories such as git, subversion, or mercurial. Projects are mounted into the workspace, so that they are available both inside of the workspace and also available on long term storage. Each project has a \"type\", such as \"maven\", which when selected will activate a series of plugins that alter the behavior of the workspace to accommodate that project type. Projects can have different types and they can also have modules which are sub-portions of a project that have their own typing and behaviors.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/iLSMQuzSLqmhoufele84_Docker%20--%20Codenvy%20Meeting%20(3).png\",\n        \"Docker -- Codenvy Meeting (3).png\",\n        \"960\",\n        \"540\",\n        \"#7ab76e\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nEach workspace has its own private browser IDE hosted within it. The browser IDE provided by Che is packaged as JavaScript and CSS, but our IDE could be replaced with other IDEs. Since each workspace has its own server runtimes, each workspace can have a customized IDE with different plugins packaged within it.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/BR6LbugPT2CjvT5vy26L_Docker%20--%20Codenvy%20Meeting%20(4).png\",\n        \"Docker -- Codenvy Meeting (4).png\",\n        \"960\",\n        \"540\",\n        \"#79b76e\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nBy default, each workspace also configures its own SSH server.  This allows remote clients and desktop IDEs to SSH mount into the workspace. By SSH mounting, you can let IDEs like IntelliJ or Eclipse work with the projects and runtimes contained within Che.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/KJiS6afARMuIKsLIWlO7_Docker%20--%20Codenvy%20Meeting%20(5).png\",\n        \"Docker -- Codenvy Meeting (5).png\",\n        \"960\",\n        \"540\",\n        \"#72b37d\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nWorkspaces are hosted in the Che server, which is a lightweight runtime for managing workspaces. A single Che server can manage large volumes of workspaces, which themselves may or may not be running on the same host. Since Che workspace runtimes have their own runtimes, each workspace can be running on the same host or another host, managed by a docker daemon.  The Che server is also a Docker container by default, which itself could be operated by compose or Swarm.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/Krfmrv9xT5uxejt7dsVp_Docker%20--%20Codenvy%20Meeting%20(6).png\",\n        \"Docker -- Codenvy Meeting (6).png\",\n        \"960\",\n        \"540\",\n        \"#79b76c\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nSince the workspaces are servers that have their own runtimes, they are collaborative and shareable. This allows multiple users to access the same workspace at the same time. Each workspace has its own unique URL which allows multi-user access.  We currently support multiple users within a single workspace on a last-write-wins policy. Before the end of 2016, we'll have multi-cursor editing using an operational transform.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/6LbFq9ZiRuWzUHNqtwvz_Docker%20--%20Codenvy%20Meeting%20(7).png\",\n        \"Docker -- Codenvy Meeting (7).png\",\n        \"960\",\n        \"540\",\n        \"#76b473\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nEach workspace is defined with a JSON data model that contains the definition of its projects, its runtimes, its IDE, and other necessary information that allows a Che server to create replicas. This allows workspaces to move from one location to another, such as from one Che server to another Che server.  You will never have the \"but it runs on that computer\" issue again.  Workspaces can also have their internal state snapshot and saved in a registry, so replicas can be created from the original template, or from images that contain modifications made after a user started working with the workspace.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/chOQqa2Rme6VEZ4GN52g_Docker%20--%20Codenvy%20Meeting%20(8).png\",\n        \"Docker -- Codenvy Meeting (8).png\",\n        \"960\",\n        \"540\",\n        \"#75b372\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nBoth the Che server and each workspace have their own embedded RESTful APIs. Everything that is done by the user dashboard Web application and the browser IDE is done over RESTful APIs. You can access these APIs using swagger as Swagger configurations are provided within each service. The API set within the server and each workspace dynamically changes based upon the plugins that have been deployed by the admin or the user.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Users\"\n}\n[/block]\nChe has three types of users:\n  * **Developers**. Che can be installed and used as a local IDE for any kind of programming language or framework, such as Java and JavaScript. While Che runs as a server, it can be run on a desktop, server, or within an embedded device. You can use Che with our embedded browser IDE or your existing IDE which is allowed to SSH into the Che workspaces.  \n\n  * **Product Owners**. Che provides APIs hosted within its workspace server to manage environments, workspaces, projects, templates, stacks, and intellisense for developer activities such as editing, syntax analysis, compiling, packaging, and debugging. You can use Che to host on-demand workspaces accessed by the Che IDE or a client that your product team authors. For example, SAP uses the Che workspace server to embed its development tools for SAP Hana.\n\n  * **Plug-in Providers**. Che provides a SDK to create and package plug-ins that modify the browser IDE, workspaces, or the Che server. ISVs and tool providers can add new project types, programming languages, tooling extensions, or applications. Che plug-ins can be authored for the client-side IDE or the server-side.  \n\nChe is supported by engineers from Bitnami, Codenvy, SAP, IBM, Serli, Red Hat, Tomitribe,and WSO2.  [Codenvy](http://codenvy.com) provides a multi-tenant, multi-user infrastructure for Che with enhanced security and deployable on any public or private cloud. \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Logical Architecture\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/L1H81xsQji1Tq1G6VifQ_Capture.PNG\",\n        \"Capture.PNG\",\n        \"2179\",\n        \"1092\",\n        \"#1c345c\",\n        \"\"\n      ],\n      \"caption\": \"Overview of Eclipse Che architecture.\"\n    }\n  ]\n}\n[/block]\nChe is a workspace server that runs on top of an application server like Tomcat. When the Che server is launched, the IDE is loaded as a Web application accessible via a browser at `http://localhost:8080/`. The browser downloads the IDE as a single page web app from the Che server.  The Web application provides UI components such as wizards, panels, editors, menus, toolbars, and dialog boxes.\n\nAs a user interacts with the Web application, they will create workspaces, projects, environments, machines, and other artifacts necessary to code and debug a project. The IDE communicates with Che over RESTful APIs that manage and interact with a Workspace Master. \n\nThe Che server controls the lifecycle of workspaces. Workspaces are isolated spaces where developers can work. Che injects various services into each workspace, including the projects, source code, Che plug-ins, SSH daemon, and language services such as JDT core Intellisense to provide refactoring for Java language projects. The workspace also contains a synchronizer which, depending upon whether the workspace is running locally or remotely, is responsible for synchronizing project files from within the machine with Che long term storage.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/meY4wKw0TrmqRauyWZi8_Capture2.PNG\",\n        \"Capture2.PNG\",\n        \"2188\",\n        \"1099\",\n        \"#1c345b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nChe defines the notion of a workspace as the combination of projects, environments, and commands.  A project is the fundamental unit of code available as a set of folders, files, and modules. A project may be mapped 1:1 to an external git or subversion repository from which it is cloned. A workspace may have zero or more projects. Projects have a project type which, depending upon the type selected, causes Che to enable the workspace with different behaviors. For example, a maven project type causes Che to install the maven and Java plug-ins into the workspace.\n\nA machine is a runtime unit that provides a stack of software and a set of resources to run the projects of the workspace. The machine is bound to to the workspace and to the projects. Che synchronizes the project files within the machine. A machine is defined by a recipe that contains the list of software that should be executing within the machine. The default machine implementation in Che is Docker and we use Dockerfiles to define the recipes for different types of runtimes. We also have a concept called, \"stacks\" which are pre-defined recipes with additional meta-information. Che provides default recipes and stacks, but users can define their own.  The machine's lifecycle is managed by each Che workspace. As the workspace is booted, so is its underlying runtimes.  Additionally, Che can install additional software into the machine to enable developer services such as Intellisense.  For example, if the Java plug-in is activated because of the project type, Che installs an agent inside of the machine that runs JDT services that are then accessible by the projects synchronized onto the machine.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Extensibility\"\n}\n[/block]\nChe provides an SDK for authoring new extensions, packaging extensions into plug-ins, and grouping plug-ins into an assembly. An assembly can either be executed stand alone as a new server, or, it can be installed onto desktops as an application using included installers.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/soVhX9MmRR6SsGi78WsI_Extensibility.PNG\",\n        \"Extensibility.PNG\",\n        \"1177\",\n        \"480\",\n        \"#243c6b\",\n        \"\"\n      ],\n      \"caption\": \"Eclipse Che extensibility - how extensions become plugins become assemblies.\"\n    }\n  ]\n}\n[/block]\nThere are a number of aspects that can be modified within Che.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Type\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"IDE Extension\",\n    \"0-1\": \"Modify the look-and-feel, panels, editors, wizards, menus, toolbars, and pop-up boxes of the client. IDE extensions are authored in Java and transpiled into a JavaScript Web application that is hosted on the Che server as a WAR file.\",\n    \"1-0\": \"Che Server Extension\\n(aka, Worskspace Master)\",\n    \"1-1\": \"Add or modify the core APIs that run within the Che server for managing workspaces, environments and machines. Workspace extensions are authored in Java and packaged as JAR files.\",\n    \"2-0\": \"Workspace Extension\\n(aka, Workspace Agent)\",\n    \"2-1\": \"Create or modify project-specific extensions that run within a workspace machine and have local access to project files. Define machine behaviors, code templates, command instructions, scaffolding commands, and intellisense. The Che Java extension is authored as a workspace agent extension, deployed into the machine, and runs JDT core services from Eclipse to do local intellisense operations against the remote workspace.\"\n  },\n  \"cols\": 2,\n  \"rows\": 3\n}\n[/block]\nEach extension type is packaged separately because they are deployed differently into the assembly. IDE extensions are transpiled using GWT to generate a cross-browser JavaScript. This application is packaged as a WAR file and hosted on the Che server. \n\nWorkspace master extensions are deployed as services within the Che server. Once deployed, they activate new management services that can control users, identity and workspaces.\n\nWorkspace agent extensions are compiled with Che core libraries and also deployed within an embedded Che server that runs inside of each workspace machine. The Che server is injected into machines created and controlled by the central workspace master Che server. This embedded server hosts your workspace agent extensions and provides a communication bridge between the services hosted within Che and the machines that are hosting the project. \n  \n**About Machines**. When you develop with a desktop IDE, the workspace uses localhost as the execution environment for processes like build, run and debug. In a cloud IDE, localhost is not available, so the workspace server must generate the environments that it needs. These environments must be isolated from one another and scalable. We use Docker to generate containers that contain the software needed for each environment. Each workspace is given at least one environment, but users may create additional environments for each workspace if they want. Each container can have different software installed. Che installs different software into the machine based upon the project type. For example, a Java project will have the JDK, Git, and Maven installed.  When a user is working within their Workspace, this container is booted by Che and the source code of the project is mounted within it. Developer actions like auto-complete and `mvn clean install` are processes that are executed within the container. Users can provide their own Dockerfiles that Che will build into images and extension developers can register Dockerfile templates associated with a project type.  This allows Che to manage a potentially infinite number of environments while still giving users customization flexibility.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"What's Included\"\n}\n[/block]\nChe ships with a large number of plug-ins for many programming languages, build systems, source code tools, and infrastructure including Java, Maven, Ant, Git, Subversion, JavaScript, and Angular.JS. The community is developing their own and many are merged into the main Che repository. Che can be installed on any operating system that supports Docker 1.8+ or Java 1.8 – desktop, server or cloud and has been tested on Linux, MacOS and Windows. It is licensed as EPL 1.0.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Getting Started\"\n}\n[/block]\nWe provide a [step-by-step guide](http://eclipse.org/che/getting-started/) for getting Che running on your desktop or server.","category":"57e2e66acda3750e0054a8bf","createdAt":"2015-07-20T15:16:18.704Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":0,"parentDoc":null,"project":"55ad025ffb7b3c1900373a45","slug":"introduction","sync_unique":"","title":"Introduction","type":"basic","updates":["56129f4a09bdc51700697013","5612d2569db7210d00a51462","57d037949a375c2200ac8583","5836217f16e9380f00238047"],"user":"55ad021318eefd0d0071d642","version":"57e2e66acda3750e0054a8be","childrenPages":[]}
Eclipse Che provides: * Workspaces that include runtimes and IDEs * RESTful workspace server * A browser-based IDE * Plug-ins for languages, framework, and tools * An SDK for creating plug-ins and assemblies [block:api-header] { "type": "basic", "title": "Getting Started" } [/block] You can get started with Che by: - [Installing it locally](doc:che-getting-started) - [Creating a hosted SaaS account](doc:getting-started-saas-cloud) - [Installing it in a cloud instance you control](doc:usage-bitnami) [block:api-header] { "type": "basic", "title": "Workspace Model" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/aaqJI51xQtanQW4gbXhN_Docker%20--%20Codenvy%20Meeting.png", "Docker -- Codenvy Meeting.png", "960", "540", "#2c2c4c", "" ], "sizing": "smart" } ] } [/block] Che defines the workspace to be the project code files and all of their dependencies necessary to edit, build, run, and debug them. In our world, we treat the IDE and the development runtime as a dependency of the workspace. These items are embedded and included with the workspace, whereever it may run. This compares to classic workspace definitions which may include the project code, but require the developer to bind their IDE and use their laptop localhost to provide a runtime. Each workspace is isolated from one another and is responsible for managing the lifecycle of the components that are contained within it. [block:image] { "images": [ { "image": [ "https://files.readme.io/fb7LsRaRRpK2m8bKEjMz_Docker%20--%20Codenvy%20Meeting%20(1).png", "Docker -- Codenvy Meeting (1).png", "960", "540", "#068cb9", "" ] } ] } [/block] A workspace contains one or more runtimes. The default runtime within our workspaces are Docker containers, but these runtimes can be replaced with other types of "machines" that offer different characteristics. We, for example, provide an SSH machine type and will soon provide localhost machines. The advantage of Docker as the runtime type allows users to define the contents of their runtime using Dockerfiles, for which we can then dynamically construct workspace runtimes without the user having to learn a lot of complex Docker syntax. [block:image] { "images": [ { "image": [ "https://files.readme.io/dHeS9QR9Q32HbFn0g7g7_Docker%20--%20Codenvy%20Meeting%20(2).png", "Docker -- Codenvy Meeting (2).png", "960", "540", "#7ab76e", "" ] } ] } [/block] A workspace can have 0..n projects, with each project mapping to 0..1 remote version control repositories such as git, subversion, or mercurial. Projects are mounted into the workspace, so that they are available both inside of the workspace and also available on long term storage. Each project has a "type", such as "maven", which when selected will activate a series of plugins that alter the behavior of the workspace to accommodate that project type. Projects can have different types and they can also have modules which are sub-portions of a project that have their own typing and behaviors. [block:image] { "images": [ { "image": [ "https://files.readme.io/iLSMQuzSLqmhoufele84_Docker%20--%20Codenvy%20Meeting%20(3).png", "Docker -- Codenvy Meeting (3).png", "960", "540", "#7ab76e", "" ] } ] } [/block] Each workspace has its own private browser IDE hosted within it. The browser IDE provided by Che is packaged as JavaScript and CSS, but our IDE could be replaced with other IDEs. Since each workspace has its own server runtimes, each workspace can have a customized IDE with different plugins packaged within it. [block:image] { "images": [ { "image": [ "https://files.readme.io/BR6LbugPT2CjvT5vy26L_Docker%20--%20Codenvy%20Meeting%20(4).png", "Docker -- Codenvy Meeting (4).png", "960", "540", "#79b76e", "" ] } ] } [/block] By default, each workspace also configures its own SSH server. This allows remote clients and desktop IDEs to SSH mount into the workspace. By SSH mounting, you can let IDEs like IntelliJ or Eclipse work with the projects and runtimes contained within Che. [block:image] { "images": [ { "image": [ "https://files.readme.io/KJiS6afARMuIKsLIWlO7_Docker%20--%20Codenvy%20Meeting%20(5).png", "Docker -- Codenvy Meeting (5).png", "960", "540", "#72b37d", "" ] } ] } [/block] Workspaces are hosted in the Che server, which is a lightweight runtime for managing workspaces. A single Che server can manage large volumes of workspaces, which themselves may or may not be running on the same host. Since Che workspace runtimes have their own runtimes, each workspace can be running on the same host or another host, managed by a docker daemon. The Che server is also a Docker container by default, which itself could be operated by compose or Swarm. [block:image] { "images": [ { "image": [ "https://files.readme.io/Krfmrv9xT5uxejt7dsVp_Docker%20--%20Codenvy%20Meeting%20(6).png", "Docker -- Codenvy Meeting (6).png", "960", "540", "#79b76c", "" ] } ] } [/block] Since the workspaces are servers that have their own runtimes, they are collaborative and shareable. This allows multiple users to access the same workspace at the same time. Each workspace has its own unique URL which allows multi-user access. We currently support multiple users within a single workspace on a last-write-wins policy. Before the end of 2016, we'll have multi-cursor editing using an operational transform. [block:image] { "images": [ { "image": [ "https://files.readme.io/6LbFq9ZiRuWzUHNqtwvz_Docker%20--%20Codenvy%20Meeting%20(7).png", "Docker -- Codenvy Meeting (7).png", "960", "540", "#76b473", "" ] } ] } [/block] Each workspace is defined with a JSON data model that contains the definition of its projects, its runtimes, its IDE, and other necessary information that allows a Che server to create replicas. This allows workspaces to move from one location to another, such as from one Che server to another Che server. You will never have the "but it runs on that computer" issue again. Workspaces can also have their internal state snapshot and saved in a registry, so replicas can be created from the original template, or from images that contain modifications made after a user started working with the workspace. [block:image] { "images": [ { "image": [ "https://files.readme.io/chOQqa2Rme6VEZ4GN52g_Docker%20--%20Codenvy%20Meeting%20(8).png", "Docker -- Codenvy Meeting (8).png", "960", "540", "#75b372", "" ] } ] } [/block] Both the Che server and each workspace have their own embedded RESTful APIs. Everything that is done by the user dashboard Web application and the browser IDE is done over RESTful APIs. You can access these APIs using swagger as Swagger configurations are provided within each service. The API set within the server and each workspace dynamically changes based upon the plugins that have been deployed by the admin or the user. [block:api-header] { "type": "basic", "title": "Users" } [/block] Che has three types of users: * **Developers**. Che can be installed and used as a local IDE for any kind of programming language or framework, such as Java and JavaScript. While Che runs as a server, it can be run on a desktop, server, or within an embedded device. You can use Che with our embedded browser IDE or your existing IDE which is allowed to SSH into the Che workspaces. * **Product Owners**. Che provides APIs hosted within its workspace server to manage environments, workspaces, projects, templates, stacks, and intellisense for developer activities such as editing, syntax analysis, compiling, packaging, and debugging. You can use Che to host on-demand workspaces accessed by the Che IDE or a client that your product team authors. For example, SAP uses the Che workspace server to embed its development tools for SAP Hana. * **Plug-in Providers**. Che provides a SDK to create and package plug-ins that modify the browser IDE, workspaces, or the Che server. ISVs and tool providers can add new project types, programming languages, tooling extensions, or applications. Che plug-ins can be authored for the client-side IDE or the server-side. Che is supported by engineers from Bitnami, Codenvy, SAP, IBM, Serli, Red Hat, Tomitribe,and WSO2. [Codenvy](http://codenvy.com) provides a multi-tenant, multi-user infrastructure for Che with enhanced security and deployable on any public or private cloud. [block:api-header] { "type": "basic", "title": "Logical Architecture" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/L1H81xsQji1Tq1G6VifQ_Capture.PNG", "Capture.PNG", "2179", "1092", "#1c345c", "" ], "caption": "Overview of Eclipse Che architecture." } ] } [/block] Che is a workspace server that runs on top of an application server like Tomcat. When the Che server is launched, the IDE is loaded as a Web application accessible via a browser at `http://localhost:8080/`. The browser downloads the IDE as a single page web app from the Che server. The Web application provides UI components such as wizards, panels, editors, menus, toolbars, and dialog boxes. As a user interacts with the Web application, they will create workspaces, projects, environments, machines, and other artifacts necessary to code and debug a project. The IDE communicates with Che over RESTful APIs that manage and interact with a Workspace Master. The Che server controls the lifecycle of workspaces. Workspaces are isolated spaces where developers can work. Che injects various services into each workspace, including the projects, source code, Che plug-ins, SSH daemon, and language services such as JDT core Intellisense to provide refactoring for Java language projects. The workspace also contains a synchronizer which, depending upon whether the workspace is running locally or remotely, is responsible for synchronizing project files from within the machine with Che long term storage. [block:image] { "images": [ { "image": [ "https://files.readme.io/meY4wKw0TrmqRauyWZi8_Capture2.PNG", "Capture2.PNG", "2188", "1099", "#1c345b", "" ] } ] } [/block] Che defines the notion of a workspace as the combination of projects, environments, and commands. A project is the fundamental unit of code available as a set of folders, files, and modules. A project may be mapped 1:1 to an external git or subversion repository from which it is cloned. A workspace may have zero or more projects. Projects have a project type which, depending upon the type selected, causes Che to enable the workspace with different behaviors. For example, a maven project type causes Che to install the maven and Java plug-ins into the workspace. A machine is a runtime unit that provides a stack of software and a set of resources to run the projects of the workspace. The machine is bound to to the workspace and to the projects. Che synchronizes the project files within the machine. A machine is defined by a recipe that contains the list of software that should be executing within the machine. The default machine implementation in Che is Docker and we use Dockerfiles to define the recipes for different types of runtimes. We also have a concept called, "stacks" which are pre-defined recipes with additional meta-information. Che provides default recipes and stacks, but users can define their own. The machine's lifecycle is managed by each Che workspace. As the workspace is booted, so is its underlying runtimes. Additionally, Che can install additional software into the machine to enable developer services such as Intellisense. For example, if the Java plug-in is activated because of the project type, Che installs an agent inside of the machine that runs JDT services that are then accessible by the projects synchronized onto the machine. [block:api-header] { "type": "basic", "title": "Extensibility" } [/block] Che provides an SDK for authoring new extensions, packaging extensions into plug-ins, and grouping plug-ins into an assembly. An assembly can either be executed stand alone as a new server, or, it can be installed onto desktops as an application using included installers. [block:image] { "images": [ { "image": [ "https://files.readme.io/soVhX9MmRR6SsGi78WsI_Extensibility.PNG", "Extensibility.PNG", "1177", "480", "#243c6b", "" ], "caption": "Eclipse Che extensibility - how extensions become plugins become assemblies." } ] } [/block] There are a number of aspects that can be modified within Che. [block:parameters] { "data": { "h-0": "Type", "h-1": "Description", "0-0": "IDE Extension", "0-1": "Modify the look-and-feel, panels, editors, wizards, menus, toolbars, and pop-up boxes of the client. IDE extensions are authored in Java and transpiled into a JavaScript Web application that is hosted on the Che server as a WAR file.", "1-0": "Che Server Extension\n(aka, Worskspace Master)", "1-1": "Add or modify the core APIs that run within the Che server for managing workspaces, environments and machines. Workspace extensions are authored in Java and packaged as JAR files.", "2-0": "Workspace Extension\n(aka, Workspace Agent)", "2-1": "Create or modify project-specific extensions that run within a workspace machine and have local access to project files. Define machine behaviors, code templates, command instructions, scaffolding commands, and intellisense. The Che Java extension is authored as a workspace agent extension, deployed into the machine, and runs JDT core services from Eclipse to do local intellisense operations against the remote workspace." }, "cols": 2, "rows": 3 } [/block] Each extension type is packaged separately because they are deployed differently into the assembly. IDE extensions are transpiled using GWT to generate a cross-browser JavaScript. This application is packaged as a WAR file and hosted on the Che server. Workspace master extensions are deployed as services within the Che server. Once deployed, they activate new management services that can control users, identity and workspaces. Workspace agent extensions are compiled with Che core libraries and also deployed within an embedded Che server that runs inside of each workspace machine. The Che server is injected into machines created and controlled by the central workspace master Che server. This embedded server hosts your workspace agent extensions and provides a communication bridge between the services hosted within Che and the machines that are hosting the project. **About Machines**. When you develop with a desktop IDE, the workspace uses localhost as the execution environment for processes like build, run and debug. In a cloud IDE, localhost is not available, so the workspace server must generate the environments that it needs. These environments must be isolated from one another and scalable. We use Docker to generate containers that contain the software needed for each environment. Each workspace is given at least one environment, but users may create additional environments for each workspace if they want. Each container can have different software installed. Che installs different software into the machine based upon the project type. For example, a Java project will have the JDK, Git, and Maven installed. When a user is working within their Workspace, this container is booted by Che and the source code of the project is mounted within it. Developer actions like auto-complete and `mvn clean install` are processes that are executed within the container. Users can provide their own Dockerfiles that Che will build into images and extension developers can register Dockerfile templates associated with a project type. This allows Che to manage a potentially infinite number of environments while still giving users customization flexibility. [block:api-header] { "type": "basic", "title": "What's Included" } [/block] Che ships with a large number of plug-ins for many programming languages, build systems, source code tools, and infrastructure including Java, Maven, Ant, Git, Subversion, JavaScript, and Angular.JS. The community is developing their own and many are merged into the main Che repository. Che can be installed on any operating system that supports Docker 1.8+ or Java 1.8 – desktop, server or cloud and has been tested on Linux, MacOS and Windows. It is licensed as EPL 1.0. [block:api-header] { "type": "basic", "title": "Getting Started" } [/block] We provide a [step-by-step guide](http://eclipse.org/che/getting-started/) for getting Che running on your desktop or server.