首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >JHipster 5:没有在源代码中找到反应性API

JHipster 5:没有在源代码中找到反应性API
EN

Stack Overflow用户
提问于 2018-04-04 18:17:51
回答 2查看 781关注 0票数 1

实际上,我试图使用新版本5 (beta)的Jhipster来生成后端服务。

下面是生成器问题的答案: :

代码语言:javascript
复制
C:\dev\java\jh>jhipster server
Using JHipster version installed globally
Executing jhipster:server
Options:
? What is the base name of your application? jh
? What is your default Java package name? com.mycompany.myapp
? Do you want to use the JHipster Registry to configure, monitor and scale your application? No
? Which *type* of authentication would you like to use? JWT authentication (stateless, with a token)
? Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle, MSSQL)
? Which *production* database would you like to use? MySQL
? Which *development* database would you like to use? H2 with disk-based persistence
? Do you want to use the Spring cache abstraction? Yes, with the Ehcache implementation (local cache, for a single node)
? Do you want to use Hibernate 2nd level cache? Yes
? Would you like to use Maven or Gradle for building the backend? Maven
? Which other technologies would you like to use? Reactive APIs, using Spring Webflux
? Would you like to enable internationalization support? No

请注意,我选择了reactive 新特性,当我查看RestController级别的源代码时,没有发现MonoFlux的任何用途。

我漏掉了什么吗?

谢谢你。

EN

回答 2

Stack Overflow用户

发布于 2018-04-04 18:58:35

是的,当您创建时,您将拥有该选项。而且您的类路径中也有Spring网络流量库。

票数 2
EN

Stack Overflow用户

发布于 2018-05-11 02:12:16

这让我头疼。

如果有人正在寻找反应性的杰普斯特,它目前正在重写。

它是在Jhipster@Beta5.0.0中添加的

反应支持

代码语言:javascript
复制
"New generator option to enable Spring Webflux support
Support for Spring Webflux in the Spring controller sub-generator"

后来在 杰普斯特@Beta.5.0.1中删除了

代码语言:javascript
复制
We removed our reactive support in Spring Boot. This is going to be 
completely re-written in a separate branch, and will be released later. 
Reactive applications will be a new type of application (like we 
already have monolith or microservice), which will be used only when 
this technology makes sense.

此外,(在过去一天内)在这支上进行积极的开发

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49657822

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档