The most popular Java Integrated Development Environment, IntelliJ IDEA, has teamed up with the open-source microservices framework Apache Dubbo community, bringing great news to microservices developers. Alongside IntelliJ IDEA version 2023.2, Jetbrains officially released a new plugin - Apache Dubbo in Spring Framework.
This plugin helps developers address Dubbo project initialization issues and facilitates the identification of Dubbo services and their dependencies during the project development process, making microservice development based on Apache Dubbo very simple.
Before installing the Apache Dubbo plugin, please ensure you are using IntelliJ IDEA version 2023.2 or above.
There are two ways to install the Apache Dubbo plugin.
Open the plugin’s official page Apache Dubbo in Spring Framework in your browser, and click the “Install to IntelliJ IDEA 2023.2” button at the top right corner to complete the installation.
Go to Preferences -> Plugins, search for ‘Apache Dubbo’, and install it.
Once the plugin is installed, let’s see how to create and develop an Apache Dubbo microservice application using the plugin.
Open the new project dialog by selecting “File -> New -> Project”. In the dialog, you will see the Apache Dubbo plugin listed in the template list on the left. Click to select it.
Depending on the application needs, enter the project name, save path, coordinates, JDK version, and other information, then click “Next” to proceed to the next step.
The plugin will use dubbo-spring-boot-starter
to create a Spring Boot project, so we need to
Finally, click “Create” to complete the project creation.
The release of the official IntelliJ IDEA plugin greatly simplifies the cost of Dubbo project initialization. The Apache Dubbo community will continue to collaborate with IntelliJ to abstract more Dubbo features into plugin components to simplify issues such as dependency and configuration management in Dubbo usage. In addition to the plugin form, you can also directly open start.dubbo.apache.org online service to quickly create Dubbo projects through your browser.