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.
source share