搜索资源列表
865880434
- 服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080,然后无限循环调用accept()方法接受客户程序的连接 客户通过Socket(InetAddress,port)建立与服务器的连接。服务器与客户都通过构
springmvc_exception
- Spring mvc ajax请求和普通请求的通用异常处理-Spring mvc ajax requests and general requests General Exception Handling
Server
- 聊天程序主要利用Java网络包中的服务器套接字和客户端套接字实现,其核心部分的实现思路如下: 服务器根据指定的端口创建服务器套接字,并在该端口侦听连接请求; 每一个新加入的客户端创建客户端套接字,与服务器进行连接; 每一个连接在服务器有一个连接池保持连接; 当其中的一个客户端发出群聊或者上线下线信息后,对应的连接的服务器程序在接收到该消息后,向其所维持的所有的客户连接广播该消息。当客户端发出单独聊天,文件传输等需要发给指定用户的消息时,服务器端遍历连接池找到对应客户端,将消息单独
httpclient
- httclient 获取网页请求提交post请求 需有apache 的httpclient的jar包-httclient post requests for Web page requests submitted by the need for apache' s httpclient jar package
AdbHelper
- Helper class to handle requests and connections to adb for Andriod.
WifiService
- WifiService handles remote WiFi operation requests by implementing the IWifiManager interface.
BasicHttpProcessor
- Keeps lists of interceptors for processing requests and responses.
JsPromptResult
- Public class for handling javascr ipt prompt requests.
socket_communication
- TCP套接字编程实现: 开发一个多线程服务器,它能并行服务于多个请求。 提示: 用Java或c/c++语言开发; 通过调用操作系统API接口创建线程; 假定3个客户端,客户端i发送“Hi,God”,服务器回答“What can I do for you, my son i”,客户端收到后显示服务器回答。 分别用TCP和UDP两个协议来测试,端口号自定义 -TCP socket programming: Develop a multi-threaded server,
BufferedOutputStream
- Expensive interaction with the underlying input stream is minimized, since most (smaller) requests can be satisfied by accessing the buffer alone.
EventLoader
- Code for handling requests to get whether days have an event or not and filling in the eventDays array.
one-drawing-program-based-on-java
- 一个绘图程序,程序可以根据用户的请求绘制圆、矩形、直线等几何图形,并且可以移动这些图形.-A drawing program, the program can be based on user requests to draw a circle, rectangle, line and other geometric shapes, and can move these graphics
HttpClientConnection
- An HTTP connection for use on the client side. It is used for sending requests and receiving responses.
jsp_servlet_javabean_school
- SourceJammer-是一个纯Java的源码与版本控制系统。它包括一个服务端组件用来管理文件及版本历史,处理登入,登出等和其它命令;一个客户端组件用来处理对服务器的请求及管理在客户端文件系统上的文件。-SourceJammer-is a pure Java source code and version control system. It includes a server-side component is used to manage files and version history
NetInitiatedActivity
- This activity is shown to the user for him/her to accept or deny network-initiated requests. It uses the alert dialog style. It will be launched from a notification.
debug-evaluate
- The base part of all evaluate requests.
HttpRequestExecutor
- Sends HTTP requests and receives the responses.
HttpGetDemo
- 使用http的网络请求,封装-Http requests using the network, the package
SPOOLING
- 要求设计一个SP00LING输出进程和两个请求输出的用户进程,以及一个SP00LING输出服务程序。当请求输出的用户进程希望输出一系列信息时,调用输出服务程序,由输出服务程序将该信息送入输出井。待遇到一个输出结束标志时,表示进程该次的输出文件输出结束。之后,申请一个输出请求块(用来记录请求输出的用户进程的名字、信息在输出井中的位置、要输出信息的长度等),等待SP00LING进程进行输出。 SP00LING输出进程工作时,根据请求块记录的各进程要输出的信息,将其实际输出到打印机或显示器。这里,
ajax
- 学习ajax的异步请求方式,了解到如何异步请求并传值来获取数据的方式-Way to learn ajax asynchronous request mode, asynchronous requests and learn how to get the data by value