Location:
Search - nio s
Search list
Description: nio的framework,不需要关注NIO编程的细节,只需要根据几个简单的API就可以使用NIO了.-nio s framework, no need for concern about the programming details of NIO only need a few simple API you can use the NIO.
Platform: |
Size: 482304 |
Author: jwell |
Hits:
Description: Java NIO示例代码,很好的演示了Java NIO的功能。Java NIO 提供了非阻塞式网络编程模式,大大提高了网络应用程序性能-Java NIO sample code, a very good demonstration of the Java NIO features. Java NIO non-blocking network provides a programming model, greatly improving the performance of web applications
Platform: |
Size: 30720 |
Author: vincent |
Hits:
Description: nio的主要作用就是用来解决速度差异的。举个例子:计算机处理的速度,和用户按键盘的速度。这两者的速度相差悬殊。如果按照经典的方法:一个用户设定一个线程,专门等待用户的输入,无形中就造成了严重的资源浪费:每一个线程都需要珍贵的cpu时间片,由于速度差异造成了在这个交互线程中的cpu都用来等待-nio' s main role is to solve the speed difference. For example: computer processing speed, and the user presses the keyboard speed. Significant differences between the speed of the two. According to the classical methods: a user to set a thread dedicated to waiting for user input, is somehow causing a serious waste of resources: all need each thread' s cpu precious time slices, because of the speed difference caused in this interactive Xiancheng the cpu have to wait
Platform: |
Size: 16384 |
Author: wangguoqiang |
Hits:
Description: java网络编程框架ApacheMina的使用手册,apacheMina方便开发NIO网络通信,多线程,无阻塞模式-java network programming framework ApacheMina' s manual, apacheMina NIO facilitate the development of network communications, multi-threaded, non-blocking mode
Platform: |
Size: 200704 |
Author: jinsedeme |
Hits:
Description: Apache Mina Server 是一个网络通信应用框架,也就是说,它主要是对基于TCP/IP、UDP/IP
协议栈的通信框架(当然,也可以提供JAVA 对象的序列化服务、虚拟机管道通信服务等),
Mina 可以帮助我们快速开发高性能、高扩展性的网络通信应用,Mina 提供了事件驱动、异
步(Mina 的异步IO 默认使用的是JAVA NIO 作为底层支持)操作的编程模型。-Apache Mina Server is a network communication application framework, that is, it is mainly based on TCP/IP, UDP/IP protocol stack of communication framework (of course, can also provide JAVA object serialization services, communication services, the virtual machine pipeline ), Mina will help us to quickly develop high-performance, highly scalable network communications applications, Mina provides event-driven, asynchronous (Mina' s asynchronous IO is used by default as the underlying support JAVA NIO) operation of the programming model.
Platform: |
Size: 394240 |
Author: Joe |
Hits:
Description: 此源码是基于NIO编写的C/S架构小程序,相信对初学网络编程的读者会有帮助-This source code is written based on NIO C/S architecture of small program, network programming for beginners that will help readers
Platform: |
Size: 4096 |
Author: 百凡 |
Hits:
Description: 介绍java nio方面的书,写的非常不错,有需要的可以下载下来看看。-Introduction java nio s book, written in a very good, there is a need can be downloaded to see.
Platform: |
Size: 2099200 |
Author: jht |
Hits:
Description: 《Java网络编程》第三版会为你介绍Java网络API的最新特性。本书讨论了JDK 1.4和1.5(现在已命名为J2SE 5)中所做的所有修改和增补。本书内容全面,涵盖了从网络基础知识到远程方法调用(RMI)等各方面的内容,书中章节涉及到TCP和UDP socket、服务器socket、URL和URI、组播以及特殊用途的API(如JavaMail)等等。本书展示了如何使用JSSE编写安全的网络应用程序,解释了如何使用NIO API编写超高性能的服务器。它还涵盖了Java对网络代理、Web cookie和URL缓存的支持。
《Java网络编程》不仅仅是对API的解释:它还展示了如何使用API。本书有很多示例,包含了几千行可以实际工作的代码(所有代码都可以在线获得),实现了功能完整的网络客户端和服务器。无论是希望编写特殊用途的Web服务器、安全的在线订单接收程序、简单的组播代理还是电子邮件客户端,都会找到可供学习和借用的代码。
无论你是经验丰富的网络开发人员、Java程序员新手,还是只希望对Java网络编程稍有些了解的人,都会发现《Java编程(第三版)》将成为你的书库中一个重要的部分。一旦开始使用Java网络API,只要你能想到它就能够做得到。
-The third edition of Java Network Programming "will introduce you to the latest features of Java networking APIs. This book discusses the JDK 1.4 and 1.5 (now named the J2SE 5) made all the changes and additions. The book is comprehensive, covering the contents of the basics from the network to the remote method invocation (RMI), book chapters related to TCP and UDP sockets, server sockets, URL and URI, multicast, and special-purpose API (such as JavaMail) and so on. The book shows how to use JSSE to write secure web applications, and explains how to use the NIO API to write ultra-high performance server. It also covers the Java Network Proxy, Web cookies, and URL cache support.
"Java Network Programming" is not just the API explanation: it shows how to use the API. The book has many examples, including thousands of lines of code can actually work (all code available online), full-featured network client and server. Whether you want to write special-purpose Web server, s
Platform: |
Size: 249856 |
Author: Dengeven |
Hits:
Description: jdk供的无阻塞I/O(NIO)有效解决了多线程服务器存在的线程开销问题,但在使用上略显得复杂一些。在NIO中使用多线程,主要目的已不是为了应对每个客户端请求而分配独立的服务线程,而是通过多线程充分使用用多个CPU的处理能力和处理中的等待时间,达到提高服务能力的目的。
client多线程请求server端,server接收client的名字,并返回Hello! +名字的字符格式给client。当然实际应用并不这么简单,实际可能是访问文件或者数据库获取信息返回给client。-jdk for non-blocking I/O (NIO), an effective solution to the problem of multi-threaded server thread overhead, but too complicated to use minor. To use multiple threads, the main purpose is not to respond to each client request to allocate a separate service thread with multiple CPU processing power and processing wait time, but fully multi-threaded so as to enhance service capabilities in the NIO purpose. This time in the NIO, to write an article blog to remember the things you learned. Or from the most simple Hello World, multi-threaded the client requests the server side, the server receiving the client s name, and return to the Hello!+ The name of the character format to the client. Of course, the practical application is not so simple, the actual access to the file or database to obtain the information returned to the client. The non-blocking NIO What is the mystery?
Platform: |
Size: 165888 |
Author: 陈云凤 |
Hits:
Description: IShareMessage是一个基于NIO的客户、服务器端编程框架,使用IShareMessage可以确保你快速和简单的开发出一个网络应用(包括推送服务,业务插件服务)。IShareMessage相当简化和流程化了TCP的socket网络应用的编程开发过程。通过利用云端与客户端之间建立稳定、可靠的长连接来为开发者提供客户端应用与平台交互通道,开发者只需关注业务开发,无须关注底层网络交互。(IShareMessage is a NIO based client and server programming framework that uses IShareMessage to make sure you develop a web application quickly and easily (including push services, business plug-in services). IShareMessage fairly simplifies and processes the programming development process of TCP's socket network applications. By using stable and reliable long connections between the cloud and the client to provide clients with application and platform interaction channels, developers need only focus on business development without having to focus on the underlying network interaction.)
Platform: |
Size: 8189952 |
Author: alan.lei
|
Hits: