topics

全部话题 - 话题: restful
首页 5 6 7 8 9 末页 (共10页)
z****e
发帖数: 54598
1
如果要在tomcat这些东西上做的话
jax-rs应该是the way to go
http://www.vogella.com/tutorials/REST/article.html
w**z
发帖数: 8232
2
+1, you can setup one restful service using Jersery within a couple of hours.
c*********e
发帖数: 16335
3
spring 做restful,太簡單了。
w**z
发帖数: 8232
4
what I meant was rest support directly from spring.
n*******4
发帖数: 2285
5
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
6
用Spring MVC REST就是加个 dependency , 换container 根本不需要改code呀
n*******4
发帖数: 2285
c*********e
发帖数: 16335
8
netflix用的是spring 的restful ? 你以前提到你的印度老板让你用spring security.
c*********e
发帖数: 16335
9
spring自己的restful这么弱啊,被jersey比下去了。

to
listener
s****y
发帖数: 503
10
来自主题: Programming版 - 怎么做能提供RESTful的安全性?
在企业级应用中,iOS和Java之间用RESTful通信,如果想提高安全性,用什么比较好?
OAuth是不是一种选择?还有其他的吗?
n*******4
发帖数: 2285
11
来自主题: Programming版 - 怎么做能提供RESTful的安全性?
用Spring Security + OAuth 2.0。 这里有样本code:
http://porterhead.blogspot.com/2014/05/securing-rest-services-w
有钱的上Apigee或SiteMinder Web Service Package.
ET
发帖数: 10701
12
来自主题: Programming版 - 怎么做能提供RESTful的安全性?
https is a must.
oauth is a way to authenticate a user from a third-party service without
sharing this user's login credential.
Security is a big topic. It depends on your use case. Authenticating a user,
username + password with http basic authentication is common used. Some
service provider uses plain text of user's password over https, it is also
OK. It's better to hash the user's password, then keep hashed password on
server.
It's better to block the password attempting numbers or it will e... 阅读全帖
g*****g
发帖数: 34805
13
来自主题: Programming版 - 怎么做能提供RESTful的安全性?
A remember me token that doesn't expire is worse than saving password masked
IMHO.
Mitbbs app saves your password, so does every browser on desktop. And while
you can go sessionless on restful, it may hurt performance if you expect
many interactions after first. There are all choice, not rule.

the
g*****g
发帖数: 34805
14
来自主题: Programming版 - 怎么做能提供RESTful的安全性?
Restful service is typically stateless but not sessionless, unless it's not
exposed to edge and it doesn't need authentication/authorization. In the
latter case, it's OK to only secure the edge service. Session can also be
moved to Memcache/Redis/C*.
s****y
发帖数: 503
15

如果restful是通过https访问的,不用web server有关系吗?
t**********s
发帖数: 930
16
我想你们的这个Dashboard一定是调用了Jenkins 的 Rest API.
到底是哪个API提供 build 是否完成的信息呢?

build
a******n
发帖数: 5925
17
忘了
应该都在你的 jenkinsserver/api 下面
或者登录后右下角有一个 'rest api" link
W***o
发帖数: 6519
18
来自主题: Programming版 - rest in go 就是 martini了?
最近试了一把手这个,配合gorm, 可以做back-end service ,很轻便
https://github.com/ant0ine/go-json-rest
t**r
发帖数: 3428
19
gorm 是不是只支持mysql postgre, sqlite3? #golang #go #restful
f*****w
发帖数: 2602
20
不知道现在的best practise 是什么
是把REST API和db 放一起测试 还是分开测试然后mock所有的数据库操作 ?
google了下好像说什么的都有
有什么好用的包或什么的吗?
非常感谢哈
l**********n
发帖数: 8443
21
rest主要是测试route。database测试的是table,index, schema这些。database容易
测。route需要个环境。用swagger的会比较好
w**z
发帖数: 8232
22
Here is what I do, I write integration tests for the rest services, using
Jersey test framework, https://jersey.java.net/documentation/latest/test-
framework.html
There are few reasons I do that
1) The service I am writing normally is micro service, so running a full
round of integration tests won't take more than a few minutes.
2) I can run them locally before I push my commits, so bugs can be
identified quickly and thus fixed quickly
3) Jenkins job also runs those tests, so again it's not like... 阅读全帖
c*********e
发帖数: 16335
23
你自己写出一个restful web api之后再来续贴吧。
c*********e
发帖数: 16335
24
lz根本就没用过restful,你跟他说他也不会信。
g*****g
发帖数: 34805
25
绝大多数技术本来就是个演化,技术的目的是简化开发。所以 Rest比SOAP简单多了。
你要说什么 MVC不也很简单。
w**z
发帖数: 8232
26
rest, get post put delete 都会用。前两个比较常用。我面试问过不下20个人 put
和 post 的区别,只有一个人能解释清楚。
w**z
发帖数: 8232
27
现在简历上每个人都说implemented rest ws
d******e
发帖数: 117
28
来自主题: Programming版 - 有没有C++的restful service framework
想开发个基于C++的server支持restful query
l***n
发帖数: 29
29
来自主题: Programming版 - 有没有C++的restful service framework
如果只是要client端的话,这个C++ REST SDK不错,跨平台,支持ios, android.
https://casablanca.codeplex.com/
c*********e
发帖数: 16335
30
来自主题: Programming版 - 推荐一个C++ restful框架
这个restful web services, 不需要验证用户名和密码的吗?
ET
发帖数: 10701
31
来自主题: Programming版 - 推荐一个C++ restful框架
authentication can also be part of restful api.
a post request
t**r
发帖数: 3428
32
按照先在的说法 做java spring的,作rest api的都是前端狗了
只有造轮子的算后端了。
W***o
发帖数: 6519
W***o
发帖数: 6519
g****u
发帖数: 252
35
来自主题: Programming版 - 有没有人觉得restful被高估了
我一直以为restful就是用JSON作为数据格式,用HTTP作为协议的API。
如果是的话,其实我觉得相比RPC, corba, thrift, gRPC啥的来说是一种简化,适合
快速叠代。
请版上的大牛指正。

