J*********r 发帖数: 5921 | 1 很多job description里面都要求有开发web service的经验,特别是一些金融机构。我
在网上搜了很久,看了一些文章和代码,甚至照着一些教程动手写了些小程序。但还是
云里雾里,觉得始终抓不住要点。甚至如果别人问我什么是web service,我都一下子
答不上来。尽管wiki之类的网站已经看了几十遍了。
向有经验的各位朋友请教一下(尤其是goodbug, briteguy, zhaoce等各位大侠, :)),
究竟什么是web service?如何学习它?能不能推荐一个小project,使得一个有不少编
程经验,但对web这一块没多少实践经验的人能把相关概念融会贯通,从而能尽快地在
工作中完成类似的开发要求?
多谢。 |
|
z****e 发帖数: 54598 | 2 其它协议可以不懂
http和tcp/ip一定要清楚
尤其是http和tcp/ip之间的关系
现在几乎所有的网络底层协议都是tcp/ip
你会servlet么?
用servlet来写response什么的
不要用框架
把request和response什么弄懂
然后把response里面的html/jsp给换成xml
这是server side
然后在client side,自己用java从main开始写
模拟提交http request
然后接收response
然后弄明白这中间是怎么回事
对比一下web service的一个访问和普通的http访问之间的区别
就大概能够明白是怎么回事了
其实所谓的web service就是客户端把一个xml塞进去
然后再拿到一个xml,xml可以描述你拿到的和发送的是什么东西
当然你也可以不用xml,但是实际上http就已经可以不用html了
你返回什么类型都没问题
web service其实没什么东西,换了一个好听的名字而已
uddi和wsdl之类的就不用看了,了解一下是什么就行了
关键是http, soap, rest, xml, tcp/ip这... 阅读全帖 |
|
z*******3 发帖数: 13709 | 3 这个是传输数据的协议
web service的协议则侧重于定义封装数据的格式
所以大部分都是xml
置标语言最初的本意就是用来封装并描述数据的
web service最初的灵感就来自我们天天用的http传送的各种数据
一个request发送过去之后,拿到一个html的response
xml的灵感就来自html,所以最常见的应用就是xhtml这个extension
然后在保留这个传输协议的基础之上,对request和response里面的数据做了定义
最初要求全部用xml来搞,但是群众总是拒绝接受这么复杂的东西
所以有了各种简化版,rest和json就是这种简化版的产物
区别仅仅在于用不用xml而已
web service这个最早是在ieee那个icws上提出来的
我们这边的几所大学在这个领域很活跃 |
|
c*********e 发帖数: 16335 | 4 现在做jasper report,amazon web services了,goodbug我要经常向你请教了。
刚把家里计算机的glassfish给删了,装了tomcat,eclipse里装了aws kit.开始做这方
面的了。web services只用c#做过,发现和java web services完全2码事啊,有点心虚
啊。咋办?短期上手看哪本书才行? |
|
c*********e 发帖数: 16335 | 5 【 以下文字转载自 Programming 讨论区 】
发信人: convergence (Rex), 信区: Programming
标 题: rails和java,c#的rest web services比较,有何优缺点?
发信站: BBS 未名空间站 (Sun Oct 20 10:56:01 2013, 美东)
貌似现在很多19岁高中毕业生都在用ruby on rails做rest web services.
大家说说,ruby on rails和java,c#的rest web services比较,有何优缺点? |
|
c*********e 发帖数: 16335 | 6 【 以下文字转载自 Programming 讨论区 】
发信人: convergence (Rex), 信区: Programming
标 题: rails和java,c#的rest web services比较,有何优缺点?
发信站: BBS 未名空间站 (Sun Oct 20 10:56:01 2013, 美东)
貌似现在很多19岁高中毕业生都在用ruby on rails做rest web services.
大家说说,ruby on rails和java,c#的rest web services比较,有何优缺点? |
|
B******e 发帖数: 48 | 7 service should not be interactive.
if you want to config service, you can write a cpl applet or any other kind
of app to communicate with the service.
if you want to produce some log msg, you can write them to event log. |
|
c*********e 发帖数: 16335 | 8 【 以下文字转载自 Apple 讨论区 】
发信人: convergence (Rex), 信区: Apple
标 题: 大家iphone编程,在哪儿用web service fetch股票历史信息,lottery历史信息?
发信站: BBS 未名空间站 (Sun Dec 9 13:38:03 2012, 美东)
在编一个程序,要用web services去internet抓取过去的股票历史信息,大家都是在哪
个网站,哪个web services抓取的? 比如我想抓取过去5年的纽约dow jones股票信息,
存到core data model里面。btw,iphone里面的信用卡交易,有没有一个frameworks可
以直接用的?难道要我自己写信用卡号码验证程序? |
|
l******9 发帖数: 579 | 9 【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: access a server not through remote desktop service on windows
发信站: BBS 未名空间站 (Sun Oct 5 09:48:27 2014, 美东)
I need to access a server by windows remote desktop of WIN 7. Because it is
shared in a group, only one user can access it through remote desktop
service.
How to access the files and application programs when it is being accessed
by remote desktop service by another ?
Sometimes, I only need to copy a large file from ... 阅读全帖 |
|
c*********e 发帖数: 16335 | 10 比如我用post 把参数送到一个url, 比如http://www.mysite.com/report/index,
通过report controller里的这个index method拿到我要的数据。
用web services,也是post参数到server,然后拿到我要的数据。
这2种方法有啥本质区别吗?拿数据,不用web services照样可以啊。web services的
优点到底在哪呢? |
|
c*********e 发帖数: 16335 | 11 我現在就是用#2,单独写个monitor,用php,java,c#写都无所谓,用php写最简单,一
个php文件就够,如果service不运行了,就给某人发个email.
最好是多个web server上都检测这一个service,如果这个service很重要的话。这样如
果其中一个monitor的server断电了不运行了,其它monitor还在monitor. |
|
t***q 发帖数: 418 | 12 如题,要建一个 web service, 有 query string 的功能。主要是,有一个 影视作品
的title 进来,用 web service 里的 一些function, 和已有的一个 flat file, 那个
flat file里,有许多影视作品的 title , 及其他一些信息, 用这个 flat file, 和
已输入的 title, 算出与之最相似的影视作品的title, 然后 call 相关 url 后, 能
有一个 hash table 输出, 其中有最相近的 title , 和 相似率, 一个类似
confidence level 的东西。
例子如下:
http://www.dreamsyssoft.com/python-scripting-tutorial/create-si
现在就是不知道如何把query string , 还有算 相似度的function 加进去。其实自己
也不知道这个例子到底有没有用,对这个问题。谁能说说?还有就是哪位能给个 web
service 用 query string的标准的例子,链接之类的。多谢! |
|
t***q 发帖数: 418 | 13 大家好。我的那个web service 做成了。用了python 的 web.py.
install web.py
cd webpy
编辑python web service.
#!/usr/bin/env python
import web
import csv
import difflib
import re
import operator
import Levenshtein
urls = ('/title_matching2','title_matching2')
app = web.application(urls,globals())
class title_matching2:
def __init__(self):
self.hello = "hello world"
def GET(self):
getInput = web.input(name="World")
b=[]
with open("Book1.txt","rb") as k:
for row in k:
... 阅读全帖 |
|
s****y 发帖数: 503 | 14 前台和Java后台之间用Restful Service通讯,Java端需要访问有安全认证(Username/
Password Authentication)的Web Service,请求和响应的xml都蛮复杂的,xml还要和
json进行转换。因为我的App Server是支持JavaEE 7的WebLogic,J2EE 7里的Jax-rs 2
.0和Jsonp对restful支持蛮不错的,那访问Web Service应该怎么实现呢?尤其是
Authentication怎么做比较好? |
|
d*******r 发帖数: 3299 | 15 有从全美or全球范围测试latency的service么?
比如我有个网站 IP (or DNS name), 我告诉这个 service (比如一个test页面), 然后
这个 service 从全美or全球模拟多个 client browsers 来access我们的网站, 然后告
诉我从各地链接我网站的 latency? |
|
p******1 发帖数: 79 | 16 做了一个web service, 主要是算一些数。用的是webpy 的get:
urls = ('/calculate','calculate')
app = web.application(urls,globals())
class calculate :
def __init__(self):
self.hello = "hello world"
def GET(self):
getInput=web.input
b=[]
with open("file.txt","rb") as k:
for row in k:
row=row.split("t")
if len(row)==8:
b.append(row)
就是先用getinput 得到一个值,然后再读入一个数据, file.txt, 用 file.txt 的数
据和 getinput 的值做计算。... 阅读全帖 |
|
z****e 发帖数: 54598 | 17 这就是为什么fp瞎扯淡的原因
service一般都是func的包装和集合
如果你连service起名都困难的话
那别人要看懂你这个service是干嘛的
那就更困难了 |
|
p*******8 发帖数: 344 | 18 需求如下:
language: java
scalable
rerun task when it's failed
基本概况:现在有些service需要publish content以便其他的service consume,所以
需要一个service能够接收publisher publish的content, 一旦这个内容有变化,
notify 所有consumer,notify的action有可能是发email, trigger api,取决于
consumer subscribe的时候的选择,怎样能够让他scalable? 一次有且仅有一个worker
会notify, 如果fail了,自动rerun。大致的diagram 如下:
publisher1 publisher2
| |
| -----------------------------------------|
| ... 阅读全帖 |
|
s********k 发帖数: 6180 | 19 如果有一个machine learning model需要deploy到online service上,但是其中某些
feature的数据要么query另外service,要么隔段时间load一次offline的,假设query
另外的service太慢,那么这么每隔一段时间load offline的数据,怎么做比较合适?
哪些框架比较好? |
|
a****e 发帖数: 40 | 20 【 以下文字转载自 shopping 讨论区 】
发信人: alizee (Love her), 信区: shopping
标 题: How about Windows Unix Service 3.5? (转载)
发信站: BBS 未名空间站 (Thu Aug 25 00:38:21 2005)
发信人: alizee (Love her), 信区: Software
标 题: How about Windows Unix Service 3.5?
发信站: BBS 未名空间站 (Wed Aug 24 23:34:52 2005)
Does anyone have experience with it?
The windows command window is not good, I like the unix one. And this Windows
Unix Service seems provide a whole suite of unix stuff.
Just don't know if it is good or not?
Thanks a lot!
Alize |
|
a**********n 发帖数: 154 | 21 前一阵瞎折腾,把windows xp的很多service disable了。这两天要用modem发传真(以
前用过没问题),想起fax service也给停了,试着enable,可是跳出个出错窗口,提
示还有相关的service也要enable,又不告诉是什么。琢磨了一阵,应该是telephony。
没想到一启动,系统就没有响应了。重复了几次,只能在安全模式里disable,传真还
是没法用。大家看看出了什么问题,是不是系统的问题,还是modem驱动或是硬件问题
。谢谢。 |
|
l******9 发帖数: 579 | 22 【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: access a server not through remote desktop service on windows
发信站: BBS 未名空间站 (Sun Oct 5 09:48:27 2014, 美东)
I need to access a server by windows remote desktop of WIN 7. Because it is
shared in a group, only one user can access it through remote desktop
service.
How to access the files and application programs when it is being accessed
by remote desktop service by another ?
Sometimes, I only need to copy a large file from ... 阅读全帖 |
|
l******9 发帖数: 579 | 23 【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: access a server not through remote desktop service on windows
发信站: BBS 未名空间站 (Sun Oct 5 09:48:27 2014, 美东)
I need to access a server by windows remote desktop of WIN 7. Because it is
shared in a group, only one user can access it through remote desktop
service.
How to access the files and application programs when it is being accessed
by remote desktop service by another ?
Sometimes, I only need to copy a large file from ... 阅读全帖 |
|
t******y 发帖数: 891 | 24 onsite前要确定是申请哪条线,有以下两个可选
Financial services clients (such as banks - hedgefunds - insurance companies
- etc.)
Non-financial services clients (such as consumer products - technology
companies)
哪个对以后职业发展更好啊?
听说financial service clients要加班的时间更久?
非常感谢 |
|
t******y 发帖数: 891 | 25 onsite前要确定是申请哪条线,有以下两个可选
Financial services clients (such as banks - hedgefunds - insurance companies
- etc.)
Non-financial services clients (such as consumer products - technology
companies)
哪个对以后职业发展更好啊?
听说financial service clients要加班的时间更久?
非常感谢 |
|
b****7 发帖数: 109 | 26 I am not working at big four. However I totally agree it is absolutely
unprofessional to disclose the names of the service provider in a public
forum. The post has racial profiling which is not appropriate at the
minimum, if not illegal. Not all the partners in big four are experienced
in every subject of technical issues. That is why they have national office
consultation group to deal with the high risk complex issues. If you are
concerned of the quality of the service, you should follow ... 阅读全帖 |
|
s****h 发帖数: 25 | 27 【 以下文字转载自 JobHunting 讨论区 】
发信人: splash (speak up), 信区: JobHunting
标 题: Anyone wants to use/share Vault.com premium service?
发信站: BBS 未名空间站 (Mon May 21 14:41:45 2007)
Anyone here wants to use Vault.com premium service ("Vault Gold Membership")
to research your current or potential employers?
Or, is anyone already using this service and willing to share it with me? I
will pay, of course.
The lowest subscription is $15/mon for 3 months. I only need to look up 2-3
companies. It would be better if |
|
n****3 发帖数: 2 | 28 车祸,我是被告,我的车保险公司的律师建议do not challenge service。但我没明白
这和challenge service有什么区别,对我有什么好处?有什么不利吗?
do or do not challenge service都要经历同样法律程序 |
|
d********i 发帖数: 70 | 29 【 以下文字转载自 Family 讨论区 】
发信人: daxiangtui (大象腿), 信区: Family
标 题: 急问,没有perform jury service,过了service date
发信站: BBS 未名空间站 (Fri Dec 9 22:23:00 2011, 美东)
因为不是美国公民,所以觉得不该去,但是今天看信,说要report the reason
如果没有就要被罚款或是被送到监狱,怎么办呀
有谁经历过这种情况吗 |
|
c******y 发帖数: 96 | 30 【 以下文字转载自 JobHunting 讨论区 】
发信人: chinasty (chinasty), 信区: JobHunting
标 题: An engineering job oppotunity in a major oil service company
关键字: engineering,solid mechanics,drilling dynamics
发信站: BBS 未名空间站 (Thu Dec 4 09:52:37 2014, 美东)
Please send me your resume if you are interested.
Below is the job description.
Drilling Dynamics Modeling Engineer (NAM)
Location: North America – Various, most likely in Houston, TX
Job Summary:
The Drilling Dynamics Modeling Engi... 阅读全帖 |
|
o***g 发帖数: 29 | 31 Sharing this email from NRMP. It is about the profit scramble services.
Overall, they are not favorable by NRMP as well as the unfilled programs. So
be cautious and think in advance about the outcome of these services. Good
luck, everyone going for the match and the scramble!
TO: Applicants in the 2010 Main Residency Match
The NRMP has received numerous phone calls from applicants asking about for-
profit services that claim to send unmatched applicants' applications to
unfilled programs during |
|
l******9 发帖数: 579 | 32 【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: access a server not through remote desktop service on windows
发信站: BBS 未名空间站 (Sun Oct 5 09:48:27 2014, 美东)
I need to access a server by windows remote desktop of WIN 7. Because it is
shared in a group, only one user can access it through remote desktop
service.
How to access the files and application programs when it is being accessed
by remote desktop service by another ?
Sometimes, I only need to copy a large file from ... 阅读全帖 |
|
m******h 发帖数: 297 | 33 这篇文章:
http://www.bloomberg.com/news/2013-11-05/there-s-a-better-way-t
这个数据很有意思。
“Many large private insurers are already starting to abandon the fee-for-
service system. By the end of last year, more than half the primary-care
providers in WellPoint Inc. (WLP)’s network worked under some sort of value
-based purchasing program; for Humana Inc. (HUM), that figure was 84 percent
. ”
PCP们只不过是小白鼠吧?大家怎么看这一段:
”One drawback to the proposal in Congress is that it moves too gradually.
Starting in 2016, d... 阅读全帖 |
|
z*******n 发帖数: 1034 | 34 http://venturebeat.com/2014/04/24/facebook-buys-moves-exercise-
Facebook just bought itself an exercise app.
It has snapped up Moves, a popular exercise app and pedometer. The app will
live on, according to a blog post from Moves maker ProtoGeo Oy, a Finnish
company founded in 2012.
moves-on-iphone5sFrom the company’s announcement:
For those of you that use the Moves app – the Moves experience will
continue to operate as a standalone app, and there are no plans to change
that or commingle da... 阅读全帖 |
|
z*******n 发帖数: 1034 | 35 August 4, 2014 12:43 PM
Jordan Novet
Some people might criticize alternative cab service Uber for taking in lots
of money through its surge-pricing system for increasing prices when demand
is high. But the startup has been lowering its prices, and now Uber is
rolling out a not-for-profit service in Beijing.
Uber announced the new program in a blog post yesterday from Ben Chiang:
People’s Uber brings promising innovations fit for a city with Beijing
’s scale. Using the same Uber app, riders c... 阅读全帖 |
|
z*******n 发帖数: 1034 | 36 Pricing tracking and alerts service Nifti is testing the waters with a new
application called Cinch (no, not Klout’s advice-giving app also called
Cinch, but very close.) In fact, Nifti’s new app is practically a variation
on Klout’s earlier arrival, as Klout’s Cinch is about asking for
recommendations and Nifti’s Cinch is about asking for opinions. That is, it
’s meant to be a quick way to poll your friends and get their feedback by
posting photos and asking friends to choose which is best.
The... 阅读全帖 |
|
z*******n 发帖数: 1034 | 37 February 10, 2015 6:19 AM
Harrison Weber
Today Yelp announced it’s acquired Eat24, an online food ordering service
and long-time Yelp partner. The deal, which has already closed, is valued at
$134 million and amounts to $75 million in cash and 1.4 million shares of
common stock.
Founded in 2008, Eat24 competes with the GrubHub Seamless food ordering
monolith. Eat24’s 2013 deal with Yelp, where it added an ordering widget to
various restaurant pages, gave the service a fighting chance against lar... 阅读全帖 |
|
r*******k 发帖数: 1423 | 38 Dear RingPlus Members,
RingPlus was able to extended service as late as February 21, 2017
eventhough when we expect the migration to Ting to happen somewhat sooner
next week (before February 21). Ting will announce the actual migration date
soon.
You do not need to worry that you may lose your phone numbers or service!
All numbers will be moved to Ting. (Ting will allow you to freely port in
and out.) In addition, RingPlus made free and 1 cent daily plans available
with a small ($2) auto top up ... 阅读全帖 |
|
w*******y 发帖数: 60932 | 39 I got the following mail from Vonage and Called up customer support that I
want to cancel Vonage service . They initially told me that you have to pay
Termination fee, but when I told them that I am cancelling the service
because of this e-mail . they agreed to cancel without any Termination fee
.
It not wise to pay 35 buck when u get same service from ALLVOI for less
without contracts
__________________________________________________ ___________________
Dear XXXXX XXXXXXXX,,
We appreciat |
|
w*******y 发帖数: 60932 | 40 Retroneu
Tivoli 62 Piece Flatware & Serving Set, Service for 12
$49.99 Free Shipping
Today only!
A modern masterpiece of elegant styling, this deceptively simple flatware
design is the ideal representation of form blending with function. The
slender angled stem swells into a full-bodied handle, comfortably heavy in
the hand. Expertly crafted from 18/10 stainless steel. 62-piece set with
service for 12 includes 12 each of: dinner fork, salad fork, soup spoon,
teaspoon, and knife, plus 1 each of s... 阅读全帖 |
|