Technical Interview Questions and Answers :: WebMethod
- Name of project( also, tell the summary)
- Explain the key words in the name of project
- Why this project
- Your contribution
- Explain by drawing a block diagram (if possible)
- Explain the project.( With or without pen
Â 1) Designer
Â 2) Developer
Â 3) MWS
Â 4) Brokers
Â 5) PubSub Models
Â 6) Deployer
Â 7) Trading Network
Â 8) Integration Server
Â 9) Triggers, Adapters and file polling ports.
An adapter notification monitors a specified database table for changes, such as an insert, update, or delete operation, so that the appropriate Java or flow services can make use of the data, such as sending an invoice or publishing it to the Integration Server.
JDBC Adapter notifications are polling-based. That is, the Integration Server will invoke the notification periodically based on the polling interval that you specify when you schedule the notification.
Enabled: The polling notification performs as scheduled.
Suspended: The polling notification is removed from the scheduler but the database trigger and buffer table are not dropped.
Disabled: The polling notification is removed from the scheduler and the database trigger and buffer table are dropped.
The JDBC Adapter provides the following adapter notification templates:
|Insert Notification||Insert Notification||Publishes notification of insert operations on a database table.|
|Update Notification||Update Notification||Publishes notification of update operations on a database table.|
|Delete Notification||Delete Notification||Publishes Notification of delete operations on a database table.|
|Basic Notification||Basic Notification||Polls a database table for data using a SQL Select operation.|
|Stored Procedure||Stored Procedure Notification||Publishes notification data by calling a stored procedure inside of a database.|
|Ordered Notification||Â Ordered Notification||Publishes notification data for multiple insert, update, or delete operations on multiple tables for a given database.|
Most adapter notifications, such as Insert Notifications and Update Notifications, can use the Exactly Once notification feature. This feature ensures that notification data will not be duplicated even if a failure occurs during processing. This is achieved by assigning unique IDs for each publishable document. After a processing failure, the Integration Server checks for duplicate records in storage and ignores any duplicate IDs.
Note: Stored Procedure Notifications do not support the Exactly Once notification feature because they do not use publishable document unique IDs
There are six types of notifications: Insert, Update, Delete, Basic, Stored Procedure, and Ordered Notifications. They vary in how they are structured and operate, as described in the following sections.
Insert Notifications, Update Notifications, and Delete Notifications use a combination of triggers and buffer tables to capture events that happen on specific tables in a database. You configure the triggers and buffer tables when you configure the notifications.
These types of notifications operate similarly, with the exception of the type of SQL operation (insert, update, or delete) that they monitor. The adapter creates the trigger and buffer table when you enable a notification. The buffer table, which you specified when you configured the notification, holds the data selected by the trigger. There are no special size constraints for the buffer tables. The trigger monitors the database table you specified when you configured the notification and inserts data into the buffer table. When you disable a notification, the adapter drops the trigger and buffer table.When you enable a notification, the database trigger monitors the table and inserts the data into the buffer table. When the Integration Server invokes the notification, it retrieves the rows of data from the buffer table, publishes each row in the notifications publishable document, and then removes this row from the buffer table.After you enable these types of notifications, the trigger and buffer table remain in the database table when you: Shut down the Integration Server Disable the package containing the enabled notification Reload the package containing the enabled notification Suspend the notification.
If it is guaranteed then it will store in outbound document store and if volatile then it get discarded.
Â 1) we Can see in properties panel
Â 2) Symbol
While REST stands for Representational State Transfer, which is an architectural style for networked hypermedia applications, it is primarily used to build Web services that are lightweight, maintainable, and scalable. A service based on REST is called a RESTful service.
|1)An XML based message protocol.||An Architecture style Protocol.|
|2) Uses WSDL for communication between consumer and provider.||Uses XML or JSON to send and receive data.|
|3) Invoking service by calling RPC methods.||SImply call service via URL path.|
|4) Does not return human readable format.||Result is readable, which is just plain XML or JSON.|
|5) Transafer Over HTTP. Also use other protocols such as SMTP, FTP etc||Transfer is over HTTP only.|
|6)Java Script can call SOAP, But it is difficult to implement.||Easy to call from Java script|
|7) Performance is not great.||Performance is much better, Less CPU use, Leaner code, Light weight etc.|
Following are methods for generating a Java thread dump on Unix:
Note the process ID number of the Java process (e.g. using top, a grep on ps -axw, etc.)Â
Example: PS -ef | grep -i java
Send a QUIT signal to the process with the kill -QUIT or kill -3 command.
Example: kill -3 JAVA_PID
Use guaranteed document
The document will store in Client Queue