s****y 发帖数: 503 | 1 以前一直访问Restful,没有自己在服务器端实现过,我现在想在tomcat或websphere上
用Java实现Restful服务,有什么技术或者框架实现比较好? |
z****e 发帖数: 54598 | 2 vert.x
tomcat/websphere只支持一般性的web
跟web service还有一定差异
当然你可以无视这个差异 |
z****e 发帖数: 54598 | |
z****e 发帖数: 54598 | 4 vert.x做比tomcat和jax-rx凑一起简单
感觉两个都没啥难度 |
s***o 发帖数: 2191 | 5 Check Spring Boot or Dropwizard |
s*i 发帖数: 5025 | 6 Node.js,分分秒秒的事儿。
[发表自未名空间手机版 - m.mitbbs.com]
【在 s****y 的大作中提到】 : 以前一直访问Restful,没有自己在服务器端实现过,我现在想在tomcat或websphere上 : 用Java实现Restful服务,有什么技术或者框架实现比较好?
|
N*****m 发帖数: 42603 | 7 你们这些人都不看原帖就回答吗?
tomcat下面基本上就是jersey了
【在 s*i 的大作中提到】 : Node.js,分分秒秒的事儿。 : : [发表自未名空间手机版 - m.mitbbs.com]
|
w**z 发帖数: 8232 | 8 +1, you can setup one restful service using Jersery within a couple of hours.
【在 N*****m 的大作中提到】 : 你们这些人都不看原帖就回答吗? : tomcat下面基本上就是jersey了
|
s*i 发帖数: 5025 | 9 看了。没有用可以忽略就好了。
[发表自未名空间手机版 - m.mitbbs.com]
【在 N*****m 的大作中提到】 : 你们这些人都不看原帖就回答吗? : tomcat下面基本上就是jersey了
|
a****9 发帖数: 1983 | 10 +1。也用tomcat + jersey做过一个
hours.
【在 w**z 的大作中提到】 : +1, you can setup one restful service using Jersery within a couple of hours.
|
|
|
l******t 发帖数: 55733 | |
c*********e 发帖数: 16335 | 12 spring 做restful,太簡單了。
【在 s****y 的大作中提到】 : 以前一直访问Restful,没有自己在服务器端实现过,我现在想在tomcat或websphere上 : 用Java实现Restful服务,有什么技术或者框架实现比较好?
|
w**z 发帖数: 8232 | 13 但那个不follow jax-rs spec
【在 c*********e 的大作中提到】 : spring 做restful,太簡單了。
|
s***o 发帖数: 2191 | 14 you can integrate jersey and spring boot with spring-boot-starter-jersey
【在 w**z 的大作中提到】 : 但那个不follow jax-rs spec
|
w**z 发帖数: 8232 | 15 what I meant was rest support directly from spring.
【在 s***o 的大作中提到】 : you can integrate jersey and spring boot with spring-boot-starter-jersey
|
n*******4 发帖数: 2285 | |
W***o 发帖数: 6519 | |
w**z 发帖数: 8232 | 18 当然是Jax-rs 好, follows spec. 换container 理论上code 不用改。
【在 n*******4 的大作中提到】 : jax-rs/Jersey 和 Spring MVC REST 比到底哪个好呢? 我看到这个Stackoverflow数 : 据用jax-rs 比用Spring的要多很多。 : http://image.slidesharecdn.com/comparingjvmwebframeworks-february2014-140205123452-phpapp01/95/comparing-jvm-web-frameworks-february-2014-86-638.jpg?cb=1391626200
|
r***y 发帖数: 4379 | 19 用Spring MVC REST就是加个 dependency , 换container 根本不需要改code呀
【在 w**z 的大作中提到】 : 当然是Jax-rs 好, follows spec. 换container 理论上code 不用改。
|
g*****g 发帖数: 34805 | 20 Unless you are using spring MVC already, use Jersey. The simple reason is
that it has much bigger community. All issues you have, there's already an
answer.
【在 r***y 的大作中提到】 : 用Spring MVC REST就是加个 dependency , 换container 根本不需要改code呀
|
|
|
r***y 发帖数: 4379 | 21 thanks for sharing, "much bigger community" is an attractive factor.
Yeah, my existing projects are all with spring MVC, so did not bother extra
libs.
Next project will definitely give Jersey a shot.
【在 g*****g 的大作中提到】 : Unless you are using spring MVC already, use Jersey. The simple reason is : that it has much bigger community. All issues you have, there's already an : answer.
|
n*******4 发帖数: 2285 | 22 请问好虫: 有什么更多的数据可以支持Jersey has much bigger community这个结论?
【在 g*****g 的大作中提到】 : Unless you are using spring MVC already, use Jersey. The simple reason is : that it has much bigger community. All issues you have, there's already an : answer.
|
g*****g 发帖数: 34805 | 23 Jersey is the reference impl for JAX RS. It's like hotspot to other JVM. But
you can always Google to have your own judgment.
论?
【在 n*******4 的大作中提到】 : 请问好虫: 有什么更多的数据可以支持Jersey has much bigger community这个结论?
|
S***s 发帖数: 104 | 24 jersey是不是就annotation跟spring mvc有点区别?
【在 g*****g 的大作中提到】 : Unless you are using spring MVC already, use Jersey. The simple reason is : that it has much bigger community. All issues you have, there's already an : answer.
|
n*******4 发帖数: 2285 | 25 这有两种Annotation的对比:
https://technoless.wordpress.com/2013/04/02/spring-rest-vs-jersey-jax-rs/
【在 S***s 的大作中提到】 : jersey是不是就annotation跟spring mvc有点区别?
|
c*********e 发帖数: 16335 | 26 netflix用的是spring 的restful ? 你以前提到你的印度老板让你用spring security.
【在 g*****g 的大作中提到】 : Unless you are using spring MVC already, use Jersey. The simple reason is : that it has much bigger community. All issues you have, there's already an : answer.
|
g*****g 发帖数: 34805 | 27 We have like 500 services, so it's up to the service owner for what stack to
use. You can still use Jersey in a spring application, just have a listener
in a servlet.
security.
【在 c*********e 的大作中提到】 : netflix用的是spring 的restful ? 你以前提到你的印度老板让你用spring security.
|
c*********e 发帖数: 16335 | 28 spring自己的restful这么弱啊,被jersey比下去了。
to
listener
【在 g*****g 的大作中提到】 : We have like 500 services, so it's up to the service owner for what stack to : use. You can still use Jersey in a spring application, just have a listener : in a servlet. : : security.
|