Professional Documents
Culture Documents
What is the importamt config file located in ihs http server and where it is located ?
Important file is: httpd.conf
Path:-/opt/IBM/HTTPServer/conf
What is difference between JDBC providers and data source in websphere ?
Steps for connecting to the database using JDBC:#1 Using Driver Manager:a.Load the driver class using class.forName(driverclass) and class.forName() loads the driver
class and passes the control to DriverManager class
b.DriverManager.getConnection() creates the connection to the databse
#2 Using DataSource:DataSource is used instead of DriverManager in Distributed Environment with the help of
JNDI.
a) Use JNDI to lookup the DataSource from Naming service server .
b) DataSource.getConnection method will return Connection object to the database
How many JVMs will there for each server ?
It depends on the environment. There can be any number no limit. Generally in Producation a
JVM is put in two servers clustered horizontally to avoid single point of failure (SPOF)
What is session failover ?
error connection to the Data base session fail over occures.
or
Session timeout is >30 sec
or
Maximum in-memory session count is less
What are the per-requisites of was installation ?
A machine with Linux or Windows os with at least 1GB ram, 50GB disk space and
supportingsoftware putty and xming.
Memory exception
What is the reason for out of memory exception ?
1)
Less heap memory
2)
Less connection pool size
3)
Less Thread pool size
4)
Long living objects
We don't have sufficient heap size in this case we need to increase the heap size or we need to
restart the JVM
What is meant by middleware product?
Middleware products support enterprise software and integrate applications. An example of
this would be an installation of DB2 as the RDMS, WebSphere as the business engine and
Domino as the front end. These three different applications are integrated for a complete
workflow solution.
What is the default location of a thread dump and what is the format ?
/was61.IBM/WebSphere.AppServer/profiles
format javacore15_02_14_19_45_01.tar.gz
default session timeout value in websphere 7
30 min
How to generate a heap dump and what is the default location of heap dump and what is
the format ?
Get the pid of the JVM (either from logs directory) or do a ps-ef |grep
then by using the pid
kill -3
Heap dumps location generally in the logs folder.
or you can change the location by getting into the admin console.
What is the use of shared libraries ? How to configure them ?
Shared libraries are files used by multiple applications . Each shared library consists of a
symbolic name, a Java class path, and a native path for loading Java Native Interface (JNI)
libraries. You can use shared libraries to reduce the number of duplicate library files on your
system
If we give heap size value min=max at that time what are the advantages and
disadvantages ?
heap size depends on following parameters
number of connection to the server
its ram size and
for 32 bit operating system it is 2 gb
for 64 bit operating system it is 4 gb
if Max heap = min heap then it takes a time for garbage collection .
1.
What is ESB?
An enterprise service bus (ESB) is software architecture for middleware that
provides fundamental services for more complex architectures. For example, an ESB
incorporates the features required to implement a service-oriented architecture (SOA). In a
general sense, an ESB can be thought of as a mechanism that manages access to applications
and services (especially legacy versions) to present a single, simple, and consistent interface to
end-users via Web- or forms-based client-side front ends.
2.
1.
Message Filter
2.
Type Filter
3.
Endpoint Lookup
4.
Service Invoke
5.
Fan-out
6.
Fan-in
7.
XSLT
8.
BO Map
9.
10. DB lookup
11. Data Handler
12. Custom Mediation
13. Header Setters
14. Message Logger
15. Even Emitter
16. Stop
17. Fail
18. Sub Flow
3.
want
to
use
XPath
or update data.
You want to use built-in XPath
modify data.
You want to combine contents
from
more
than
one
array
(repeating element).
An XSLT map is fastest when processing web services messages and the incoming data
is unmodified between the entrance to the mediation flow and the XSLT primitive.
A BO map can be faster when the message content has already been accessed in the
mediation flow.
4.
The SMO model is a pattern for using SDO Data Objects to represent messages. The SMO
contains a representation of the following groups of data:
The business payload of the message. The payload is the application data exchanged
Header information associated with the message. For example, Java Message Service
(JMS) headers if a message have been conveyed using the JMS API.
Service
present in the shared context BO does not persist across Request and
Response flow.
Transient Context: Used for passing values between Mediation primitives
current flow either the request flow or the responses flow. The
link requests and responses and hence cannot be
within the
used across.
Used when you want to save an input message before a service invokes call
request or response flow). After the services invoke call, the next
another message by combining the service invoke
(within a
from the
request in
Request/Response or One-
service
and
If the call is successful, the Callout Response node in the response flow receives the
response message.
If the call is unsuccessful, the Callout can be set to retry service invocations depending on
the type of fault received.
7.
Fan-out:We can use the Fan Out primitive to fire the output terminal once
the input message) or to fire the output terminal multiple times. You
(with
of messages until
to be received is propagated
Out.
9.
as a
How can you change the runtime changes using mediation primitive?
restarting
future while
the server it
can be published.
10.
What
are
all
the
configurations
required
for
JDBC
Adapter
implementation?
Data Source need to be created and need to configure with DB. If we have
security, then
messages
o
o
What kind of projects can you create in WID that run on WebSphere ESB runtime?
What is an Integration Solution? Can you deploy it on server runtime?
What is mediation module?
What is an assembly diagram? What all does an assembly diagram will have?
List out the different bindings available in WID
Which is the default binding?
Which binding will you use when you want to communicate between mediation modules?
What are different categories of primitives available?
Difference between XSLT and BO Transforms? If you want the transformation in specific order,
which one would you use?
Difference between Service Invoke and Callout
If you want to invoke another service within a mediation module and retrieve the response
within the same flow, which primitive would you use?
Difference between Fail and Stop primitives? When do you use each?
Which primitives have this attribute? Use dynamic endpoint set in message header
How do you dynamically change the web service endpoint address?
What is the correlation context? How is it different from transient context?
What is the purpose of shared context? When do you use it?
When do you think you go for custom primitive? How many input and output terminals can
custom primitive have? How do you fire the output through output terminals?
When do you use a data handler? Name the data handlers that you would have used. How to
create your own data handler.
How do you perform serialization and de-serialization of SMO objects to/from native objects?
When do you use FanIn & Fanout primitives?
What are shared libraries? How do you implement them? What are advantages.
EAI patterns:
What are the service mediator patterns you worked with?
Explain service gateway pattern, selector pattern, aggregation pattern etc
o
o
o
o
o
o
o
Questions on WebServices:
What is purpose of WSDL in WebServices?
Explain WSDL structure
What are different WSDL binding styles? When do you use each? How does SOAP message
structure change in each of scenario? Which is commonly used?
Document literal
Document literal wrapped
Document encoding
Rpc literal
Rpc encoding
Can you refer another WSDL inside a WSDL? If so, are there any challenges.
Explain SOAP message structure.
How does a SOAP message with attachments look like?
Have you worked with XOP or MTOM? Please explain.
When do you use SOAP handlers? What are methods to be implemented if you were
implementing it?
What are different development approaches in WebServices? Top-down vs bottom-up.
Compare JAX-RPC vs JAX-WS vs REST. Which one do you normally use?
What are advantages of JAX-WS over JAX-RPC?
List the files which get generated at client side and/or server side when you work using
JAX-RPC approach
JAX-WS approach
Questions on JMS/MQ:
What are differences between WID 6.2 and WID 7.0 or IID? How are mediation modules
deployed in v6.2 vs v7.0 etc
Have you faced any difficulties during your development & how did you overcome them.
Module Vs Mediation Module
The philosophy is that there are two sets of functions. ESB (Enterprise Service Bus) and
Process Choreography (BPEL and Human Tasks). The ESB functions are also known as
"mediations".
The Mediation Module can be used to hold ESB functions while the (Process) Module can hold
Process Choreography functions. When WPS first came out, there was no ESB function so they
grabbed the term "Module" to refer to an SCA solution. What you build with the assembly
diagram editor in WID becomes the "Module". When WESB came along, a second type of
Module was created so they called that a "Mediation Module". My guess is that if we could roll
back time IBM would have called the "Module" the "Process Module" and not just "Module" for
WPS.
The similarity between the two is that both are SCA assemblies. The difference between the two
is the types of SCA components that can be added to each.
In a Mediation Module, you can have Imports, Exports, Java Components and Mediation Flow
Componens.
In a (Process) Module, you can have Imports, Exports, Java Components, BPEL components,
Human Task components, Selector Components, Interface Map components, State machine
components, Selector components.