What is jms and configuration details?



What is jms and configuration details?..

Answer / Pramod Singh Gunjiyal

JMS (Java Message Service) is a Java API for messaging that provides a way to send and receive messages between applications. JMS allows communication between distributed applications in a platform-independent manner. Configuration details include setting up connection factories, destinations, and message selectors.nExample configuration for a JMS producer: nnProperties properties = new Properties();nproperties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jms.nonXA.WMQConnectionFactory" );nproperties.setProperty(Context.PROVIDER_URL, "tcp://localhost:7201" );nInitialContext initialContext = new InitialContext(properties);nJMSContext context = (JMSContext)initialContext.lookup("jms/__defaultConnectionFactory" );

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Weblogic Interview Questions

How to integrate apache webserver with weblogic server? What is the purpose of integrating both?

4 Answers  


What is application tuning?

1 Answers  


Can we deploy jar in weblogic?

1 Answers  


What are web logic servers?

1 Answers  


1. What is clustering? How do weblogic instances communicate in a clustered environment! 2. In a cluster, if one of the servers has issues and is not accessible, will the other servers know about it? and how??

6 Answers  


What is the format of the log message out to standard out?

1 Answers  


for example we have two boxes,one box it contain one adminserver & one managed servr and another box it contain one managed server.how to configuring the these server?

1 Answers  


Which is the best tool for monitoring Weblogic server(WLS8)?

10 Answers   BEA, Symantec,


What is cluster stub?

1 Answers  


what is difference between weblogic and websphere?

3 Answers  


how to get the critical application?

1 Answers   TCS,


what is critical environment in weblogic

5 Answers   HCL,


Categories