Tuesday, 16 December 2014

WebMethods -4 : Tough Questions & Answers

·         What do you understand by state of a service?

ü     There are two types of states: Stateful: If the IS receives requests from repeating clients then this state is useful. The client can be connected to IS and authenticated once and then issue many service invocations during the same session. Stateless: If clients typically send a single invocation requests to IS at a time then use stateless.  Using a stateless services prevents the creation of session that will sit unused, taking up resources in IS.

·         How various suit icons look in Webmethods designer?
ü      The below picture depicts the symbol looks:-
        



·         What are various properties of adapter?
ü The following Screen shot depicts the same.

       


·         Name two type of adapter in Designer 8.2.
ü      JDBC  & WebSphere MQ Adapter

 ·         What are the various templates available in WebSphere MQ adapter?
ü          The below Screen shot depicts the same.

                


·         What are the various templates available in JDBC adapter?
ü       The below Screen shot depicts the same.
         



·         What are the various templates available in JDBC adapter Notification?
ü        The below Screen shot depicts the same.

                



·         What are the various templates available in WebSphere MQ adapter Notification?
ü         The below Screen shot depicts the same.



Note:- The above notes has been prepared based on my experience on the technology as well as various reference available on internet. 

Thank You!
Satender Kumar Mall

Twitter: satenderiiit

Tuesday, 2 December 2014

WebMethods -3 : Tough Questions & Answers

 ·         Where is document routed when broker is not available?
ü         OUTBOUND document store.

·         Name different storage type of publishable document?
ü       Guaranteed and volatile.

·         What is difference between storage type guaranteed and volatile?
ü       This storage type helps Broker, how to store a doc. Guaranteed: It is stored on disk and also on             memory. Volatile: The broker stores the document in memory only.

·         How do broker routs the document to subscriber?
ü       If the document was published as broadcast, The broker identifies subscriber and places a copy of        the doc in the client queue for each subscriber. If the doc was delivered, the broker places the              document in the queue for client specified in the delivery request.

·         Name the element in Webmethods that actually supervises the document transfer between IS and        Broker?
ü      Dispatcher.

·         What happen if no subscriber type is specified in document?
ü       The Broker returns the acknowledgement (ACK) to the publisher and then discard the document          or in case of dead letter subscription, the broker deposit the doc in queue containing dead letter            subs..

·         What is abbreviation of ERP, SAP, CRM, XML, EDI, CAF, ESB and SOA?
ü        ERP: Enterprise Resource planning; SAP: Systems application & products; CRM: Customer                relationship management;  XML: Extended markup language; CAF: Composite application                framework; ESB: Enterprise service bus; SOA: Service oriented language;

·         What is Web-service connector?
ü       It invoked web services located on remote server. It sends HTTP or HTTPS to the Webmethods          IS that invoke a call to the web-service. The IS hosts packages that contains web-service and              related files, authenticates clients and verifies that they are authorizes to executes the requested            services.

·         Name the command that invokes service in a Java service and in which package does it resides?
ü      Services.doInvoke() methods used for calling in Java services. It resides in                                   com.wm.app.b2b.server.

·         During implementation of “Exactly Once” properties in trigger, what are the three elements helps        in resolving document status.
ü      1. Redelivery count; 2. Document History DB; 3. Document resolver service.

·         What is the three status of duplicate detection in trigger for document status.
ü        NEW, DUPLICATE, IN_DOUBT

·         What is adapter notification?
ü        It enables an adapter to receive event data from the adapter resources. It is of two types: Polling          notification & Listener notification.

·         What do you mean by adapter service?
ü        It connects to adapter resources and initiates an operation on the resources.

·         What is default HTTP of Webmethods server listener port?
ü        5555


·         What are flow steps available in ESB and describe any two?
ü         Invoke, Map, Branch, Sequence, Loop, EXIT, Repeat and pipeline.
Branch: This step allows you to conditionally execute a step based on value of the variable at time.
                Branch on switch value: Use variable to determine which step to be executed.
                Branch on an expression: In this case evaluate label property of branch should be set as “true”.

