Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
3c6c1d08
Commit
3c6c1d08
authored
Nov 17, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
bebf26d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
28 deletions
+39
-28
spring-boot-cli.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc
+26
-21
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+13
-7
No files found.
spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc
View file @
3c6c1d08
...
@@ -352,6 +352,7 @@ and the default excludes are
...
@@ -352,6 +352,7 @@ and the default excludes are
See the output of `spring help jar` for more information.
See the output of `spring help jar` for more information.
[[cli-init]]
[[cli-init]]
=== Initialize a new project
=== Initialize a new project
The `init` command allows you to create a new project using https://start.spring.io
The `init` command allows you to create a new project using https://start.spring.io
...
@@ -361,36 +362,36 @@ without leaving the shell. For example:
...
@@ -361,36 +362,36 @@ without leaving the shell. For example:
----
----
$ spring init --dependencies=web,data-jpa my-project/
$ spring init --dependencies=web,data-jpa my-project/
Using service at https://start.spring.io
Using service at https://start.spring.io
Project extracted to '/Users/developer/example/my-project'
Project extracted to '/Users/developer/example/my-project'
----
----
This creates a `my-project` directory with a Maven-based project using
`spring-boot-starter-web`
This creates a `my-project` directory with a Maven-based project using
and `spring-boot-starter-data-jpa`. You can list the capabilities of the servic
e
`spring-boot-starter-web` and `spring-boot-starter-data-jpa`. You can list th
e
using the `--list` flag
capabilities of the service
using the `--list` flag
[indent=0]
[indent=0]
----
----
$ spring init --list
$ spring init --list
=======================================
=======================================
Capabilities of https://start.spring.io
Capabilities of https://start.spring.io
=======================================
=======================================
Available dependencies:
Available dependencies:
-----------------------
-----------------------
actuator - Actuator: Production ready features to help you monitor and manage your application
actuator - Actuator: Production ready features to help you monitor and manage your application
...
...
web - Web: Support for full-stack web development, including Tomcat and spring-webmvc
web - Web: Support for full-stack web development, including Tomcat and spring-webmvc
websocket - Websocket: Support for websocket development with Tomcat
websocket - Websocket: Support for websocket development with Tomcat
ws - WS: Support for Spring Web Services
ws - WS: Support for Spring Web Services
Available project types:
Available project types:
------------------------
------------------------
gradle-build - Gradle Config [format:build, build:gradle]
gradle-build - Gradle Config [format:build, build:gradle]
gradle-project - Gradle Project [format:project, build:gradle]
gradle-project - Gradle Project [format:project, build:gradle]
maven-build - Maven POM [format:build, build:maven]
maven-build - Maven POM [format:build, build:maven]
maven-project - Maven Project [format:project, build:maven] (default)
maven-project - Maven Project [format:project, build:maven] (default)
...
...
----
----
The `init` command supports many options, check the `help` output for more details. For
The `init` command supports many options, check the `help` output for more details. For
...
@@ -403,6 +404,8 @@ instance, the following command creates a gradle project using Java 8 and `war`
...
@@ -403,6 +404,8 @@ instance, the following command creates a gradle project using Java 8 and `war`
Content saved to 'sample-app.zip'
Content saved to 'sample-app.zip'
----
----
[[cli-shell]]
[[cli-shell]]
=== Using the embedded shell
=== Using the embedded shell
Spring Boot includes command-line completion scripts for BASH and zsh shells. If you
Spring Boot includes command-line completion scripts for BASH and zsh shells. If you
...
@@ -428,6 +431,8 @@ The embedded shell supports ANSI color output as well as `tab` completion. If yo
...
@@ -428,6 +431,8 @@ The embedded shell supports ANSI color output as well as `tab` completion. If yo
to run a native command you can use the `$` prefix. Hitting `ctrl-c` will exit the
to run a native command you can use the `$` prefix. Hitting `ctrl-c` will exit the
embedded shell.
embedded shell.
[[cli-groovy-beans-dsl]]
[[cli-groovy-beans-dsl]]
== Developing application with the Groovy beans DSL
== Developing application with the Groovy beans DSL
Spring Framework 4.0 has native support for a `beans{}` "`DSL`" (borrowed from
Spring Framework 4.0 has native support for a `beans{}` "`DSL`" (borrowed from
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
3c6c1d08
...
@@ -2025,18 +2025,24 @@ The following component creates a listener endpoint on the `someQueue` destinati
...
@@ -2025,18 +2025,24 @@ The following component creates a listener endpoint on the `someQueue` destinati
Check {spring-javadoc}/jms/annotation/EnableJms.{dc-ext}[the javadoc of `@EnableJms`]
Check {spring-javadoc}/jms/annotation/EnableJms.{dc-ext}[the javadoc of `@EnableJms`]
for more details.
for more details.
[[boot-features-mail]]
== Mail integration
The Spring Framework provides an easy abstraction for sending email using the `JavaMailSender`
interface and Spring Boot provides auto-configuration for it as well as a starter module.
TIP: Check the {spring-reference}/#mail[reference documentation] for a detailed explanation
of how you can use `JavaMailSender`.
[[boot-features-email]]
== Sending email
The Spring Framework provides an easy abstraction for sending email using the
`JavaMailSender` interface and Spring Boot provides auto-configuration for it as well as
a starter module.
TIP: Check the {spring-reference}/#mail[reference documentation] for a detailed
explanation of how you can use `JavaMailSender`.
If `spring.mail.host` and the relevant libraries (as defined by `spring-boot-starter-mail`)
If `spring.mail.host` and the relevant libraries (as defined by `spring-boot-starter-mail`)
are available, a default `JavaMailSender` is created if none exists. The sender can be
are available, a default `JavaMailSender` is created if none exists. The sender can be
further customized by configuration items from the `spring.mail` namespace, see the
further customized by configuration items from the `spring.mail` namespace, see the
{sc-spring-boot-autoconfigure}/mail/MailProperties.{sc-ext}[`MailProperties`] for more details.
{sc-spring-boot-autoconfigure}/mail/MailProperties.{sc-ext}[`MailProperties`] for more
details.
[[boot-features-jta]]
[[boot-features-jta]]
== Distributed Transactions with JTA
== Distributed Transactions with JTA
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment