Location:
Search - server java
Search list
Description: 1.服务器端:(Windows平台)首先应有java环境jdk,建议采用jdk1.4,配置Taxpad或安装JCreater。然后安装SQL数据库,建立数据库javaicq,并且建立表icq和表friend。用户也可以还原数据库名字为:javaicq,,或可在SQL查询分析器里面运行代码,然后在控制面板中的ODBC数据源中设置用户DSN数据源javaicq和文件DSN数源javaicq建立与数据库的连接。然后在Taxpad或JCreater开发环境中运行javac Server.java ,java Server及可。
-1. Server : (Windows platform) should first java jdk environment, recommended jdk1.4, configuration or installation JCreater Taxpad. Then install the SQL database, database javaicq, and building tables and table icq friend. Users can also restore the database name : javaicq,, or in SQL Query Analyzer inside running code, then in the control panel ODBC data source user DSN data sources and documents DSN javaicq Soyea javaicq establish database connections. Then Taxpad or JCreater development environment running javac Server.jav a, java Server and can be.
Platform: |
Size: 19899 |
Author: tttlan |
Hits:
Description: java与 SQL Server-java and SQL Server
Platform: |
Size: 1538 |
Author: 徐光金 |
Hits:
Description: SSD8练习1 Server.java
是运用TCP套结字编程一个很好的例子
Platform: |
Size: 1274 |
Author: Zigzag |
Hits:
Description: java 做的ftp server-java does ftp server
Platform: |
Size: 30720 |
Author: |
Hits:
Description: Java写的Socks4和Socks5代理服务的客户端和服务器端工具库源码-Java writes Socks4 and the Socks5 proxy serves customer end and
server end tool room source code
Platform: |
Size: 155648 |
Author: 站长 |
Hits:
Description: Java写的http代理服务器-Java writes http proxy server
Platform: |
Size: 48128 |
Author: 站长 |
Hits:
Description: 一个简单的ftp服务程序-A simple ftp server program
Platform: |
Size: 3072 |
Author: 站长 |
Hits:
Description: small http server
Platform: |
Size: 126976 |
Author: |
Hits:
Description: 模拟TCP协议建立一个web服务器,通过把数据装入TCP套接字,可以向客户端发送.html, .jpg, .jif等格式的文件。-simulated TCP establish a web server, data loading TCP socket, can be sent to the client. Html. Jpg,. Jif format documents.
Platform: |
Size: 8192 |
Author: 木头 |
Hits:
Description: 一个用Java编写的聊天程序,包含源代码(有详细注释),说明文件和编译后的服务器端/客户端class文件-a Java prepared by the chat program includes source code (detailed notes), and compilers note after the server/client class document
Platform: |
Size: 6144 |
Author: 包包 |
Hits:
Description: 一个功能很全的ftp server 原代码。-source code of a full-function ftp server
Platform: |
Size: 181248 |
Author: sfsd |
Hits:
Description: 利用socket进行网上对话聊天,包括服务器端和客户端程序源码及用户界面的建立.-You can chat with socket online,including server and client source code and the implementation of GUI
Platform: |
Size: 6144 |
Author: 王妍 |
Hits:
Description: 本文介绍一种用Java的Socket和ServerSocket实现服务器和客户机通讯的的方法。原理是在服务器端建立ServerSocket端口并监听,接收到客户端的连接请求时建立Socket,得到Socket的输入输出流。在客户端新建Socket并获得输入输出流。服务器和客户端的输入输出流建立后使用writeLine()和println()方法彼此发送和接收数据。为提高代码效率,建立两个类clientAgent和serverAgent。
-This article introduces a Java ServerSocket socket server and and client communication methods. The principle is established on the server side ServerSocket ports and eavesdropping, reception to the client connection request to establish socket, the socket to be input and output streams. The new Socket client and access input and output streams. Server and client input and output streams used after the establishment of writeLine (), and println () side France each other to send and receive data. To improve code efficiency, the establishment of two categories clientAgent and serverAgent.
Platform: |
Size: 6144 |
Author: 郑描中 |
Hits:
Description: 一个简单的用java编写的聊天工具,用socket类处理通信部分
1.
运行server.bat
或在命令行下输入(要在工作目录):
java -jar Chat.jar 8888
打开服务器 8888也可以改为任意端口号
2.
运行client.bat
或在命令行下输入(要在工作目录):
java -jar Chat.jar
打开客户端
3.
主要类说明:
Server.java 等待用户连接,连接后为当前用户创建ServerListener对象
ServerListener.java 接受用户请求,并将消息移入消息队列
Sender.java 消息发送器,用循环不断检查消息队列中是否有新消息,有则发送消息,被发送的消息移出队列
Client.java 接受信息,提供与界面之间的接口函数
Chat.java 主要是用户界面 -with a simple preparation of java chat tools, with socket type handling a part of communication. server.bat or running the command line input (to the Public for directory) : java-jar Chat.jar 8888 Open Server 8888 can also read arbitrary port 2 . client.bat or running the command line input (to the working directory) : java-jar Chat.jar Open Client 3. main categories : Server.java waiting for users to connect, after connecting to the current users to create object ServerListener ServerListener . java user request, the information will be relocated Message Queue Sender.java news transmitters, cyclic Message Queue constantly check whether there are new news, then send messages the news was sent out of Queue Client.java receive information, interface provides the interface between Chat.java m
Platform: |
Size: 26624 |
Author: ZX |
Hits:
Description: 不到200行的WWW服务器java版
多线程的,几个IE同时请求应该没问题
内附说明,对学习JAVA多线程及
HTTP协议很有帮助-200 less than the WWW server java version of multithreading, Several IE with the request should be no problem to the accompanying literature, to learn Java Multithreading and HTTP protocol helpful
Platform: |
Size: 10240 |
Author: tary |
Hits:
Description: SSD8练习1 Server.java
是运用TCP套结字编程一个很好的例子-1 Server.java practice SSD8 is to use the word knot TCP sets a good example of programming
Platform: |
Size: 1024 |
Author: |
Hits:
Description: 编写客户/服务器程序,客户端Client.java使用DatagramSocket对象将数据包发送到服务器,请求获取服务器端的图像(考生可自选图像文件)。服务器端Server.java将图像文件包装成数据包,并使用DatagramSocket对象将该数据包发送到客户端。首先将服务器端的程序编译通过,并运行起来,等待客户的请求。-The preparation of client/server program, client Client.java use DatagramSocket object data packets sent to the server, requesting access to server-side image (Candidates may be optional graphics file). Server-side image file Server.java will be packaged into data packets, and use the DatagramSocket object to send the packet to the client. First, the procedure will be compiled by the server-side and up and running, waiting for client requests.
Platform: |
Size: 2048 |
Author: Allan |
Hits:
Description: a TelNet server coded in JaVa.
Platform: |
Size: 4096 |
Author: samuray |
Hits:
Description: 如果你开始学ArcGIS Server Java ADF的必要书籍-If you start to learn ArcGIS Server Java ADF' s need for books
Platform: |
Size: 3311616 |
Author: 温天 |
Hits:
Description: ArcGIS Server Java ADF案例教程-ArcGIS Server Java ADF Case Tutorial
Platform: |
Size: 3264512 |
Author: cuglilei |
Hits:
« 12
3
4
5
6
7
8
9
10
...
50
»