Sequence: This is used to build a set of steps that you want to treat as a group. Step in-groups are executed in order, one after another.  Except the steps under branch condition. It is useful - To group a set of steps as a single alternative beneath a Branch step; To specify the condition under which the service will exit a sequence of steps without executing the entire set.

·         What is CentraSite?
ü       It is kind of repository which facilitates create, browse and manage information or artifacts in the        registry.



Note:- The above notes has been prepared based on my experience on the technology as well as various reference on internet. 

Thank You!
Satender Kumar Mall
Twitter: satenderiiit

Thursday, 13 November 2014

WebMethods -2: Messaging & Triggers Explained

There are two types of message styles popular in Software AG

·   Point to Point: In this style of messaging, message is sent between message provider and consumer. Both provider and consumer are known. The destination is represented as queue. Exactly one consumer will receive a single message. If there are no consumers available at the time the message is sent it will be kept until a consumer is available that can process the message. If a consumer receives a message and does not acknowledge it before closing then the message will be redelivered to another consumer. The producer and consumer are knows as senders and receivers.




· Publish-Subscribe: This messaging style enable message producer to publish message, which is subscribed by various interested consumers. When you publish a message it goes to all the subscribers who are interested - so zero to many subscribers will receive a copy of the message. Only subscribers who had an active subscription at the time the broker receives the message will get a copy of the message.





Note: The publishers and subscribers never communicate with each other directly. Instead, they communicate by exchanging messages through a message Broker

Triggers play vital role in messaging aspect of Webmethods. It is required to subscribe the message/document.


Properties of Triggers







 Processing Mode is of two type

Serial: Subscribe one document at a time. It is single thread operated.
Concurrent:  Subscribe multiple documents in parallel. It is multiple thread operated.

 ------------------------------

Transient error handling parameter is important in case of error handling. Max retry attempts indicate how many times a request can be retried in case of failure.

Exactly once helps identifying duplicate, new, in doubt aspect of request.


Trigger setting for below is done in order to connect and routes.





Note:- The above notes has been prepared based on my experience on the technology as well as various reference available on internet. 


Thank You!
Satender Kumar Mall


Twitter: satenderiiit

Sunday, 2 November 2014

WebMethods -1: Audit Explained

The Integration server (IS) has a feature, which helps to tracks the execution of services invoked in journey from starts to end in web-services call.

It is set at 2 level.


1.      IS level

It has 3 level

·         PerSvc: It indicated that Auditing is enabled and logging will be based on audit properties set in individual flows of the service.

·         Brief: - It indicated logging is always enabled. It is logged on error, success and start of the flows. It ignores the audit properties set on individual flows.

·         Verbose: It facilitates the complete functionality indicated brief. In addition it also includes pipeline for each flows logged.

2.      In individual flow of a service.




The Audit properties of flow have 3 parameter: -


·         Enable auditing
Never: Audit is turned off for current flow.
When top-level service only: If the flow is the entry point of a service invoke
Always: Audit is turned ON for current flow

·         Log on
Error only: flow is logged when only error/exception occurred/
Error and success: flow is logged in both success scenario & also during error/exception.
Error, Success and start: flow is logged in all scenarios.

·         Include pipeline
Never: Do include data structure when flow is logged.
On error only: Included data in flow only in case of error.
Always: Data in flow should be logged always when flow is logged.


Keys takeaways: -


·         Flows are logged in database, which is displayed on MyWebmethods server.
·         Flow logged with pipeline can be retrieved and used for debug of same flow or proceeding       flows.
·         Log wisely - Too much audit logging cost performance and no logging you end up blind in       case of error in production.
·         Audit logging gives indication of flows invokes when call is made to service.
·         There is more than 8 type of logging mechanism in Webmethods. All by default are                    logged to files. We need to configure in order to point the heavy logging to Database else        IS  will crash. See below



