由买买提看人间百态

topics

全部话题 - 话题: rmi
首页 上页 1 2 3 4 5 6 7 8 9 下页 末页 (共9页)
g**y
发帖数: 4
1
来自主题: Java版 - RMI Question?
I created two servers, can I let one of them act as a client to the other?
How shall I do so ?
Thx!
v********r
发帖数: 123
2
来自主题: Java版 - RMI Question?
Yes you can.
Run rmiregistry (long time I didn't use it, but I guess that's the one)
in one machine, so this one machine is the server. Then you can write
the client programs to connect to it.
Why not look at the examples given on Sun's website? This should
be easy.
m******t
发帖数: 2416
3
来自主题: Java版 - need your comments

Since you have a rich client, either SOAP or RMI would be a better choice
than servlet.
c****u
发帖数: 3277
4
来自主题: Java版 - need your comments
thanks. Can you tell me why SOAP or RMI are better?
s*********n
发帖数: 13
5
来自主题: Java版 - need your comments
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.
f********h
发帖数: 149
6
you need to build your own protocol using rmi.
n*m
发帖数: 23
7

It does. The WebLogic's RMI implementation is pretty good.
h****r
发帖数: 258
8
来自主题: Java版 - Java能帮我做这个project吗?
Java3D + RMI?
Go to http://www.j3d.org/ for more information.
E*******s
发帖数: 42
9
来自主题: Java版 - 问一个j2ee setup问题
I am brand new to EJB.
Today I downloaded J2ee 1.4 from Sun site, and tried to play with it.
I can run the sample using ant.
but when I try to type in some java files( I copied from Headfirst EJB book),
and tried to compile using
javac *.java
I got: symbol not found: javax.rmi.RemoteException.
I did include j2ee.jar in the classpath. What else do I need to set up? or
there are more jar files to download?
Bow!!
one more confusion.
is jdk1.3 included in j2ee 1.4, should I downloaded jdk first befo
e***g
发帖数: 158
10
来自主题: Java版 - help!!
CORBA over RMI works for you first option.
the connectivity of two system is kind of trivial and established,
I would definitely choose java for database access.
F****n
发帖数: 3271
11
来自主题: Java版 - help!!
RMI就用CORBA, 会死吗


need
this
whether
to
r***l
发帖数: 67
12
Java supports CORBA through two ways:
1. Java IDL
2. RMI/IIOP
You can use either way to implement both the server and the clients. Client
always talk (RPC call) to the server first and register themselves. Sever can
expose a find function for the client to call and find other client. After
clients find each other, they can get connection information for each other
through the server registry and start chatting (RPC calls).

That
two
with
i*u
发帖数: 660
13
您好!
本人对JAVA 在分布系统(Distributed Computing
System)的应用很感兴趣,如SOAP, RMI, LDAP, CORBA...
可否推荐好的study website, 可以有这方面的Project让我来做?最好列出details, 包
括建环境,注意点...
本人很想练习JAVA编成.
特谢,
ILU
u**********e
发帖数: 282
14
来自主题: Java版 - How to make RMI bypass firewall?
It doesn't work.
1099 is just server socket. Server listens and waits there for request from
client. When it get request, it just pickup a port randomly(from free port) to
callback to client

tunneling?
firewall
a*****a
发帖数: 1429
15
来自主题: Java版 - How to make RMI bypass firewall?

to
Sounds ridicules. The so called "randomly port" is a client port, not a server
port. Server can't "pikcup" such kind of a port. Also, No firewall blocks
client ports. Otherwise, you even can't browse the net.
l****u
发帖数: 2166
16
来自主题: Java版 - How to make RMI bypass firewall?
using http tunneling yah
which will take use of port 80( the http port) to transfer request

is
m******t
发帖数: 2416
17
来自主题: Java版 - 为什么要用RMI?

You can bypassing firewall through http tunnelling.
t******c
发帖数: 348
18
作为一个准备2005秋季毕业的CS Master,
因为没有任何工作经验,也不是技术牛人,
所以我想加强一下J2EE的学习,并做一些相关的PROJECT,
对这部分概念和新技术有深入一点的了解,
以便找工作的时候更有针对性。
目前选择J2EE是因为用JAVA做过比较多的课程Project,比如用SWING, RMI之类,
比较喜欢Java的各种文档API很好找也很好用。
至于WEB应用程序,做过一点用JSP做前台,连接数据库的课程project
而对VC++,MFC我实在很头大,所以没有什么PROJECT经验。
请问有经验的各位,
目前做J2EE程序开发的市场需求如何?
和J2EE争夺市场的.net平台下的C#开发是不是更火一点?
v******e
发帖数: 63
19
来自主题: Java版 - 自己写一个Oracle的JDBC driver
Although I am a little rusty on the JDBC driver thing, you are even rusty than
I am from what you said. You can only write a type 2 JDBC driver by yourself.
Type 3 needs a RMI/JNDI server. Type 4 is pure java which means you need to
have contract with Oracle in order to know the detail of wire level format.
If you don't like oracle's jdbc driver, you can use BEA weblogic's JDBC
driver.

