What are the sequence of steps to write pub or sub model
kind of application?
Answer / Sunil Kumar Jayasawal
To write a publish-subscribe (pub/sub) model application, follow these steps: 1. Define IDL interfaces for the topics and services provided and required by the communicating objects. 2. Compile the IDL files to generate corresponding stubs and skeletons. 3. Implement the topic publishers and subscribers using the generated stubs and skeletons. 4. Create an ORB instance and initialize it with necessary properties. 5. Register the topic publishers with the ORB. 6. The clients can then subscribe to one or more topics, and the publishers will automatically notify the subscribed clients when a new message is published.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the advantages and disadvantages of detached objects.
What is the difference between the session.update() method and the session.lock() method?
In howmany ways a thread can be created?
difference between apllet and interface class
In a multitiered application which tier is the browser in?
what is Static binding?
Why is main purpose of XML?
Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.
Can we sent objects using Sockets?
Why are some of the class and element names counter-intuitive?
what are memory considerations of jsp compares to other web components?
Difference between JRE and JVM?
3 Answers HeadStrong, Infotech,