If the winter, a Traveler, it is necessary to develop a better Java back-end server.
The so-called beautiful, it is necessary to high-performance, 10 million users; high reliability, failover虽死Utah Health; high scalability, with the band around Tuxedo, IBM MQ, WebService to properly deal with the neighbors. This is a no personality, they almost always have the same needs.
Java open-source world for those who feel disturbed by the designers, the preparation MINA, CXF, Mule and JBoss / Geronimo.
1,
An excellent NIO framework. ACE-like NIO and the threading model, filter chains mechanism, IO layer and protocol layer separation, designers can rely on the development of high-performance custom protocol TCP / IP server.
Other frameworks: Grizzly, the NIO framework derived from the Glassfish performance if a little better than MINA.
2,
Is the predecessor of XFire, a complete Web Service Framework:
- HTTP, JMS, and Jabber's Transports
- SOAP, REST and Corba's Binding
- JAXB 2.0, XML Beans, Castor and JiBX the DataBinding
- Support JAX-WS2.0, CORBA, SCA and JBI
Can be deployed at:
- Standalone java server
- Tomcat or Spring-based lightweight containers
- Weblogic, WebSphere, JBoss's J2EE container
- ServiceMix, OpenESB the JBI container
- Tuscany's SCA container
Designers can study the mechanism of its dazzling, from a Stand alone, ad Hoc Protocol server, start more public support for the endpoint, also put its own as a Module, the deployment of larger and more robust servers are.
3,
As the Enterprise Service Bus (ESB) and Messaging broker, an ability to produce exaggerated:
- such as WebService, JMS, VM (embedded), JDBC, TCP, UDP, multicast, http, servlet, SMTP, POP3, file, XMPP.
- Synchronous, asynchronous, request-response model of the request.
- Client / Server, Peer-to-Peer, ESB topology patterns.
- Many Routing, Transform selection
- From the follow.
- High-performance model.
- , Integration.
Faced with such a tempting ESB program, than in front of CXF looks more appropriate model, then how to apply? And the industry as hesitant.
4, /
People are aware of this earth are two application servers, in particular, lies in the fact that they have some good plug-in mechanism to EJB Container, Servlet Container, JMS module as a Module to deploy to the server and become a kind of server capacity.
JBoss Each Service is an MBean, coupled with a service description file. Geronimo is a well-known to the underlying architecture as GBean, Happy Valley enclosure of the open source community at the program Collection repository directory, cobbled-together form a style through the J2EE 1.4 certified application server.
Writing from our services, whether through the same mechanism, embedded in JBoss / Geronimo, and thus have a direct application server all other capabilities, like built in Tomcat on JBoss MicroKernel, has JBossJTA, JBoss Cache capacity The JBoss Web? Labourey said: "Microkernel are the heart of JBoss. Now there is lot of telecommunications companies to use Microkernel, used as its server application software foundation," it seems that he did not inventions: (
Other servers: Glassfish
5. The other corner of the world
- Open-source SCA implementation, IBM and BEA jointly contribute.
- Event-Driven Application Servers.
- Open source grid computing platform that integrates Spring, JBoss.
6. Summary
MINA provides tools, Mule / JBoss / Geronimo provides a container, CXF / Mule provides a model, and these are still only Java open source community are the tip of the iceberg, look back to the only ICE and ACE / TAO of the lonely world ... ....
Two, Summer Task:
1, Getting Started document
- ,
2, read the code to read only in order to explore the document did not describe the architecture and model, and in fact in a lot of models are very conspicuous in the code, come and go that several axes, so the possibility of rapid skimming, rather than Apache source Code read-style愚公移山,精卫填海.








Responses to “Topic: Design a better server --MINA.CXF.Mule.JBoss/Geronimo”