Note:- The above notes has been prepared based on my experience on the technology as well as various reference available on internet. 


Thank You!
Satender Kumar Mall

Twitter: satenderiiit

Tuesday, 21 October 2014

Growth: Things to avoid at initial stage

Growth is an aspirational phenomenon which pull one from the crowd and makes it shine. The aspiration for growth alone is not enough to shine. An ingredient which leads to growth could be anything such direction, creativity, delegation, collaboration along with right kind of coordination and monitoring. To grow on constant rate our attitude should be of pragmatic in nature to sustain durability. 


Following are few jargons which can leads to the point we are trying to understand or about things we can avoid at initial stage to add much needed oxygen needed to push growth are:-

ü  Think about how you want to be remembered when you are gone
ü  Our job is not to prove people wrong but to prove yourself right
ü  There is neither shortcut nor a substitute for hard-work, learning and experience.
ü  Stop, smell the flowers, play with your kids, take a day off. But when you’re at work, make every second count.
ü  Focus on the positive and see the negatives as opportunities to be a better person


Growth is doubled when we are doing things which match our passion. It is very important that we enjoy what we are doing. This not only makes perfect start but also leads to creativity. Self-doubt is inevitable at some point in our life, the only way we can get through that is to keep grinding it out.

This blog sounds bit on the line of spirituality but someone has to put them on paper for those who needs such write up to boost self-confidence. 

Thank You!
Satender Kumar Mall
Twitter: satenderiiit



Sunday, 12 October 2014

31% Syndrome

The topic of this blog is mainly addressed to Indians or someone who is interested in India’s politics for some reason or the other. After reading this blog you will be able to figure there are still few classified Indians who have not been able to come to terms with reality that Mr Narendra Modi is Prime Minister of India. This topic name is not coined by me but few biased journalists who started using it right from 16th may 2014 when their all self-proclaimed status and theories comes down tumbling. All their decade long paid news and propaganda was literally demolished by general public.

To understand why few champions of secular propaganda (which they had been using for their own benefits as victim-hood) suddenly started talking about 31% syndrome.

Few points to make your mind tickle in same direction where I am trying to concentrate toward:-
* Have you heard in past from news traders how much vote percentage did Mr Deva Gowda/Indra Kumar Gujral had got to become PM?
*   Let’s comes to 2004/2009 election, how much vote percentage did Congress got to form UPA and rule India for a decade?



Let’s ask few questions to those propaganda groups as well:-

Ø    Why this Vote percentage query when Indian constitution clearly states for majority party need 272 not certain amount of vote percentage?
Ø    Where is tolerance factor, when someone (social media) questions MSM credibility about news you manufacture?

When we start pondering about above queries, we will be able to visualize that there are handful of news traders who are spoiling the fourth pillar our democracy. The citizen at social media has clearly played important role in exposing news traders as well as devoted huge amount of time & energy in educating young aspirant youth about difference between NEWS and bogus opinion presented as NEWS.

Our PM has successfully broken the media & politician power broking nexus in New Delhi which has forced fourth pillar to get strengthen and go back to honest reporting. That’s why this 31% syndrome kolavari. No other PM in past had ever tried to overhaul this system which was rotting on each passing day.

If you are interested you can also refer below link and get smart enough to identify NEWS which matters.

Why few in Indian media too hostile:-


Thank You!
Satender Kumar Mall
Twitter: satenderiiit

Friday, 26 September 2014

Happy Navratri to you!

Dear Reader,

Wish you all a happy Durga Puja!!


To know more about Navratri , read my earlier blog Jai Maa Durga



Sharing a wonderful picture of shadow arts found at internet. It also conveys a message


 "If you assemble things with good intentions... Mata will always be right behind you".









Regards
Satender

Twitter: satenderiiit