### 1、solon-web

solon-web 是个快捷组合包，是在 solon-lib 的基础上，组合基础的 web 开发插件。相对于旧版：

* 移除了 solon-view-freemarker（方便自选）
* 增加了 solon-security-validation（由 solon-lib 移过来）


以下为 v2.9 之后的内容

```xml
<parent>
    <groupId>org.noear</groupId>
    <artifactId>solon-parent</artifactId>
    <version>3.10.1</version>
</parent>

<dependencies>
    <dependency>
        <groupId>org.noear</groupId>
        <artifactId>solon-lib</artifactId>
    </dependency>

    <!-- Http 启动器 -->
    <dependency>
        <groupId>org.noear</groupId>
        <artifactId>solon-server-smarthttp</artifactId>
    </dependency>

    <!-- Json序列化支持插件 -->
    <dependency>
        <groupId>org.noear</groupId>
        <artifactId>solon-serialization-snack4</artifactId>
    </dependency>

    <!-- 本地SessionSate支持插件 -->
    <dependency>
        <groupId>org.noear</groupId>
        <artifactId>solon-sessionstate-local</artifactId>
    </dependency>

    <!-- 静态文件支持插件 -->
    <dependency>
        <groupId>org.noear</groupId>
        <artifactId>solon-web-staticfiles</artifactId>
    </dependency>

    <!-- 跨域处理插件 -->
    <dependency>
        <groupId>org.noear</groupId>
        <artifactId>solon-web-cors</artifactId>
    </dependency>

    <!-- 参数与实体验证扩展插件 -->
    <dependency>
        <groupId>org.noear</groupId>
        <artifactId>solon-security-validation</artifactId>
    </dependency>
</dependencies>
```

### 2、常见组合方案

2.9.2 移除的快捷组合包，是通过以下方式组合而成：



| 旧版快捷组合包 | 新的组合方式 | 备注 |
| -------- | -------- | -------- |
| solon-api     | solon-web     |  多了 solon-sessionstate-local   |
| solon-web     | solon-web +<br/>solon-view-freemarker     |      |
| solon-rpc     | solon-web +<br/>nami-coder-snack3 +<br/>nami-channel-http       |      |
| solon-beetl-web<br/>（或 solon-web-beetl）     | solon-web +</br>solon-view-beetl + <br>beetlsql-solon-plugin      |      |
| solon-enjoy-web<br/>（或 solon-web-enjoy）     | solon-web + <br/>solon-view-enjoy + <br/>activerecord-solon-plugin     |      |
| solon-cloud-alibaba     | solon-web + solon-cloud + <br/>nacos-solon-cloud-plugin + <br/>rocketmq-solon-cloud-plugin + <br/>sentinel-solon-cloud-plugin    |      |
|  solon-cloud-water     | solon-web + solon-cloud + <br/> water-solon-cloud-plugin    |      |
