Java Network Programming framework

Source: Internet
Author: User

Although I have written about some aspects of network programming, but have not studied this aspect of the content, directly extracts some articles, the subsequent finishing

Original address: http://blog.csdn.net/lwuit/article/details/7306139

Since the JDK1.4 of NIO, this has become more active and has earned Java more support from developers. Java network programming requires some basic knowledge and skills: Socket programming, blocking/nonblocking communication, creating HTTP server and client programs, datagram communication, serialization and deserialization of objects, Java Reflection Mechanism, RMI framework, JDBC API, JavaMail API, MVC design Patterns, secure network communications, CORBA and Web services, and more.

Here are just a few of the main frameworks that I'm here to organize:

  • MINA provides a very convenient framework for developing high-performance and high-availability Web applications, supporting TCP/UDP application development and serial communication programs based on Java NIO technology
  • Grizzly design compared with the general NIO framework is different, the main difference is that both reading and writing are in the blocking way, and using temporary selector ; The threading model is highly configurable, It is not surprising, however, that the author describes the best way to handle read and write performance with a thread pool while running a selector main thread processing accept.
  • Nettty provides a set of event-based APIs to develop high-performance, manageable TCP/IP server or client applications. Netty offers many basic features like readiness selection, thread pool, write buffer dos prevention for demanding high-performance network applications , reusable buffers, and more.
  • The nio Framework , built on top of the Java NiO Library, encapsulates much of the complexity of the original NIO. The NIO framework makes it easy to develop secure, high-performance Java network applications.
  • quickserver a free open source Java library for fast creation of robust multithreaded, multi-client TCP server applications. With Quickserver, users can focus only on the application's logic/protocol.
  • xsocket A lightweight NIO-based server framework for developing high-performance, scalable, multi-threaded servers. This framework encapsulates aspects such as threading, asynchronous read/write, and so on.
  • ioserver High-performance, easy-to-expand network framework, compared to the Apache Mina more lightweight, the source code is easier to read, the source code has a lot of detailed Chinese annotations, is a very good learning framework, The framework mainly focuses on solving the server-side program of mobile games in the Chinese market.

    Ioserver build a simple server routine (more detailed routines can download a routine package, or go to Wiki view) the server receives an integer from the client and adds a return to the client

  • Xnio A Java package that helps you simplify the development of NIO applications; provides a unique and easy-to-use API for combining blocking and non-blocking operations, even on the same channel It also allows you to take advantage of simple and low latency blocking I/O while also gaining the benefits of non-blocking I/O, and introduces a powerful callback-based interface that greatly simplifies traditional state-based Machine's non-blocking application and allows for a perfect balance between your application's throughput (throughput) and latency.

In addition, the middleware platform ice may also be used in this scenario.

=================================================================================================

Java Open Source network server-side components

http://blog.csdn.net/yuzhouxiang/article/details/7567480

=================================================================================================

Java Network Programming Notes _ Client Protocol processing framework

http://xuerge.iteye.com/blog/1923036

Java Network Programming framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.