1128 byte By
sam021a at 2007-9-26 5:44:36
hi.i have a client applet(in website) and server application designed to communicate via sockets.i know how to publish my applet and that the web browser will run it automatically, but the problem is with the server application.i don't know how to indicate that the server application should be ...
Guys, I have a query regarding SNMP Can it be used to trigger some operation in the SNMP Agent side? let me explain the scenario.. say Machine 'A' is the client here and Machine 'B' is the SNMP manager. Something happens in 'A' and it sends a 'trap' to 'B'. 'B' in turn triggers ...
1083 byte By
aJProg at 2007-9-26 6:08:03
Hi all,my problem goes like this....i have two distributed applications ,one of which resides on the local intranet,and the other one on the web server(Internet).they communicate with each other via raw sockets.NOW...whenever the local application has to talk up to the web server ...
Anyone tried this? I keep getting an exception when I try to send the message. I'm accessing a third perty server running .NET, so I can't just change the server to a Java server, as I'm sure some smartaleck will point out. Is there some unforeseen difference between SOAP on .NET and SOAP in ...
hi,can some one help me out with the system design of Java2 ORB.i mean how actually object request broker has designed in the system.(system level design not application level).any sites,references deals with this...?Thanks,Kishore.
I need to connect to a dataserverit seems i have two choice,I can use URL myURL = new URL(" http://server:port#/../.... " )URLConnection mycon = myURL.openConnection( ) ; or I can use socket connection by passing server nameand prot number.Here is my questionWhat is the pro and con of this two ...
1216 byte By
joefk at 2007-9-26 6:45:53
Hi,Two related questions:1)I want to have an applet write back to a file residing on the applet's server. I know about using a servlet or writing to a CGI program.Are there other ways to do this? (I've read various previous responses in these forums but a lot of the links that were given are ...
How can I emulate 'NET VIEW' command of Windows NT in java? I want my application to display all the host names in the windows network in a particular domain. Is it possible how?
wat is the best sollution for applet to server communication ?I need a way to communicate from an applet to a ejb server, the connection should be statefullGreetz-tbone
1093 byte By
ebits at 2007-9-26 7:06:29
I have spent the day looking on the www for an answer to this enigma:It seems that the java.net classes make use of http.proxyHost & http.proxyPort system properties to connect to a host via a proxy server. I've not tested this in an application, but I will assume that it works.However, I ...
Ok, here's the situation, I have written an instant messenger (as has everyone here by all accounts). Currently the applet that the client uses connects back to the host and sends serialised messages back and forth between the two.However my company now want to know whats involved in hiding ...
181 byte By
deron at 2007-9-26 7:33:10
I'm trying to ,if a certain condition arises ,close a web page via the response.setHeader("Refresh","JavaScript:window.close()"); method. Is this the correct syntax ?
399 byte By
shuja12 at 2007-9-26 7:43:10
Is it possible to determine the domain name in Java? I tried the following but only get the machinename, without the qualifying domian.import java.net.*;public class Hostname{public static void main(String[] args){try { System.out.println(InetAddress.getLocalHost().getHostName()); }catch ...
264 byte By
remiam at 2007-9-26 7:49:36
I have relationdatabase (NOnStopSQL) on Tandem series S. My problem is: how I can make connection on it with JDBC driver. I heared that it posible. What I need o client and server side. If have somebody sort sample about it!!thanksilica
380 byte By
san_dro at 2007-9-26 7:55:51
hi all, i have this problem:i wrote 2 class: one that implemets a client and one that implements a server. on the server side i have a counter that counts how many clients requested a connection (the counter is incremented after the accept() method).is there an automatic way to know when a ...
174 byte By
mkowales at 2007-9-26 7:57:36
where can i find the javax.management.snmp package? i have downloaded the java management extension (jmx) package, but the snmp package was not included.
342 byte By
delattrj at 2007-9-26 8:01:45
Hi,I'm looking for an IP generator.I just want to get a list of IP adresses in a range.Like this 192.168.1.1192.168.1.2...192.200.100.77...Which I can tell the first IP and the number of addresses I want.Has someone found something like this ?Thanks. ...
212 byte By
shodson at 2007-9-26 8:13:04
How can I create a socket to a server if the client is behind a proxy server? I know java.net's HTTP-related classes have built-in proxy server support but this is not for a HTTP-based application.
1893 byte By
bartwo at 2007-9-26 8:22:04
Hi,I'm working on a large program that currently uses Object Input/Output streams for all of the messaging in a client/server application. This works fine except when files need to be transferred. In many cases using a Object stream to send a file can be 30 times slower than using a Buffered ...
Hi,I'm looking for a way to run servlets on IIS; SUN's servlet page and some books say "now it's supported by MS IIS", but that doesn't seem to be exactly the case, right? There is an article from PC magazine *1997* online saying "And yes, IIS now fully supports Java through a Java virtual ...
1616 byte By
p_sb at 2007-9-26 8:28:03
hiI am quite new to java and am trying out urlconnection on a servlet.I am behind a proxy server and when I try to go through it to get a webpage, it gives me back the proxy server's index.html (the one you get when you type the proxy address in the address bar)here's the code(part of it ...
1382 byte By
bartwo at 2007-9-26 8:33:06
Hi,I'm writing a program that must transfer 50 megabyte files over a network. I'm trying to re-use a byte array to send the file over in many small chunks. I fill up the byte array with part of the file and send it over multiple times. Here's the problem... If I keep re-intantiating a new ...
257 byte By
DeeS at 2007-9-26 8:43:42
Hi,I'm sure this question has been asked a 1000 times but can't seem to get any decent answer.I have a system built using servelets and my own http session layer. How scalable is this and should I be considering EJB's ?
The application which I am developing is a typical client-server app using Java sockets with TCP/IP. I am using DataInputStream/DataOutputStream for reading/writing. Till the time the no. of streams is less than 25 it works fine and no data corruption is there but if we create more streams it ...
823 byte By
DjDelete at 2007-9-26 9:03:41
I am trying to get my java code to do a rebind with a OpenORB naming service. The connection to the naming service works, but when I get to the line: ncRef.rebind(nameComponent, server_name); I get the error:org.omg.CORBA.BAD_OPERATION: The delegate has not been set! minor code: 0 completed: ...
3664 byte By
mrbeeper at 2007-9-26 9:04:17
My experience with server sockets has been to write a server as shown below in pseudo code.LoopAccept() Socket ConnectionEstablish Inbound StreamEstablish Outbound StreamRead Inbound dataDo something with the dataWrite outbound dataclose streamsclose socketEnd LoopThis process works well for me ...
1009 byte By
Morat2 at 2007-9-26 9:09:25
Hi, I've written a small program to download files over HTTP from the command line (instead of using Gozilla).Sometimes when fetching a large file the download stops part way through. There seems to be no pattern to this, it might stop at different random points. However, if the problem exists ...
453 byte By
xxbuff at 2007-9-26 9:14:04
Hi! I have read alot of threads indicating that people are using Orbacus for their CORBA implementations. I am in a crunch to get some numbers together for a project and after phone calls and emails that are not returned, here I am. Does anyone have the pricing for the Orbacus CPU license? How ...
HiI have a Weblogic as a web server.I want to connect (from a emote computer) to a directory which is in the web server, and to query for the list of files it has.I want to use HttpURLConnection for this (with no servlet, or jsp involvd).Any one has suggestions? ...
Hi,I'm working in a network environment with no proxy required to connect to the Internet. I'm developing a few simple network applications. How can I ensure that my applications will still work correctly when I deploy them in another network containing a proxy server?Do I need to consider ...
I have created a custom class loader based substantially on Jim Farley's code in "Java Distributed Computing" pp 39-44.The code does get a URL connection, download the class file, but fails when it tries to load (re-load) java/lang/Object. My understanding is that the same (custom) class ...
17412 byte By
jmgraham at 2007-9-26 10:00:56
COMMUNICATION BETWEEN JAVASCRIPT AND JAVA APPLET PROBLEM (Easy Filter Java Applet) - US$20 TO ANYONE WHO CAN RESOLVE THE PROBLEM To forum visitors: I am prepared to pay a standard shareware fee of US$20 to a user who can resolve this technical problem.If your advice resolves the problem, I'll ...
699 byte By
ayazata at 2007-9-26 10:10:56
I tried connecting Visual Basic applications with Java.The problem which i am facing is that java sockets grab stream (getiostreams) from sockets while connecting.Whereas i could not find a method in Visual Basic which would permit such a feature for its socket.Java to Java TCP connectivity ...
Does URLConnection handle chunked data? It seems it's doing that automatically. I used setPropertyRequest("transfer-coding", "chunked") to check it, but I didn't receive any chunked data.So I removed this setPropertyRequest. I want to know if URLConnection is doing that automatically or I ...
588 byte By
mwone1 at 2007-9-26 10:32:43
I'm looking for a mechanism to store global data that is shared: read/write across multiple servlets residing iin multiple machines. I'm investiigating using NFS (or SAN, or NAS).Please share any experiences, especially pitfalls using these mechanisms. My app needs to read or overwrite a file ...
Although port 80 is the default for an http connection and port 443 is the default for https, is it possible to use other ports and just specify that port number in the calling URL?
1877 byte By
mano11 at 2007-9-26 10:43:13
Hi there,I get this exception when trying to connect to our proxy server.However, applets, etc. work fine using the same jre1.3.1.This is the exception:Exception in thread "main" java.net.SocketException: Reply from SOCKS server has bad version 72at ...
206 byte By
akhid at 2007-9-26 10:44:29
Hi,I want to run my server on multiple machines on the LAN. I want do load balancing among my servers. How can I find how many servers running on what machines?thanks in advance.
453 byte By
tjad01 at 2007-9-26 10:44:32
Does anybody know (a) if it is possible to make a connection to a modem via java, and (b) approximately how to do this?I have looked at the comm api, and it doesn't seem to really offer a solution. Ths only way I can see to use it is to let windows maintain the modem connection and just use a ...
547 byte By
paradkan at 2007-9-26 11:10:17
App. Server: J2EE 1.3 RI EJB 2.0We have a requirement where we need to write to a file, from an ejb, using a helper class. As per EJB 2.0 specs, this is permitted. However, while doing this we are getting "AccessControlException."We tried changing the server security policy file granting all ...
I am new in java and I guess the best way for me to reach a wide overview is to develope my own Messenger, client and server. Any good reference or sample source code will be of great help, since I don't know where to start,thanks
312 byte By
hong2409 at 2007-9-26 11:13:36
my internet explorer cannot view in IE 5. what happen to the my Japplet?Recently i have develop a chat room with java applet but it cannot view in IE5 browser. i use appletviewer, the applet is normally started and can normally function...with my server.hope ur help... ...
164 byte By
amr3256 at 2007-9-26 11:16:19
I am trying try to connect to my web site using URL class like new URL("https://myserver/myservlet"). but it is not connecting. What am I doing wrong?
72 byte By
TracyGG at 2007-9-26 11:16:23
Can anybody know about any good java scheduler component ?
779 byte By
TeKP at 2007-9-26 11:23:59
RMI seems to work by having one jvm (A) connect(using tcp) to another jvm (B) grab an object from it(which jvm B has exported) and then invoke methods on that object. But what if you can't make a tcp connection to the remote jvm (B)(it is behind a firewall with a private ip). Is there some way ...
hi i am trying to develop a distibuted computing modelfor scentific/engineering problem. I wanted toimplement using Java rmi. but it doesn't seem to meetour requirements.they are1. should be able to distribute over the internet.2. would like to run the client as an applet and thisis giving a ...
169 byte By
hong2409 at 2007-9-26 11:34:44
dear sir:now i develop chat room....anyone got the source code.the chat room should have admin side and client side.thank you.
181 byte By
ooiling at 2007-9-26 11:37:13
HELP!!!! This is urgent, can somebody tell me is it possible to use vnc and connect to another NT machine without key in the username and password for NT login again?
435 byte By
hhaifa at 2007-9-26 11:39:26
please i need a help,who is familiar with the jdmk snmp.i run the example given in the jdmk agent /asyncmanagerit doesn't work , i have a warning of disapprobationi don't understand the problem.there something i would like to understand , when creating the varbindlist, which kind of variable ...
651 byte By
yarikc at 2007-9-26 11:41:35
Hi.I have an application that send a "IamAlive" message every 2 min from client to the server. It uses DataOutpuStream to write the message out. I use dedicated ports which are open in both directions on the FW. I establish connection onces and use it to send messages untill IOException is ...