This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
development:optimizing_spring_builds_in_netbeans [2015/03/05 13:14] lee [Running the custom build goal in the NetBeans IDE] |
development:optimizing_spring_builds_in_netbeans [2015/03/05 13:47] (current) lee |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | It is much faster to use a Spring-boot run build goal to launch the embedded tomcat container in a Spring-boot application than to use the standard NetBeans approach of packaging and (re)-deploying the application in the tomcat server on each build. The Spring-boot run approach takes under 40 secs to launch the application. | + | It is much faster to use a Spring-boot run maven build goal to launch the embedded tomcat container in a Spring-boot application than to use the standard NetBeans approach of packaging and (re)-deploying the application in the tomcat server on each build. The Spring-boot run approach takes under 40 secs to launch the application. |
Below is an example of creating a custom build goal to launch the Spring-boot run embedded tomcat container for the WebAPI services running on a Postgresql database. It is a similar approach for other databases (specify a different database profile and connection string details). | Below is an example of creating a custom build goal to launch the Spring-boot run embedded tomcat container for the WebAPI services running on a Postgresql database. It is a similar approach for other databases (specify a different database profile and connection string details). |