Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS and J2EE ?  RSS feed

 
Sangel Kapoor
Ranch Hand
Posts: 162
1
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Readers

I have started studying about JMS and finding it great . I am referring to the following tutorial
http://docs.oracle.com/javaee/6/tutorial/doc/bncgl.html

Nevertheless, many questions arises in my Mind, it would be great if someone can give light to them....


1. How are JMS and J2EE related to each other ? Cannot i use JMS from simple Java Clients ? I guess Yes, but the examples in thJM e above tutorial confused me somehow...
2. Can i use Android Application as a JMS client ?
3. What is Apache Camel ? Is it related to JMS in anyways ?
4. Is Apache ActiveMQ is best as JMS Provider. i have heard of RabbitMQ as well

Thanks and Warm Regards
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
#1: JEE is a huge collection of APIs; JMS is one of them. But you can use a JMS server without using any other of the JEE APIs. A Java desktop app can certainly be a JMS client.

#2: Not sure if the JMS client libraries work on Android. I don't think I'd want to open up a JMS server to the internet at large, though - better to put a REST API in front of the JMS server, and have any apps use that REST API.

#3: The Apache Camel home page does a pretty good job of explaining what it does; JMS is one of the transports it can use.

#4: There rarely is a single "best" of anything; it's always relative to your requirements (about which we know nothing). The http://www.coderanch.com/how-to/java/JavaEnterpriseEditionFaq lists several popular open source JMS servers.
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
4) JBoss are switching from HornetQ to JBoss AM-Q, which is based on Apache Active MQ. That at least indicates that Active MQ is good enough to use professionally.
 
Sangel Kapoor
Ranch Hand
Posts: 162
1
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much for the prolific information.

#2: Not sure if the JMS client libraries work on Android. I don't think I'd want to open up a JMS server to the internet at large, though - better to put a REST API in front of the JMS server, and have any apps use that REST API.


It sounds interesting, to be very true , i have no idea about WEB services except the fact that SOAP and REST are two protocols of it.
Please let me know good resources including Books where from i can learn how to use Web services and how to make Web services for the world to use it.

Thanks and Warm Regards


 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start reading the http://www.coderanch.com/how-to/java/WebServicesFaq, it points to lots of introductory material.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!