What is the difference between EJB and Java beans?
EJB is a specification for J2EE server, not a product; Java beans may be a graphical component in IDE. Read more »
EJB is a specification for J2EE server, not a product; Java beans may be a graphical component in IDE. Read more »
EJB technology is the core of J2EE. It enables developers to write reusable and portable server-side business logic for the J2EE platform. Read more »
No, You cannot change the transaction isolation level in the middle of transaction. Read more »
The JMS provider handles security of the messages, data conversion and the client triggering. The JMS provider specifies the level of encryption and the security... Read more »
All consumed messages are re-delivered. Read more »
1)Acknowledgment by commit. – Acknowledgement happens automatically when a transaction is committed. 2)Session.AUTO_ACKNOWLEDGE 3)Session.CLIENT_ACKNOWLEDGE –... Read more »
Use the JNDI to get a ConnectionFactory and Destination Object (either Queue or Topic).Create a Connection object. Create a Session object. Create MessageConsumer... Read more »
Use the JNDI to get a ConnectionFactory and Destination Object (either Queue or Topic).Create a Connection object. Create a Session object. Create MessageProducer... Read more »
StreamMessage, MapMessage (key-value pair), BytesMessage, TextMessage and ObjectMessage (serialized objects). Read more »
Message identification and routing information. Read more »
Header, Properties and Body. Read more »
Using “durable subscription”, the subscribers can receive messages sent even when the subscribers are not active. ConnectionConsumer createDurableConnectionConsumer(…) This... Read more »
Consumers can filter messages using message selector. Developer has to specify a message selector (String) as an argument when we create a message consumer. createConnectionConsumer... Read more »
1) Point-to-Point 2) Publish and Subscribe. Point-to-Point messaging consists of queues, senders and receivers. A message can be received by only one receiver. Receiver... Read more »
JMS is loosely coupled and RMI (remote method invocation) is tightly coupled (dependency between objects). In RMI, the senders have to wait for the immediate response... Read more »