官术网_书友最值得收藏!

Getting an IDE

An integrated development environment (IDE) is more than a code editor; it includes the tools for autocompletion, syntax, formatting, and other miscellaneous features, such as search and replace. IDEs have advanced features such as refactoring, building, testing, and running the programs with the help of runtime containers.

The popular IDEs are Eclipse, IntelliJ IDEA, and NetBeans. Of the three, Eclipse is the most popular and open source IDE available for Java. It has a big community and is frequently updated. It has a workspace and an extensible plugin system. The development potential of applications in a whole range of languages is endless. Some other development IDEs based on Eclipse include the following:

  • If you are going to do only Spring development, then the derivative of Eclipse called Spring Tool Suite (STS) is a good option.
  • There are also cloud IDEs such as Eclipse Che, touted as the next-generation Eclipse. It does not need any installation. You develop in a browser that connects to a Che server, which builds a workspace remotely (containing libraries, runtime, and dependencies) in a Docker container. As a result, you can develop from any machine and anyone can contribute to your project, with just a URL. If you think that is cool and have a need for a location- and machine-independent development, give it a spin.

For the purposes of this book, let's stick to the basic and hugely popular Eclipse. The current edition, at the time of writing this book, is Neon. A large community and configurable plugin support makes it the IDE of choice for cloud-based Java development.

Download the latest version from: https://www.eclipse.org/. Assuming you have JDK 8 or later installed, Eclipse should start up fine.

Configure a workspace that will store your project files and settings:

When you hit OK, the Eclipse IDE should open up. Eclipse Neon will automatically get you two important plugins we need for development:

  • Git client: This will allow us to connect to a Git source control repository. This book assumes you use Git due to its popularity and features, but there are many older options in use in enterprises, such as Subversion and Perforce. In case you use the alternatives, download the respective plugin to your IDE by following the developer setup instructions given by your project team or in your team wiki. If these instructions do not exist, ask to build one for new team members to use.
  • Maven support: Maven and Gradle are both great project management and configuration tools. They help with tasks such as getting dependencies, compiling, building, and so on. We chose Maven because of its maturity with the enterprises.

If you are coming across these two for the first time, please get familiar with both by reading up on their respective websites.

主站蜘蛛池模板: 文水县| 靖远县| 礼泉县| 天峻县| 迁西县| 普洱| 定州市| 察哈| 米林县| 楚雄市| 蒙自县| 宜州市| 凤城市| 观塘区| 锦屏县| 柘荣县| 板桥市| 郧西县| 青阳县| 蚌埠市| 黄平县| 商都县| 宜宾县| 葫芦岛市| 太保市| 都江堰市| 宝丰县| 尉犁县| 鲁山县| 东阿县| 邓州市| 崇信县| 玉龙| 和龙市| 大名县| 棋牌| 长子县| 伊金霍洛旗| 楚雄市| 上饶市| 始兴县|