Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is JMS not included by default in JDK?

Tags:

java

jms

JMS API is not part of JDK 6 as JDBC is. Why is JMS not a part of JDK? Is it because is very old with no progress?

like image 588
ouertani Avatar asked Sep 13 '09 21:09

ouertani


1 Answers

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

Which isn't to say that JMS isn't old - it is, and hasn't changed for years. It's not the nicest API Sun ever produced, but it does the job.

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

like image 94
skaffman Avatar answered Sep 22 '22 19:09

skaffman