• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS ?

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic