Tuesday, February 11

Difference between Queue and Topic:





                         Queue
                              Topic
1) In queues, one message can be consumed by only one client.
2) Queue represent Point-To-Point model.
3) queue is used to send one to one system. 
4) In queue the messages are send to FIFO(First in first out) order.
1) In the topics, one message can be consumed by many clients.
2) Topic represent Public and Subscribe  model.
3) topic is used to send more than one system at a time.
4) In Topic  the messages are send to LIFO(Last in first out) order.


                 Distributed Queue
1) A Distributed Queues are allow you to retrieve a connection to any of the Queues across a cluster by using the Global JNDI name.
2) It seems one of the main pieces of functionality Distributed Queue gives you is load balanced connections across multiple managed servers.
3) The members of the unit are usually distributed across multiple servers within a cluster, with each queue member belonging to a separate JMS server.
4)A distributed queue is a set of physical JMS queue members.
                     Distributed Topic
1) A distributed topic can be used to create a TopicPublisher and TopicSubscriber.

2) The topic members can be located anywhere but must all be served either by a single WebLogic Server or any number of servers in a cluster.
3) A distributed topic is a set of physical JMS topic members.






Difference between 8 9 10 versions


8.1
9.2
1.       No lock and edit mechanism.
Lock and edit is the new feature.
2.       We have connection pools and datasources separately.
We have datasources and connection pools are inside datasources.
3.       We have exclude queues.
We have work managers
4.       All configuration information is in one config.xml
Seperate xml files for domain config and jms modules are added
5.       Persistent store is defined Under JMS
Persistent store is defined Under JDBC
6.       Side by site deployment is not possible
Side by side deployment is possible
7.       We need to delete and redeploy from admin console
We can update the application using admin console
8.       Have Multipools.
Have Multi datasources




Difference between web server and application server:




Webserver

                  Application Server

1)  Webserver handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP resp, such as sending back an HTML page.
1)      It serves business logic to application programs through any number of protocols.
2)  Contains Web-container.
2)Contains web container and EJB Container.
3)  Web Server serves static HTML pages or gifs, jpegs, etc., and can also run code written in CGI, JSP etc.

3) Application server is more capable of dynamic behavior than webserver. We can also configure application server to work as a webserver. Simply application server is a superset of webserver.
4)   Web Server only supports Servlets and JSP.

4) Application Server supports distributed transaction and EJB.
5)      Ex: Apache
5)Ex: Weblogic, Websphere
6)      No Multi-threading
6)Supports Multi-threading
7)     In WL 8.x licence.beafile is present to update the licence,
 7) Where as in WL 9&10 there is no licence.bea file. If we want we can import from oracle site.