boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Which Web service is better EJB or RPC
相关主题
Re: Which Web service is better EJB or R
webservices products
怎么把servlet publish成web services
大家都是搞技术的
什么是JAX WS
j2ee without EJB
J2EE 会热多久?
java web service 得迷惑
请问一个问题
vaadin
相关话题的讨论汇总
话题: ejb话题: web话题: rpc话题: services话题: service
进入Java版参与讨论
1 (共1页)
c***c
发帖数: 6234
1
I was using EJB web services. Now I found that RPC web services is much
simpler. It also has OUT, INOUT parameter. RPC web serivces can be used by
.NET
I have to modify EJB web services to RPC web services.
What is advantage of EJB web services? Thanks
t*****s
发帖数: 124
2
What's the definition of "EJB web services" and "RPC web services"?

【在 c***c 的大作中提到】
: I was using EJB web services. Now I found that RPC web services is much
: simpler. It also has OUT, INOUT parameter. RPC web serivces can be used by
: .NET
: I have to modify EJB web services to RPC web services.
: What is advantage of EJB web services? Thanks

r***l
发帖数: 67
3
Guess you do not know web service very well. There's no EJB web service per
se.
Web service has nothing to do with platform and a specific technology, e.g.
EJB.
Web service comes with two flavor (style) - RPC or Document.
In Java world, you can wrap a EJB with a web service. Then, your EJB will be
invoked from other language/platform, e.g. .NET. The web service on top of EJB
can be either RPC style or Document style.
So, you question itself is kind of wrong already. Web service looks simple,
but

【在 c***c 的大作中提到】
: I was using EJB web services. Now I found that RPC web services is much
: simpler. It also has OUT, INOUT parameter. RPC web serivces can be used by
: .NET
: I have to modify EJB web services to RPC web services.
: What is advantage of EJB web services? Thanks

c***c
发帖数: 6234
4
Yes I am new in Web Services. My boss just gave me a concept and I have to
figure out everything
In wsdd file, there is either provider="RPC" or provider="EJB". If I am using
EJB in web services, I have toconvert java code to EJB, generate local and
remote interfaces and create ejb-jar.xml. If I do not use EJB, I can keep old
java code as business methods and simply wirte deploy.wsdd file to deploy the
web services. So I think "RPC" is much simplier.
Thank you very much. I will read more to dige

【在 r***l 的大作中提到】
: Guess you do not know web service very well. There's no EJB web service per
: se.
: Web service has nothing to do with platform and a specific technology, e.g.
: EJB.
: Web service comes with two flavor (style) - RPC or Document.
: In Java world, you can wrap a EJB with a web service. Then, your EJB will be
: invoked from other language/platform, e.g. .NET. The web service on top of EJB
: can be either RPC style or Document style.
: So, you question itself is kind of wrong already. Web service looks simple,
: but

r***l
发帖数: 67
5
WSDD, then you are talking about Axis. It is Axis specific, about to deploy a
web service using Axis implementation.
Starts from WSDL, in WSDL, there's "RPC" style and "Document" style. Once you
understand the basic Web service better, then touch Axis.

using
old
the
per
e.g.
be
simple,
about
by

【在 c***c 的大作中提到】
: Yes I am new in Web Services. My boss just gave me a concept and I have to
: figure out everything
: In wsdd file, there is either provider="RPC" or provider="EJB". If I am using
: EJB in web services, I have toconvert java code to EJB, generate local and
: remote interfaces and create ejb-jar.xml. If I do not use EJB, I can keep old
: java code as business methods and simply wirte deploy.wsdd file to deploy the
: web services. So I think "RPC" is much simplier.
: Thank you very much. I will read more to dige

i****k
发帖数: 804
6
In general, use pure Java (POJO) vs. EJB as much as possible.
Architecturally speaking, once you start using EJB, your web services has a
dependency on a specific implementation technology - EJB. This brings a whole
bunch of issues. First, your MTR now includes an EJB container. Second, EJB
itself is a controversial technology. Some published J2EE experts have been
evangelizing J2EE architectures without EJBs, or only stateless session beans.
Third, your collegues will laugh at your design. :-)

【在 c***c 的大作中提到】
: I was using EJB web services. Now I found that RPC web services is much
: simpler. It also has OUT, INOUT parameter. RPC web serivces can be used by
: .NET
: I have to modify EJB web services to RPC web services.
: What is advantage of EJB web services? Thanks

1 (共1页)
进入Java版参与讨论
相关主题
vaadin
本菜对EJB一问
java的东西好多
Re: Can Web Services return Hash or Obje
What is the difference between web application and web services?
现在做jasper report,amazon web services了,goodbug我要经常向你请教了。
anybody familiar w/ Axis? targetService is null
deserializer probelm.Ignore upper. Thx
[转载] 急!在线等---从Servlet调用AXIS的Web Service 遇到问题!
J2EE和未来工作问题
相关话题的讨论汇总
话题: ejb话题: web话题: rpc话题: services话题: service