由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - need your comments
相关主题
Java能帮我做这个project吗?Another Servlet Problem:Browser Caching
【跪求】java applet下怎么执行系统的一个程序?请推荐servlet还有jsp的书
servlet的精华到底是啥?servlet读取directory的基本问题
现在做jasper report,amazon web services了,goodbug我要经常向你请教了。运行servlet时出现的http status 404问题
[转载] 急!在线等---从Servlet调用AXIS的Web Service 遇到问题!光学Java Standard 本身是不是永远不够?
怎么把servlet publish成web services请教一下怎么学习java framework,怎么找java工作
How do I send cookies from a servlet?各位大神帮看看[有包子]
理解Java Servlets [fwd]JAVA 一族
相关话题的讨论汇总
话题: servlet话题: soap话题: java话题: http话题: side
进入Java版参与讨论
1 (共1页)
c****u
发帖数: 3277
1
I am writing an application, the client side I am using java web start(
basically an application),
the server side I wrote an application for now. They communicate via
socket. Now I am wondering if it's a good idea to change the server side
to a servlet, still using socket.It might be more flexible for servlet
to talk to database? I am a novice to servlet now and still learning it.
The book says servlet can be of general purpose, but it's good at
handling HTTP related stuff.
m******t
发帖数: 2416
2

Since you have a rich client, either SOAP or RMI would be a better choice
than servlet.

【在 c****u 的大作中提到】
: I am writing an application, the client side I am using java web start(
: basically an application),
: the server side I wrote an application for now. They communicate via
: socket. Now I am wondering if it's a good idea to change the server side
: to a servlet, still using socket.It might be more flexible for servlet
: to talk to database? I am a novice to servlet now and still learning it.
: The book says servlet can be of general purpose, but it's good at
: handling HTTP related stuff.

c****u
发帖数: 3277
3
thanks. Can you tell me why SOAP or RMI are better?

【在 m******t 的大作中提到】
:
: Since you have a rich client, either SOAP or RMI would be a better choice
: than servlet.

s*********n
发帖数: 13
4
typically a servlet is deemed as an extension of web servers.
since ur client is not a web browser, it may not be necessary to use a servlet
as ur work could be heavy in format ur information dissemination.
rmi could make ur code neat. or otherwise if u wish to extend ur application as
a web service, apache axis can offer u necessary assistance.

【在 c****u 的大作中提到】
: thanks. Can you tell me why SOAP or RMI are better?
c****u
发帖数: 3277
5
thanks.

【在 s*********n 的大作中提到】
: typically a servlet is deemed as an extension of web servers.
: since ur client is not a web browser, it may not be necessary to use a servlet
: as ur work could be heavy in format ur information dissemination.
: rmi could make ur code neat. or otherwise if u wish to extend ur application as
: a web service, apache axis can offer u necessary assistance.

k******e
发帖数: 10
6
Actually, it is a good idea to use servlet at server side. But my concern
is how web start support cookie. Without cookie, you cannot use the existed
session mechanism.

【在 c****u 的大作中提到】
: I am writing an application, the client side I am using java web start(
: basically an application),
: the server side I wrote an application for now. They communicate via
: socket. Now I am wondering if it's a good idea to change the server side
: to a servlet, still using socket.It might be more flexible for servlet
: to talk to database? I am a novice to servlet now and still learning it.
: The book says servlet can be of general purpose, but it's good at
: handling HTTP related stuff.

c****u
发帖数: 3277
7
can anyboy tell me what are the pros and cons of servlet and SOAP?
Also what's their major difference?

【在 k******e 的大作中提到】
: Actually, it is a good idea to use servlet at server side. But my concern
: is how web start support cookie. Without cookie, you cannot use the existed
: session mechanism.

v*x
发帖数: 1370
8
SOAP lets you trigger processes on a server from a remote program. You can
create classes (with methods and properties) that can be created remotely
and SOAP takes care of the details about marshalling data types, even across
heterogenous environments (most of the time!). It's sort of like RPC over
HTTP. You can write SOAP in Java, C++ or other languages.
Java Servlets are specialized Java classes that handle mostly HTTP
requests/responses, they are often used to parse or fill in forms. It is

【在 c****u 的大作中提到】
: can anyboy tell me what are the pros and cons of servlet and SOAP?
: Also what's their major difference?

1 (共1页)
进入Java版参与讨论
相关主题
JAVA 一族[转载] 急!在线等---从Servlet调用AXIS的Web Service 遇到问题!
Re: serverlet怎么把servlet publish成web services
Re: how to initialize corba object orb in servletHow do I send cookies from a servlet?
Re: How to debug servlet?理解Java Servlets [fwd]
Java能帮我做这个project吗?Another Servlet Problem:Browser Caching
【跪求】java applet下怎么执行系统的一个程序?请推荐servlet还有jsp的书
servlet的精华到底是啥?servlet读取directory的基本问题
现在做jasper report,amazon web services了,goodbug我要经常向你请教了。运行servlet时出现的http status 404问题
相关话题的讨论汇总
话题: servlet话题: soap话题: java话题: http话题: side