[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Technical Interview Questions and Answers :: WebMethod

    161 / 166

    What is RNAMEs in UM?
    Answer:

    An RNAME is used by Universal Messaging Clients to specify how a connection should be made to a Universal Messaging Realm Server.
    RNAME string looks like:

    Please Login First :

    162 / 166

    What is JNDI and its uses?
    Answer:

    It stands for Java Naming and Directory Interface. JNDI allows distributed applications to look up services in an abstract, resource-independent way.The most common use case is to set up a database connection pool on a Java EE application server. Any application that's deployed on that server can gain access to the connections they need using the JNDI name java: /env/FooBarPool without having to know the details about the connection.


    Please Login First :

    163 / 166

    What is JMS Connection Factories?
    Answer:

    A connection factory is the object a client uses to create a connection to a provider. A connection factory encapsulates a set of connection configuration parameters that has been defined by an administrator. Each connection factory is an instance of the ConnectionFactory, QueueConnectionFactory, or TopicConnectionFactory interface. To learn how to create connection factories, see To Create JMS Administered Objects for the Synchronous Receive Example.


    At the beginning of a JMS client program, you usually inject a connection factory resource into a ConnectionFactory object. For example, the following code fragment specifies a resource whose JNDI name is jms/ConnectionFactory and assigns it to a ConnectionFactory object:
    @Resource(lookup = "jms/ConnectionFactory")
    private static ConnectionFactory connectionFactory;
    In a Java EE application, JMS administered objects are normally placed in the jms naming sub context.


    Please Login First :

    164 / 166

    What is durable subscription?
    Answer:

    To ensure that a pub/sub application receives all published messages, use PERSISTENT delivery mode for the publishers. In addition, use durable subscriptions for the subscribers.
    A durable subscriber registers a durable subscription by specifying a unique identity that is retained by the JMS provider. Subsequent subscriber objects that have the same identity resume the subscription in the state in which it was left by the preceding subscriber. If a durable subscription has no active subscriber, the JMS provider retains the subscription’s messages until they are received by the subscription or until they expire.

    Please Login First :

    165 / 166

    What is Topics and Queue in UM?
    Answer:

    Topics: A JMS topic is the type of destination in a 1-to-many model of distribution. The same published message is received by all-consuming subscribers. You can also call this the 'broadcast' model. You can think of a topic as the equivalent of a Subject in an Observer design pattern for distributed computing. Some JMS providers efficiently choose to implement this as UDP instead of TCP. For topic's the message delivery is 'fire-and-forget' - if no one listens, the message just disappears. If that's not what you want, you can use 'durable subscriptions'.

    Queue : A JMS queue is a 1-to-1 destination of messages. The message is received by only one of the consuming receivers (please note: consistently using subscribers for 'topic client's and receivers for queue client's avoids confusion). Messages sent to a queue are stored on disk or memory until someone picks it up or it expires. So queues (and durable subscriptions) need some active storage management, you need to think about slow consumers.


    Please Login First :

    166 / 166

    What is NHP and NSP in UM?
    Answer:

    It is a Communication protocol used between IS

    Please Login First :


Your responses will be stronger if you prepare well in advance for Webmethod Interview Questions, get most frequently asked top Basic and Advanced Webmethods interview questions and answers with detailed explanation.
This section covers WebMethod Interview Questions and Answers for Experienced - 17 for freshers and experienced. It helps job seekers who are about to attend Interview for Webmethod Profile.
You can Compile a list of the Top/Favorite/Frequently asked Interview Questions/Answers and add to your "Reading List" and refer your Reading list questions whenever you want.