Java Message Service

Technology 2008. 6. 17. 09:51

The Java Message Service (JMS) API is a Java Message Oriented Middleware (MOM) API for sending messages between two or more clients. JMS is a part of the Java Platform, Enterprise Edition, and is defined by a specification developed under the Java Community Process as JSR 914.

General idea of messaging
Messaging is a form of loosely coupled distributed communication, where in this context the term 'communication' can be understood as an exchange of messages between software components. Message-oriented technologies attempt to relax tightly coupled communication (such as TCP network sockets, CORBA or RMI) by the introduction of an intermediary component, which in this case would be a queue. The latter approach allows software components to communicate 'indirectly' with each other. Benefits of this include message senders not needing to have precise knowledge of their receivers, since communication is performed using the queue.

Reference:
http://en.wikipedia.org/wiki/Java_Message_Service

Posted by 알 수 없는 사용자
,

자바 1.5 이전 버전까지는 기본 라이브러리에 Thread Pool 라이브러리가 포함되지 않았으나,

자바 1.5 이후 버전부터는 기본 라이브러리에 포함되어 있다.

이는 가장 보편적으로 많이 사용되던 Thread Pool 라이브러리를 포함시킨 것이므로

이를 사용하는 것이 좋겠다.

Reference:
http://java.sun.com/docs/books/tutorial/essential/concurrency/executors.html 

Posted by 알 수 없는 사용자
,

Posted by 알 수 없는 사용자
,