Skip to content

Commit 56d3faf

Browse files
committed
docs
1 parent b6f292e commit 56d3faf

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

docs/tutorial.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -160,24 +160,26 @@ $ cd vok-helloworld-app
160160
$ ./gradlew
161161
```
162162

163-
This will download everything necessary and will compile the example application's WAR file.
163+
This will download everything necessary and will compile the example application's zip file.
164164

165-
> **Note:** WAR (Web ARchive) is Java standard for packaging web applications. WAR file is a zip file which
166-
> can be deployed to all Java Servlet Servers, including Tomcat, JBoss etc.
165+
> **Note:** WAR (Web ARchive) is Java standard for packaging web applications. However,
166+
> with the advent of Docker, we believe that the traditional way of deploying WAR into Java Servlet Servers (e.g. Tomcat or JBoss)
167+
> is now obsolete. It is far easier to run your app via the `main()` function.
168+
> Please visit [Vaadin Boot](https://github.com/mvysny/vaadin-boot) to learn more.
167169
168170
The `vok-helloworld-app` directory has a number of files and folders that make up the
169171
structure of a VoK application. Most of the work in this tutorial will happen in the
170172
`src/main/kotlin` folder, but here's a basic rundown on the function of each of the files and
171173
folders:
172174

173-
| File/Folder | Purpose |
174-
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
175-
| `web/src/main/kotlin` | Contains the source files of all of your views, Servlets, REST endpoints, async jobs for your application. You'll focus on this folder for the remainder of this guide. |
176-
| `web/src/main/webapp` | Contains the 'Chuck Norris' image file |
177-
| `web/src/main/resources` | Contains the logger configuration file (`logback.xml`) |
178-
| `build.gradle` | This file defines tasks that can be run from the command line. You should add your own tasks by adding code to this file. There is much you can do with Gradle - you can for example use the ssh plugin to deploy the WAR to your production environment. |
179-
| `README.md` | This is a brief instruction manual for your application. You should edit this file to tell others what your application does, how to set it up, and so on. |
180-
| .gitignore | This file tells git which files (or patterns) it should ignore. See [Github - Ignoring files](https://help.github.com/articles/ignoring-files/) for more info about ignoring files. |
175+
| File/Folder | Purpose |
176+
|-----------------------------| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
177+
| `src/main/kotlin` | Contains the source files of all of your views, Servlets, REST endpoints, async jobs for your application. You'll focus on this folder for the remainder of this guide. |
178+
| `src/main/resources/webapp` | Contains the 'Chuck Norris' image file |
179+
| `src/main/resources` | Contains the logger configuration file (`logback.xml`) |
180+
| `build.gradle.kts` | This file defines tasks that can be run from the command line. You should add your own tasks by adding code to this file. There is much you can do with Gradle - you can for example use the ssh plugin to deploy the WAR to your production environment. |
181+
| `README.md` | This is a brief instruction manual for your application. You should edit this file to tell others what your application does, how to set it up, and so on. |
182+
| .gitignore | This file tells git which files (or patterns) it should ignore. See [Github - Ignoring files](https://help.github.com/articles/ignoring-files/) for more info about ignoring files. |
181183

182184
## Hello, Vaadin-on-Kotlin!
183185

0 commit comments

Comments
 (0)