Network 5 « Network « Java Network Q&A

Home
Java Network Q&A
1.API
2.bluetooth
3.Client
4.connection
5.Cookie
6.Development
7.Email
8.File
9.ftp
10.http
11.HttpClient
12.https
13.ip
14.Network
15.OS
16.RMI
17.Security
18.Server
19.Socket
20.tcp
21.UDP
22.url
Java Network Q&A » Network » Network 5 

1. java network program    forums.oracle.com

kiranJNI wrote: Can anyone please help me with a java program that checks whether the network connection is up or not?? The program shld check the n/w connectivity is up and then connect to the server. If your question was really "The program should check if it's possible to connect to the server and then connect to the server", then don't ...

2. manipulate network registry    forums.oracle.com

hi. i want to access the registry of a remote machine, not via the cmd commands, but via a dll file. all the dlls i have found that set the registry are complied and i cant access their functions (i dont know the names and stuff). im looking for a dll with instracations or header.. so i can access it from ...

3. network share folder access with password protected    forums.oracle.com

hi all, i have an issue with accessing a share folder with password protection through java. consider my application in server A and a share folder in server B. and both servers are in same domain and through my nerwork places from server A am able to access the share folder with password. but am unable to access the same share ...

4. Network Sound    forums.oracle.com

Hi, About three months ago I moved out of the house into a flatlet on the premises. I connected the whole house up to the internet through a repeater and my brother and I often play games with each other over the lan. The first problem is communication, I have not found any good LAN chat programs that we can use, ...

6. processing SelectionKeys in nonBlocking Socket Networks    forums.oracle.com

Hello java developers! I am currently developing a nonblocking socket network. Can someone explain how the selectionKeys are generated? For example when the client attempts to write to the server does the (isReadable) SelectionKey selected by the Selector on the server's side get formed once the client finishes writing or while starting to write? I could not find a good answer ...

8. LISTING ALL SHARED FOLDERS IN A NETWORK USING JAVA APPLICATION    forums.oracle.com

Hello Orodreth, first typing in all capital letters is considered shouting, and thus rude. Please don't do it in future. You might be able to get a list of computers on your network via Samba/JCIFS. And then ilterate over each of them to build the list. But otherwise I don't think you can't do this. Why do you need it?

9. Instantiating a network: do I need to use IllegalAccessExceptions?    forums.oracle.com

1. If a call throws an exception, you have to either catch it or pass it up by doing public static List createTarahsNetwork(...) throws WhateverExceptions Since you're doing the same thing with all the exceptions you're catching, you can just do: catch(Exception e){ ... } 2. No idea 3. Dunno! Too late into the morning to think about it. 4. Not ...

10. NonBlockingSocket network    forums.oracle.com

Hello, Sorry for the long thread, but I beg you to take your time reading it, i need help urgently, thank you I am currently developing a nonblockingsocket network. The server receives isReadable() keys and responds to them by parsing the bytes once decoded into strings and then deciding what action to take depending on the keyword (which i already defined ...

11. Networking problem    forums.oracle.com

12. Network Printers    forums.oracle.com

13. Cryptography on Networking ( Sockets )    forums.oracle.com

Thanks anyway, but im sorry if im just a student and dont understand yet what is on half that page. I have bookmarked so i can watch as im learning on college. I just wanted a simple example how to encrypt a message from the client side and decrypt on the server side. You feel upset , just ignore. Thanks anyway. ...

14. Programming with Universal Network Objects    forums.oracle.com

15. how to study java networking?    forums.oracle.com

16. video transport over network and missing classes    forums.oracle.com

hi everyone, i found a way to send and receive video over the network but it doesn't work. can you help to find any documentation or book or a piece of code for this work? also there is another problem. i have downloaded the documentation of jmf twice. but i cannot find the classes RTPManager and CaptureUtil. the platform(netbeans 6.0) which ...

17. How To Get Network Adapters & Gateway Address    forums.oracle.com

Hi, I need to get and alter the local PC's IP address and Gateway address. I know how to get the IP address using InetAddress, but I have a few questions. 1) Is is possible in Java to change the local PC's IP address? 2) Is it possible and if so how do I obtain the local PC's Gateway IP address ...

18. Multiple Network Instances?    forums.oracle.com

Hey everyone, I've got a design question for you guys. I have an program that could potentially be run from multiple workstations on a network. When this program starts, it needs to know if there are any other instances of itself already running somewhere on the network. The only way I could think of doing this is creating a temporary file ...

19. Network == Remote ?    forums.oracle.com

20. Networking questions    forums.oracle.com