own
can't
have
seems
it's
c*m
发帖数: 836
20
来自主题: Java版 - J2EE入门
First you need to know the common and basic technologies and concepts about
JEE -- servlet, jsp, transaction control, JNDI, JMS, RMI, EJB, App server,
JDBC.
You don't need to know a lot about each, just reading through the tutorials on
Sun's website (the short individual tutorials, not the giagantic, 1500 pages
J2EE Tutorial) will get you started. You can put off those parts that you don'
t understand for later study. As long as you get the big picture, it is ready
to start.
Once you have a gras
c*m
发帖数: 836
21
来自主题: Java版 - J2EE入门
First you need to know the common and basic technologies and concepts about
JEE -- servlet, jsp, transaction control, JNDI, JMS, RMI, EJB, App server,
JDBC.
You don't need to know a lot about each, just reading through the tutorials on
Sun's website (the short individual tutorials, not the giagantic, 1500 pages
J2EE Tutorial) will get you started. You can put off those parts that you don'
t understand for later study. As long as you get the big picture, it is ready
to start.
Once you have a gras
c*m
发帖数: 836
22
来自主题: Java版 - 想自学J2EE
我觉得head first系列对初学者不错,很容易看懂,但是也有点深度。去amazon book
上search head first jsp/servlet, head first ejb, etc.入门之后可以看看java.
sun.com上的分项的tutorial, 我觉得他的JNDI, RMI的教程都写的很不错,有点深入浅
出的意思。注意,不是那本1400多页的The J2EE Tutorial, 那本书参考一下还可以,
当教程会看的你想自杀。
等把这些都看了之后,你自己也就知道该继续看什么了。
f******2
发帖数: 105
23
来自主题: Java版 - 想自学J2EE
thanks!

rmi
hibernate
w**e
发帖数: 37
24
来自主题: Java版 - 想自学J2EE
struts,spring,hibernate有没有好的tutorial,可以一步一教你使用? 我google了一
下,但不知道哪些比较好?

rmi
hibernate
g*****g
发帖数: 34805
25
夸张了,用rmi干吗,直接接servlet IO,或者socket都可以。
比如Weblogic admin console左边那个导航栏就是applet写的。
g****c
发帖数: 299
g*****g
发帖数: 34805
27
夸张了,用rmi干吗,直接接servlet IO,或者socket都可以。
比如Weblogic admin console左边那个导航栏就是applet写的。
g*****g
发帖数: 34805
28
夸张了,用rmi干吗,直接接servlet IO,或者socket都可以。
比如Weblogic admin console左边那个导航栏就是applet写的。
c********o
发帖数: 9
29
来自主题: Java版 - 问一个eclipse的问题
我在elipse里建立一个project以后,然后选择 run as java application,
之后elipse蹦出个框:
Select Java Application
select type(?=any character,*=any string, TZ= Timezone),
下面列出很多来:比如Activation-sun.rmi.server...
我该怎么选呢? 要运行的就是一般的java application.
多谢!!
g*****g
发帖数: 34805
30
I am leaning towards RMI now, is there any better way?
t*******e
发帖数: 684
31
同一个JVM的话,local method call就可以了,不同JVM的话,各种protocol都可以用
,类似RMI/JRMP,SOAP/HTTP,XML-RPC,还有Spring带的两个Hessian, Burlap等等。
g*****g
发帖数: 34805
32
我的问题是web server要作为client call background process,这个process是
一个email server,而不是反过来,这样基于web的各种协议都不行吧。
我能想到的只有RMI和JMX
如果基于jetty的话可以只用一个jvm,但是我不知道怎么local function call,
也许调用jetty的时候可以放一个参数进去?
好像是可以
Server jettyServer = new Server(jettyConfig);
jettyServer.setAttribute("hello", helloBean);
g*****g
发帖数: 34805
33
People are impatient, 1 minute is too long, they probably want
to see effect immediately in a demo. One the other hand,
scanning too often will degrade performance. I think I'll stick
to RMI solution, it's not very difficult.
t*******e
发帖数: 684
34
RMI is a very decent solution, unless the communication goes through a
firewall.
t*******t
发帖数: 105
35
来自主题: Java版 - type conversions
I just googled "send over wire", it looks like serialization benefits RMI.
The src code i provided is actually for a client/server model application. S
o, the serialization is an essential part for this network application. Is t
his correct?
thanks
m******t
发帖数: 2416
36
来自主题: Java版 - type conversions