发帖数: 1
36
来自主题: Programming版 - 有没有人觉得restful被高估了
我也是这么觉得的,数据就是变成json,但是team lead老是谈resource,任何前端的
object就要map成一个resource到后端,他说这样才是真restful
a9
发帖数: 21638
37
来自主题: Programming版 - 有没有人觉得restful被高估了
hoho
restful本来就是抛弃了强类型的webservice,在后端再建上一对一的强类型映射简直
是自找苦吃。
你们老板该升级一下他的脑袋了。
f*******t
发帖数: 7549
38
来自主题: Programming版 - 有没有人觉得restful被高估了
我觉得restful是工程智慧的体现。其它RPC自己实现一套标准,不同语言兼容难度很大
。而在非常成熟的HTTP基础上扩展,uri定位资源,支持GET POST DELETE等简单操作,
辅以灵活的json传输数据,好处显而易见:数据和标准统一,几乎无歧义,各种语言也
可以有最合适的实现方式,能最大限度地利用已有的轮子。
它没有用到多么高大上的理论、概念,但现在运用这么广,超过了其它性能特别好或有
别的优点的标准,说明主流码工还是不傻的。
T********i
发帖数: 2416
39
来自主题: Programming版 - 有没有人觉得restful被高估了
restful流行说明这个行业没救了。
现实世界,信息的流动是双向的。
web把双向变成单向。其实设计之初谁也没想到将来能做这么大。
现在这些人和这么多所谓流行架构,基本上就不考虑实时双向通信的应用了。搞来搞去
都是低水平重复而已。
i******l
发帖数: 270
40
来自主题: Programming版 - 有没有人觉得restful被高估了
那你得保持住连接,和 restful 不是一个路数啊
w**z
发帖数: 8232
41
来自主题: Programming版 - 有没有人觉得restful被高估了
restful 是和 Soap 比,什么叫 低水平重复?
z***s
发帖数: 3241
42
来自主题: Programming版 - 有没有人觉得restful被高估了
这么说,用rest是不能实现push之类的功能的?
w*********y
发帖数: 251
43
来自主题: Programming版 - 有没有人觉得restful被高估了

restful的思路不奇怪啊,也没错。 懒点的话用messages好了。
c*********e
发帖数: 16335
44
来自主题: Programming版 - 有没有人觉得restful被高估了
push很容易实现啊,比rest容易多了,和和。
w**z
发帖数: 8232
45
来自主题: Programming版 - Java REST api framework
spring 的 rest不是 jax rs compatible 的吧?
w**z
发帖数: 8232
46
来自主题: Programming版 - Java REST api framework
lz 问的是 Java rest framework, spring boot 不算。
w********m
发帖数: 1137
47
来自主题: Programming版 - Java REST api framework
没有比spring data rest更简单的了
h*k
发帖数: 984
48
来自主题: Programming版 - Java REST api framework
对从来没用过spring的也是这样吗?
[在 walkrandom (walkrandom) 的大作中提到:]
:没有比spring data rest更简单的了
w**z
发帖数: 8232
49
来自主题: Programming版 - Java REST api framework
dropwizard 是 rest framework, 也可以和 Spring 整合。 Spring is much much
more.
s*****w
发帖数: 1527
50
如果用rest API,那么我这里的客户信息会送往remote server, 违反data privacy.
首页 5 6 7 8 9 末页 (共10页)