Ok, im a complete noob in networking and wanna create a multiplayer game where 10-100 players can interact at the same time. Ive heard you need a server to do it, my question is can you get a reliable FREE server that you dont have to maintain? Or is there a way not to use a server? Anyways, whatever is the ...

21. plz help with networking    forums.oracle.com

22. sending a string across a network    forums.oracle.com

hi java friends! i am a pretty good programmer but i know nothing about java and networking for a final project for AP Computer science i would like to make a network gamed. If i can get the basic code for sending a string across the network i can figure out the rest. SOOOOOOO my question is, can someone give me ...

23. Looking into the possibilities of network programming    forums.oracle.com

Hi, One of my client is using a database application at their retail outlets. They have around 40 outlets located at various parts of the country. Now they want to set up a database at their Head Office and transfer all the data from the retail outlets to it. There are broadband internet connections available at all the outlets but there ...

24. java networking    forums.oracle.com

25. JNS - Java Network Simulator    forums.oracle.com

Although I have to say, if you haven't ever programmed in Java before then trying to work with somebody else's code which you downloaded is going to be challenging. Good thing you have a whole year to work on it. But you might consider waiting until you have a little more experience with Java before diving right into this project. Good ...

26. Notifying over a network    forums.oracle.com

Hi, i have multiple instances of a program over a local network, all adding data to a mysql database. Is there a simple way to notify all instances of my program of any changes to the database by another instance. One way i thought up was to create a server socket, have every instance connect to it, and when they update ...

27. About Network Programming.    forums.oracle.com

We have a server implemented in c++ and we need to communicate with the server using java client, currently the vb client is communicating with the server through a c++ dll, we tried with communicating with the server using java JNI and it is working fine, The dll is using some of the dll's of windows like wsock32.dll for socket communication ...

28. How to proceed about developing a network traffic monitering system    forums.oracle.com

I have to say; Java is not the most natural environment for this kind of stuff which is down and dirty with the operating system. You'll probably have to find a 3rd party library, of code the core access stuff through JNI. You could look at a COM+ connection with the Windows OS. MSDN is probably your best source of information. ...

29. Network Authentication    forums.oracle.com

Hi, I am relatively new to java programming, but have written several small (but usefull) applications. My school principal asked me to write a program that keeps track of pupils who broke the hostile rules. Thus far I have a graphic interface and a connection to an MS Acces database. Our school has a server based network and every pupil has ...

30. Networking problem    forums.oracle.com

31. Returning an object through the network    forums.oracle.com

Hello, I'm currently working on a Client-Server application, the application itself it's like a drawing board, the client will send a drawing command (already done), the server will catch the command (done this part too) and all the clients connected to the server should draw accordingly. Now, I have an object called "Cursor" which is the one in charge of drawing ...

32. Executing methods via network    forums.oracle.com

Hi! I'm looking for the best way to execute a method via network. My idea looks like this: class MyThread extends Thread { public int ID; // variable is being changed by object of other class that is communicating with other program via network void run() { while(true) { swich(ID) { case(1): do_smth(); ID = 0; break:; case(2): do_other(); ID = ...

33. Network Adapter Programming in Java    forums.oracle.com

Hi all, I need to send a signal from my computer to antoher computer using a Java program. The two computers are connected with the help of a network adapter (like an ethernet card). How can I do this in java? Is RMI helpful in this scenario? Any help or examples will be appreciated.

34. broadcast network program    forums.oracle.com

I have a modem connected to my wireless enabled router. I was thinking to write a set of program to broadcast message within the confinement of my router. I do not want to use a client - server architecture since I ave no server to host it and don't wish to use that architecture.

35. how to store road network data    forums.oracle.com

i am having trouble of thinking of a solution for storing road network data. i tried using arraylist but when i move a node, the adjacent segments must also move so i have to search the adjacent segments on the arraylist. this will take a lot of time if i have a big road network. can anyone suggest an idea? thanks ...

36. Java Network question    forums.oracle.com