Most of the network transportation mechanisms used in Java, including
RMI, require objects to be serializable to begin with. Serializable objects
can also be easily persisted into byte streams, which is useful for example
when replicating http sessions.
S
t
Right. The author must have some stronger reason to have a base class though
.
F**e
发帖数: 593
37
on the client side, I have an applet which gets data from backend/server
side.
The data on the server keeps changing. What is the best way to get up-to-
date data on the applet side?
Options I see: polling, RMI, JMS, other options?
什么办法最efficient而且又不难做?先谢了。
g*****g
发帖数: 34805
38
Using RMI may be possible achieve near real time, but if the end user
is inside firewall, it becomes big problem. For me, the best approach
may be polling to check status (not data) very frequently, and get data
whenever status is changed.
F**e
发帖数: 593
39
so you are saying best to use RMI?
p******e
发帖数: 897
40
来自主题: Java版 - Applet如何调用Server side Jar?
RMI may be the answer for you
s******e
发帖数: 493
41
directly calling ejb is not necessarily more dangerous than indirectly
calling it via servlet. Security by nature is not married with either of
them.
For desktop application, it is more common that you want object graph rather
than html, xml, or plain string (including fancy string object JSON). since
EJB is based on rmi, it is a nature fit for such scenario. Adding another
servlet layer will only cause you problem.
Actually since day one people were arguing how to handle the session states,
bas
k*********e
发帖数: 2039
42
来自主题: Java版 - 新手请教netbean的问题
如果用webapplication是可以在学校run的
出问题的是client application,就是直接run程序的。 错误位置大概就是在 call
rmi的地方,找不到主机。
我一直都不明白,电脑不是自动获取ip地址跟dsn么,怎么到了学校,还显示是xxxx.
2wire.net。
别的同学都没出现这个问题,真郁闷
A**o
发帖数: 1550
43
time for a profiler

rmi.
b***i
发帖数: 3043
44
来自主题: Java版 - java网上传输代码问题
我觉得最简陋的办法就是用html上传文件,下在运行的时候,可以生成一个网页,包含
新的class。
另外是不是rmi可以提供这样的能力,直接把代码下载运行?
g*****g
发帖数: 34805
45
来自主题: Java版 - what is best for Java Desktop GUI
My experience with web service is generally pleasant,
definitely not 10x slower than RMI.
m******t
发帖数: 2416
46
来自主题: Java版 - what is best for Java Desktop GUI

If by "web service" you guys mean soap, most client toolkits
these days support "keep alive" connections to mitigate the
latency problem.
Of course being chatty is never a good practice in any rpc
programming.
The poor performance of soap compared to rmi could mostly
be attributed to the xml marshalling cost. One project I worked
on, we had huge loan objects to ship over the wire and Axis
just couldn't handle it. We ended up doing binary serialization
ourselves and wrapping the bytes in a soa
g*****g
发帖数: 34805
47
来自主题: Java版 - what is best for Java Desktop GUI
It always depends. WS is the more ubiquitous solution
that can easily tunnel through firewall. RMI, Hessian etc.
may be restricted on your deployment firewall settings,
which may or may not be possible.
We have a server that talks hessian with admin console through
vpn, and WS with clients. I think you can always start with
RPC style WS, like spring + CXF for minimum efforts. And
seek necessary alternatives when the requirement is more clear.
There's no one fit all solution.
m******t
发帖数: 2416
48
来自主题: Java版 - what is best for Java Desktop GUI

I'm not sure I would consider firewall a major issue.
RMI also supports http tunneling. Hessian (normally)
runs over http to begin with.
u****s
发帖数: 2186
49
来自主题: Java版 - 问一个Java题
I did,忘了什么地方了,either RMI or JNI, 不加new String就是不work
m******o
发帖数: 774
50
Working on converting a rmi call to web service. The converting itself is no
big deal until I found out the returned value is a HashMap that has 7
ArrayLists. Each of these ArrayList has multiple 'regular' objects (A class
that describes a working shift), and each of these objects contains two more
ArrayLists, one contains classes that describe each segment of this shift
and the other describes related breaks and lunches, etc.
I plan to go the dumb way to convert this stupid thing to a big Strin
首页 上页 1 2 3 4 5 6 7 8 9 下页 末页 (共9页)