aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JMS ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS ?" Watch "JMS ?" New topic
Author

JMS ?

Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
Can you do jms application without downloading and installing the j2ee. (i.e just using the standard jdk's and using a jms.jar file )
Or must you run jms thru an application server like glassfish , tomcat , jboss ,etc ... ( using MQ ,...etc)

It seems like you should beable to do it with just the standard jdk not have to use the j2ee stuff.

Anybody know for sure.


Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Sure, I know of commercial JMS applications which don't have to run in a Java EE container. I have no idea whether that's common or normal, though.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41519
    
  53
Yes, for using JMS you wouldn't need a complete JEE stack, provided the implementation (OpenJMS, ActiveMQ, etc.) didn't need it for some other reason. It's similar to JavaMail and Servlets/JSP, which -despite being part of JEE- can be used outside of it.


Ping & DNS - my free Android networking tools app
Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
ever since sun got taken over by orcale I haven't been able to locate where they would have the downloads for just the java mail , or jms ...etc jars

A link to the jms jar would be great.

Also I am curious
correct me if I am wrong but the j2ee.jar contains all the j2ee class's i.e the mail , jms ,jsf ,...class
could I just import the j2ee.jar into my eclipse project and then use it for jms without having an application server.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41519
    
  53
A link to the jms jar would be great.

I'm not sure that still exists. Any of the JMS implementations would naturally have it.

could I just import the j2ee.jar into my eclipse project and then use it for jms without having an application server.

Yes.

I had an age-old jar file of JMS 1.1 lying around in case that's of any help.
Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
Thanks for the jar I will use that for testing purposes.

I'm not sure that still exists. Any of the JMS implementations would naturally have it.



My quesiton is now adays how do you do jms. Do have to install the j2ee with an application server then configure MQ ...etc is that the only way?
What would somebody that has java 1.7 sdk do to use jms with out going thru the process downloading j2ee/glassfish,websphere ,..etc then figuring out how to configure jms on that application server.

Basically is their no other way?

I remember back in the day when I would go on suns site and download under their 3rd party libraries/other libraries the JMF , java sound api, javax.comm (for usb) , java 3D ,...etc jar files
Now where did they all go?
It sucks to not have the ability to get the latest and greatest stuff for a specific thing.
you have to download the whole developing kits ,..etc

It's not that I don't mind searching google for a jar file it just will eventually come down to some version issue someday

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41519
    
  53
What I meant by "yes" in my previous reply is "yes, you do not need a JEE server".

I remember back in the day when I would go on suns site and download under their 3rd party libraries/other libraries the JMF , java sound api , java 3D ,...etc jar files. Now where did they all go?

Those were never part of JEE, and are still available separately if they haven't been integrated into JSE.
Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
Those were never part of JEE, and are still available separately if they haven't been integrated into JSE.


I know this but java mail was seperate from j2ee before it was integrated into it I believe.

And why would jms.jar be any different then javamail.jar ?

Anyway where would orcale keep the third party applications like JMF jars , javax.comm jar , java speech ,...etc
Their should be away to get the newest / latest version. And if they are discontinueing any of these third party api's then their must be a java equivalent api that orcale is maintaining or at least something that has all the functionality you could get from these depreciated jar files

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41519
    
  53
I know this but java mail was seperate from j2ee before it was integrated into it I believe.

Well, if you already knew that the examples you gave were not actual examples, then that was a bit of a red herring.

Anyway where would orcale keep the third party applications like JMF jars , javax.comm jar , java speech ,...etc
Their should be away to get the newest / latest version.

And there is; if not from Sun/Oracle, then from the JCP or on java.net. But those are not APIs that have found their way into JEE. If Sun/Oracle chooses to roll development of a particular API into the JEE process, then it makes sense that the respective files would be part of it. Just like what has happened with JDBC, JCE, Swing and other APIs with respect to JSE.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS ?