boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Using Spring in Vert.x
相关主题
赵老师,郝老师,你们再讲讲Java->DB这一块吧
Goodbug你给个学java的roadmap吧
高性能Java系统的Persistence(持久化)一般用什么技术?
想学Java EE,请大侠指点
你们读写数据库,是直接用java hibernate,还是Spring Framework transaction management?
问一个vertx的问题
vertx里面同一个module多个verticle的疑问
弯曲用j2ee spring , Jpa , jersey 这些老技术的公司还多么
公司咋从外面招senior java developer, java developer lead?空降一个领导?
你们怎么不讨论intelliJ vs eclipse
相关话题的讨论汇总
话题: spring话题: using话题: service话题: data话题: hibernate
进入Programming版参与讨论
1 (共1页)
z****e
发帖数: 54598
1
http://github.com/vert-x3/vertx-examples/tree/master/spring-exa
This project is a demo of exposing Spring-hosted service beans (and
therefore Spring-wired services) via vert.x verticles. In vert.x 3 it’s
perfectly possible to share an application context between multiple
verticles.
In this case the service bean we expose through vert.x is a trivial data
access service running through Spring Data JPA (and using Hibernate). In
effect we’re taking advantage of the ease of building data access via
Spring/Hibernate but using vert.x as the connector between external clients
and the Spring context.
Note that because we’re doing blocking JDBC access, we host the call to the
service within an executeBlocking call, to avoid blocking the event bus.
You can run it directly in your IDE by creating a run configuration that
uses the main class io.vertx.examples.spring.SpringExampleRunner.
l**********n
发帖数: 8443
2
android 可以用vert.x吗?
l*********s
发帖数: 5409
3
貌似不行,java版本不兼容吧
z****e
发帖数: 54598
4

你只有一个java,一个jdk
无论是vert.x还是spring都依赖这个jdk
spring只需要有jre就行,jdk就包含有jre
跟java版本不兼容有什么关系?

【在 l*********s 的大作中提到】
: 貌似不行,java版本不兼容吧
z****e
发帖数: 54598
5

可以,但是没有意义

【在 l**********n 的大作中提到】
: android 可以用vert.x吗?
1 (共1页)
进入Programming版参与讨论
相关主题
你们怎么不讨论intelliJ vs eclipse
向赵册请教几个Spring问题
求建议:商业数据使用
新手学习java spring, hibernate或者struts的问题 (转载)
求NY,NJ 附近java 工作机会。 (转载)
spring 和hibernate 掰了吗?
Spring hibernate 学起来 要多久
Have a try on Vert.x-shell
想转Java开发,学什么framework最好找工作? (转载)
问一下python初学者的问题
相关话题的讨论汇总
话题: spring话题: using话题: service话题: data话题: hibernate