Why is JMS not enabled by default in the JDK?

The JMS API is not part of JDK 6 like JDBC. Why is JMS not part of the JDK? Is it because it is very old, without progress?

+4
source share
4 answers

The standard Java APIs are distributed between JavaSE (standard version) and JavaEE (enterprise version). JMS is part of JavaEE. JDK includes only JavaSE.

What can not be said about the fact that JMS is not outdated - it has not changed for years. This is not the best Sun API that has ever been produced, but it does the job.

Just as the JDK includes a JavaSE API implementation, if you want to use any of the JavaEE APIs, you need their implementation. JMS has many implementations, some of which are part of the JavaEE application server, others are standalone implementations.

+10
source

JMS is just an API that should be implemented by the messaging system. When you install a JMS-compatible messaging system (e.g. Tibco EMS, Websphere MQ, etc.), the JAR that defines the JMS API will be associated with it.

+5
source

No, this is part of Java EE.

+1
source

I think you might have referenced JMF instead of (Java Media Framework)? This certainly matches your description of "very old, no progress"; -)

0
source

All Articles