import java.io.*; import java.net.*; public class ConsumerClient { private static InetAddress host; private static final int PORT = 1234; private static Socket link; private static Resource item; private static BufferedReader in; private static PrintWriter out; private static BufferedReader keyboard; public static void main(String[] args) throws IOException { try { host = InetAddress.getLocalHost(); link = new Socket(host, PORT); in = new BufferedReader(new ...

37. Simple Java Network Programming Question    forums.oracle.com

import java.io.*; import java.net.*; public class ConsumerClient { private static InetAddress host; private static final int PORT = 1234; private static Socket link; private static Resource item; private static BufferedReader in; private static PrintWriter out; private static BufferedReader keyboard; public static void main(String[] args) throws IOException { try { host = InetAddress.getLocalHost(); link = new Socket(host, PORT); in = new BufferedReader(new ...

38. Network Authorization and authentication    forums.oracle.com

39. java application watching network calls?    forums.oracle.com

40. Network Model: Class casting, NPE, method design    forums.oracle.com

(2) This is in the primary class called Model.java. I am getting a NPE in the main model in the buildModel() method at this line: "Node node = (Node) nodeList.get(i);" I think it has to do with my class casting. My casting is a mess, but I'm not sure how to fix it. Here are the three methods in which I ...

41. Network Interface    forums.oracle.com

42. Basic Networking Help    forums.oracle.com

I have been programmng in Java for some time and I have got the hang of it. But the one thing that puzzles me is network programming. I have had a look as Sun's tutorials but they are too complex. I have also had a look at 'Killer Game Programming in Java' and the networking is a bit too advanced to ...

43. simple networking problem    forums.oracle.com

44. Retrieve subfolders of my network places    forums.oracle.com

We are working on an application that displays the File System files in the form if Windows Explorer in an XUI dialog. How do we fetch the subfolders of My Network Places when the hierarchy of the folders is not known. I am also aware that retrieving the file list of files/folders under my network places is not possible using File ...

46. A problem with the access to local network    forums.oracle.com

The file:// transfer type means to look on the local disk, not over the network. You're making it look for a file named "192.168.1.2". What's on that host? Does that host have a web server? Does it have an ftp server or an ssh server? Does it provide a networked filesystem or something like Samba?

47. Network programming    forums.oracle.com

48. developing a software for a network    forums.oracle.com

im trying to experiment a project by writting a program for a network. thers's a network of 8-10 computers. i need to get the ip addresses of all the computers a computer is connected at a time. i mean if a computer is connect to only 1 and 2(just names) computers i want to get the ip's of 1 and 2 ...

49. java networking    forums.oracle.com

the problem with the files, its that you could registry the initial date, but you could not check the time that have passed because the user could just copy all the encrypted files and re paste in the same location after lets say 3 weeks, if so, it still would be valid for the application.

50. Network programming    forums.oracle.com

hi, my requirement is through java i need to connect ot VSS/CVS and get the latest file from it. all this is remote. through ip address i need to connect to system and get in to VSS (visual source safe) and get the latest file. any help will be much apprciated. thank you in advance.

51. Regarding getting data through network...    forums.oracle.com

Hi All, The program code I have given below is hanging and not even raising any exception, not even timeout, why I could not understand. Please Help... Example URL: http://www.mymortgagepros.com Please try this code on this URL, I am getting problem on this URL, Some Urls whereas are working perfect... public String getBufferedData(String str) { URL url = null; String line ...

52. Network Programming exam papers (college exam papers)    forums.oracle.com

hello. my name is james mcfadden and i am a final year (4th year) undergraduate computing student at Letterkenny Institute of Technology. my e-mail address is L00007992@lyit.ie. I have a question here for you. Would you have links to online versions of final year undergraduate Computing exam papers, specifically Networked Applications Development and or Network Management exam papers? I was only ...

53. java dynamic network    forums.oracle.com

54. multiple network interface in Window    forums.oracle.com

55. No network connectivity for program started using Runtime.exec()    forums.oracle.com

Hi, I'm using Runtime.exec() to start an application (the VLC media player to be precise) with a remote interface that one can connect to using telnet. Under windows this works fine and when I run my Java program VLC starts up and I can telnet to it. When running the same code under Linux and OS X however I can't open ...

56. limited broadcast on multiple network Interface    forums.oracle.com

Hi, I have more than one network interface on my computer and I would like to send out a limited broadcast on both of them. There doesn't seem to be a way to specify which network Interface to use for DatagramSocket. And currently without specification, the broadcast packet seems to be sending to only one interface. I am just wondering whether ...

57. Network model series of questions    forums.oracle.com

58. Breadth First Traversal of a Network    forums.oracle.com

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at java.lang.String.compareTo(Unknown Source) at BreadthFirstTraversal.townIsProcessed(BreadthFirstTraversal.java:130) at BreadthFirstTraversal.breadthFirst(BreadthFirstTraversal.java:68) at BreadthFirstTraversal.(BreadthFirstTraversal.java:39) at NetworkMenu.actionPerformed(NetworkMenu.java:161) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) ...

59. Advertising a service in a network    forums.oracle.com

I am running a serverapplication on a host computer. Clients connect to this server using sockets, however it is not always the client knows the IP address to the server. Is there any good way for the server to advertice its service so that the clients easily can find it and connect to it?

60. p2p network java implementation -design/scalability questions    forums.oracle.com

Hi, i am trying to build a (distributed) p2p network simultor. What's this? Each PC called "farm" will have tenths of thousands -i hope- "Peer" threads running (say level "0") . These threads will be referenced by a Farm thread running on each PC (say level "1"). In the case where a message needs to be forwarded to a "remote" Peer ...

61. Passing objects through network    forums.oracle.com

Hi, In an application, I need to pass objects between server & client. What are the possible ways to do this? Few ways that I thought of are RMI, CORBA. Each has its own pro's & con's. I thought I can analyze few more methods & analyze their positives & negatives before finalizing. Also, what are the pro's & con's of ...

62. New to Java networking    forums.oracle.com

63. JAVA Networking    forums.oracle.com

Hi, I hope that I have put this in the right place, I would like to know if there is such a thing as an actionListener that can be used for networking, instead of needing to do a while loop, and to wait for a response. (I have had a look around yet am unable to find anything on such a ...

64. Distributed networks    forums.oracle.com

Hello all, We (meens company I work for) are planning to implement distributed system that allows to connect clients and other services. Main goal is to create thing that can talk to any other service created by 3 party. System itself is distributed but we are looking for any standardized client-server connection based technology. As usually, some (that's me) has to ...

65. Java networking    forums.oracle.com

Ok I've read through that whole tutorial but I'm confused or lost on a couple of things. What types are music and movie files are they double, string, Int, float? Is there any api's you guys can point me to, to learn more about them. The tutorial only seems to be good for reading a web page.

66. Networking Question!!    forums.oracle.com

67. about networking?    forums.oracle.com

68. problem about code(class) transmission in j2se network application    forums.oracle.com

Hi , I am currently working with code transmission in java. I have a application running on a server, and I want the client to transmit a new class to the server to do the update without interfering with the running appliction. This requires server could dynamically load this new class . Could some one give me some hint? I will ...

69. Subprocess network access    forums.oracle.com

Something to do with java security maybe? dunno anything bout any of that php / network stuff xD Unless you need to open a socket / port up to google before downloading the stuffs. : - " this is true for all the procceses java starts that need network access " null

70. Large string over network    forums.oracle.com

Hi there. I have a Client/Server connection using TCP/IP. what i need to do is send a lot of data in the form of a string (it doesn't matter how i send it because at the bottom line i'll need it in the Client side in the form of a string so i can manipulate and use it -that is not ...

71. Gathering statistics in a network    forums.oracle.com

Suppose I have some clients on a network and I would like to have a program to collects statistics information about them like their memory utilization, their cpu utilization, their bandwith utilization etc, what should I do? Could I use SNMP to achieve this task or I need something else? I know this is a vague and difficult question. Currently I've ...

72. Accessing a password protected network share.    forums.oracle.com

Hi. Sorry if this has been posted before, I can't seem to find anything on it. I need to write a simple java program where I read through the contents of a directory in order to confirm which files are in it. The problem is that I need to connect to a network share where I will be asked to enter ...

73. how to read my network places in the desktop    forums.oracle.com

74. Problem with network programming    forums.oracle.com

75. Java Networking Projects    forums.oracle.com

A simple chat system. -- Just a chat server that allows multiple people to connect to at and communication. NO need to support multiple rooms. A small network game (Tic Tac Toe, chess, checker) A simple remote desktop program -- You can see the desktop of another computer and control it from a remote computer (see java.awt.Robot class) A file server/client ...

77. Help with Basic Networking    forums.oracle.com

Could you provide an example program of java networking? For example, a server and client that can communicate via chat. If you have an example of a server which communicates with multiple clients (e.g: receives information, performs calculations and then sends out the result to the multiple clients), it will be greatly appreciated if you could post that as well. I ...

79. runtime.exec for pdf on local network    forums.oracle.com

It doesnt matter for now how many backslashes do I ned to put at the beginning of path string. This code is working on a simple computer (windows xp OS). This is a java desktop application. File (I want to open) and desktop application is in the same computer. Here there is no problem... We assume String s = "c:\filefolder\file.pdf"; for ...

80. How can java programs execute automatically when it connects to network    forums.oracle.com

884924 wrote: Good Day dears... How can java programs execute automatically when it connects to network. What is "it"? That is, execute when what connects to the network? Your computer? If that's what you mean, this is not a Java question. It's an OS operational/administrative question. Executing any program, whether written in Java or not, based on some system event has ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.