- Vaadin 7 Cookbook
- Jaroslav Holaň Ond?ej Kvasnovsk?
- 247字
- 2021-07-23 14:19:31
Introduction
Before we start coding, we need a project. Vaadin projects can be created in many ways using several tools and languages.
In this chapter, we will show how to make projects that support three languages: Java, Groovy, and Scala.
First, we will make a simple Java project in Eclipse. Then, we will continue in a more sophisticated way and make a Vaadin application by using Maven and Gradle. Maven is a tool providing a better build process and it uses XML for the description of project, definition of dependencies, plugins, and so on. While Gradle is the next generation of build tools. Gradle combines both Maven and Ant, taking the best from both tools. Maybe the most exciting thing about Gradle is that it is uses Groovy instead of XML.
After we know how to make the project from Maven archetype, we will make the same project in IntelliJ IDEA.
Scala is a programming language that integrates features of object-oriented and functional languages. The server-side part of Vaadin runs on JVM and therefore we can write Vaadin applications in Scala language.
Grails is a web application framework that takes advantage of the Groovy language. Grails follows the convention over configuration principle. When we make a new Grails project, we automatically get a persistent model, service, controller and view layers, environments, and localization. We will have a look at how to create a new Grails project and how to use Vaadin instead of a Grails view layer.
- 黑客攻防實(shí)戰(zhàn)技術(shù)完全手冊:掃描、嗅探、入侵與防御
- 數(shù)據(jù)通信網(wǎng)絡(luò)實(shí)踐:基礎(chǔ)知識與交換機(jī)技術(shù)
- Spring Boot 2.0 Projects
- 物聯(lián)網(wǎng)檢驗(yàn)檢測技術(shù)
- JBoss EAP6 High Availability
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見:2015年中國互聯(lián)網(wǎng)安全大會文集
- 物聯(lián)網(wǎng)與無線傳感器網(wǎng)絡(luò)
- 圖解手機(jī)元器件維修技巧
- Kong網(wǎng)關(guān):入門、實(shí)戰(zhàn)與進(jìn)階
- 新手易學(xué):新手學(xué)淘寶開店
- 移動(dòng)物聯(lián)網(wǎng):商業(yè)模式+案例分析+應(yīng)用實(shí)戰(zhàn)
- 全聯(lián)網(wǎng)標(biāo)識服務(wù)
- 圖神經(jīng)網(wǎng)絡(luò)前沿
- Corona SDK Application Design
- 網(wǎng)絡(luò)基本通信約束下的系統(tǒng)性能極限分析與設(shè)計(jì)