InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How To Implement Jdbc-odbc Bridge Driver (type 1) In Websphere? |
|
Answer» If you use JDBC type (I) driver you dont need to ADD any driver in websphere. you simply created DSN and use it locally, same we use java class, if you use Type(2) and Type(4) so first go to ADMIN console then go to connection, then add driver there fill other info LIKE conn. size, uname PASS, max conn. and connect it to you applications. If you use JDBC type (I) driver you dont need to add any driver in websphere. you simply created DSN and use it locally, same we use java class, if you use Type(2) and Type(4) so first go to admin console then go to connection, then add driver there fill other info like conn. size, uname pass, max conn. and connect it to you applications. |
|
| 2. |
Is There Any Difference Between Weblogic And Websphere? |
|
Answer» Webpshere tends to focus more on INTEGRATION, connectivity and web services. it has rich implementation of J2EE, BETTER performance, more extensive integration and TRANSACTION MANAGEMENT. In TERMS of trnsaction weblogic is having default transaction attribute as ’supports’, but websphere does not have any default transaction attribute. Webpshere tends to focus more on integration, connectivity and web services. it has rich implementation of J2EE, better performance, more extensive integration and transaction management. In terms of trnsaction weblogic is having default transaction attribute as ’supports’, but websphere does not have any default transaction attribute. |
|
| 3. |
What Are The Different Application Servers And Web Servers Supporting J2ee Technologies? |
Answer»
|
|
| 4. |
What Development Environment(s) Are Available To Develop Applications For Websphere? |
|
Answer» IBM provides several industrial STRENGTH development environments based on Eclipse development FRAMEWORK the CURRENT IDE is Rational DEVELOPER for Websphere. Applications can also be developed with the Websphere Application Server Toolkit and third party tools like Jbuilder, and Eclipse/ANT ETC. IBM provides several industrial strength development environments based on Eclipse development framework the current IDE is Rational Developer for Websphere. Applications can also be developed with the Websphere Application Server Toolkit and third party tools like Jbuilder, and Eclipse/ANT etc. |
|
| 5. |
What Type Of Files Are Required To Deploy An Application Into Websphere. How Can They Be Installed? |
Answer»
|
|
| 6. |
How Would Use Ensure Websphere Server Logs Are Created On A Different Drive Than The Installation Root? |
|
Answer» Change the WEBSPHERE server's server VARIABLES using the Administrative CONSOLE or use SCRIPTS. Change the WebSphere server's server variables using the Administrative Console or use scripts. |
|
| 7. |
Are There Any Differences Between Weblogic And Websphere? |
|
Answer» Websphere tends to FOCUS more on integration, CONNECTIVITY and web services. it has rich implementation of J2EE, better performance, more extensive integration and TRANSACTION MANAGEMENT. In terms of trnsaction weblogic is having DEFAULT transaction attribute as ’supports’, but websphere does not have any default transaction attribute. Websphere tends to focus more on integration, connectivity and web services. it has rich implementation of J2EE, better performance, more extensive integration and transaction management. In terms of trnsaction weblogic is having default transaction attribute as ’supports’, but websphere does not have any default transaction attribute. |
|
| 8. |
How To Import Jaxp Package In Ibm Wsad? |
|
Answer» 1. open WSAD 1. open WSAD |
|
| 9. |
What Is The Difference Between Web Server And Application Server? |
Answer»
|
|
| 10. |
How Many Ways Can You Deploy Applications In Websphere? |
|
Answer» 1. Directly copy files to deployedapplication FOLDER in WEBSPHERE- hot deployment. 1. Directly copy files to deployedapplication folder in websphere- hot deployment. |
|
| 11. |
How To Choose Websphere Over Other Application Servers? |
|
Answer» Selecting application server is part of ARCHITECTURAL process when infrastructure is DEFINED. It depends on several factors:
Selecting application server is part of architectural process when infrastructure is defined. It depends on several factors: |
|
| 12. |
I've Made Some Changes To My Applications Web.xml , How And Where Should I Update This File? |
|
Answer» You can do this from the ADMINISTRATION console. Go to enterprise applications –>select your application and click update. on the next panel, you’ll have option to update the entire application, a SINGLE module or EVEN a single file or multiple files. Select the single file option and specify the file’s path you like to update . Specify a relative path to the file that starts from the root of the war/ear file. So it looks something like this : app1.war/WEB-INF/web.xml You can do this from the administration console. Go to enterprise applications –>select your application and click update. on the next panel, you’ll have option to update the entire application, a single module or even a single file or multiple files. Select the single file option and specify the file’s path you like to update . Specify a relative path to the file that starts from the root of the war/ear file. So it looks something like this : app1.war/WEB-INF/web.xml |
|
| 13. |
I Don’t Have Websphere Installed On My Web Server How Do I Add To The Websphere Administration Console ? |
|
Answer» If you like to ADD your web server to that WebSphere ADMINISTRATION CONSOLE, you can do that by CREATING a unmanaged NODE and then add from servers–>web servers If you like to add your web server to that WebSphere administration console, you can do that by creating a unmanaged node and then add from servers–>web servers |
|
| 14. |
I Installed A New Application, What Do I Need To Do Before I Can Access It From The Web Server Url? |
|
Answer» When you install a NEW APPLICATION or update an application, your WEB server NEED to be AWARE of the changes. Which means you need to update the web server plug-in configuration file. So after a successful installation of an application with mapping to web server, you need to regenerate the plug-in configuration file and propagate it to web server. When you install a new application or update an application, your web server need to be aware of the changes. Which means you need to update the web server plug-in configuration file. So after a successful installation of an application with mapping to web server, you need to regenerate the plug-in configuration file and propagate it to web server. |
|
| 15. |
What Happens If My Dmgr Is Not Running? |
|
Answer» DMGR is the single point of failure in WebSphere network deployment MODEL. EVEN if DMGR is down, rest of the server will contine to run and serve the applications. However, anychanges you MAKE in this SITUATION are not saved to MASTER configuration repository. DMGR is the single point of failure in WebSphere network deployment model. Even if DMGR is down, rest of the server will contine to run and serve the applications. However, anychanges you make in this situation are not saved to master configuration repository. |
|
| 16. |
What Are Deployment Descriptors? How Many Types Of Deployment Descriptors Are Available? What Are They? |
|
Answer» Deployment descriptor is an XML file that describes how to deploy a module or application by specifying configuration and container options. For example, an EJB deployment descriptor PASSES INFORMATION to an EJB container about how to manage and control an enterprise bean. There are two types of deployment descriptor in websphere: Web application deployment descriptor and portlet deployemnt descriptor Portlets are packaged as WAR FILES with a web application deployment descriptor (web.xml). This defines each portlet as a servlet within the web application, including unique identifiers for each portlet, the portlet class, and INITIALIZATION parameters. Deployment descriptor is an XML file that describes how to deploy a module or application by specifying configuration and container options. For example, an EJB deployment descriptor passes information to an EJB container about how to manage and control an enterprise bean. There are two types of deployment descriptor in websphere: Web application deployment descriptor and portlet deployemnt descriptor Portlets are packaged as WAR files with a web application deployment descriptor (web.xml). This defines each portlet as a servlet within the web application, including unique identifiers for each portlet, the portlet class, and initialization parameters. |
|
| 17. |
How Do I Connect My Application To Talk To A Database? |
|
Answer» To achieve this , you need to create a JDBC provider and datasource. The JDBC provider object encapsulates the specific JDBC driver IMPLEMENTATION class for access to the specific vendor database of your ENVIRONMENT. The data SOURCE object supplies your application with CONNECTIONS for accessing the database. The best way to learn more about this task is, login to administration CONSOLE –>guided activities –> connecting to a database. To achieve this , you need to create a JDBC provider and datasource. The JDBC provider object encapsulates the specific JDBC driver implementation class for access to the specific vendor database of your environment. The data source object supplies your application with connections for accessing the database. The best way to learn more about this task is, login to administration console –>guided activities –> connecting to a database. |
|
| 18. |
What Is Virtual Host In Websphere Application Server? |
|
Answer» Virtual HOST is a configuration not a physical one. A configuration that lets a single machine resemble multiple host MACHINES. Each virtual host has a logical name and a list of one or more DNS host aliases by which it is known. By deafult, we wull have a default_house and admin_host virtual hosts DEFINED in WEBSPHERE application server. Virtual host is a configuration not a physical one. A configuration that lets a single machine resemble multiple host machines. Each virtual host has a logical name and a list of one or more DNS host aliases by which it is known. By deafult, we wull have a default_house and admin_host virtual hosts defined in websphere application server. |
|
| 19. |
What Is Ibm Web Sphere Edge Server? |
|
Answer» WebSphere Edge Server allows deploying parts of an APPLICATION that contains servlets or JSP components to a PROXY cache and EXECUTES at the cache. The cache, called edge server, in this context works with the original WebSphere Application Server. This feature is called OFFLOADING. WebSphere Edge Server allows deploying parts of an application that contains servlets or JSP components to a proxy cache and executes at the cache. The cache, called edge server, in this context works with the original WebSphere Application Server. This feature is called offloading. |
|
| 20. |
What Is A Connecting Pool ? |
|
Answer» a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. Connection pools are used to enhance the performance of EXECUTING commands on a database. In connection pooling, after a connection is created, it is placed in the pool and it is used over again so that a new connection does not have to be established. If all the connections are being used, a new connection is MADE and is added to the pool. Connection pooling also cuts down on the amount of TIME a USER MUST wait to establish a connection to the database. a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. Connection pools are used to enhance the performance of executing commands on a database. In connection pooling, after a connection is created, it is placed in the pool and it is used over again so that a new connection does not have to be established. If all the connections are being used, a new connection is made and is added to the pool. Connection pooling also cuts down on the amount of time a user must wait to establish a connection to the database. |
|
| 21. |
What Is Extended Deployment In Web Sphere? |
|
Answer» WebSphere Extended Deployment is a NEW PRODUCT for IBM WebSphere software. WED extends the WebSphere software platform. The new features / notions include dynamic operations, high performance computing and extended MANAGEMENT. WebSphere Extended Deployment is a new product for IBM WebSphere software. WED extends the WebSphere software platform. The new features / notions include dynamic operations, high performance computing and extended management. |
|
| 22. |
Do I Need A Web Server If I Have A Websphere Application Server? |
|
Answer» WEB Server and WebSphere APPLICATION server provide two different functionalities. WebSphere application server do has an inbuilt web server functionality but it is RECOMMENDED to use a SEPARATE web server for many reasons. Some of them are:
Web Server and WebSphere application server provide two different functionalities. WebSphere application server do has an inbuilt web server functionality but it is recommended to use a separate web server for many reasons. Some of them are: |
|
| 23. |
State Some Of The Features Present In Web Sphere.? |
|
Answer» The following are the features of WebSphere:
The following are the features of WebSphere: |
|
| 24. |
What Is Websphere Plug-in For Web Server And Where Do I Need To Install The Plug-in? |
|
Answer» It is COMMON practise to have web and app servers on different machines. WebSphere provides a plug-in which enables web server to talk to application server, this is known as web server plug-in. Web server plug-in will have a configuration file NAMED plugin-config.xml which will have referenes to all the servers, clusters, APPLICATIONS, virtual hosts of the websphere application server. You can generate this configuration file from ADMINISTRATION console, servers –>web servers. SELECT a web server and click generate plugin configuration file and then propagate the plugin. This plug-in needs to be installed on the web server machine It is common practise to have web and app servers on different machines. WebSphere provides a plug-in which enables web server to talk to application server, this is known as web server plug-in. Web server plug-in will have a configuration file named plugin-config.xml which will have referenes to all the servers, clusters, applications, virtual hosts of the websphere application server. You can generate this configuration file from administration console, servers –>web servers. Select a web server and click generate plugin configuration file and then propagate the plugin. This plug-in needs to be installed on the web server machine |
|
| 25. |
What Is Web Sphere Mq Jms Provider? |
|
Answer» The usage of WebSphere MQ is employed to USE as Java Message Service provider for JEE APPLICATIONS which are deployed in WebSphere Application Server. The usage of WebSphere MQ is employed to use as Java Message Service provider for JEE applications which are deployed in WebSphere Application Server. |
|
| 26. |
What Is Sync In Websphere Application Server? |
|
Answer» WebSphere application server stores all the CONFIGURATION data in ONE central location KNOWS as ‘Master repository’. And every node/server will have the local configuration repository. The sycn process MAKE sure that the configuration in both local and master repositories are same and in-sync. The sync is a one dimentional process MEANS, it will sync the configurations only from Master repository ==> local repository. WebSphere application server stores all the configuration data in one central location knows as ‘Master repository’. And every node/server will have the local configuration repository. The sycn process make sure that the configuration in both local and master repositories are same and in-sync. The sync is a one dimentional process means, it will sync the configurations only from Master repository ==> local repository. |
|
| 27. |
Explain The Architecture Of Web Sphere.? |
|
Answer» WebSphere architecture consists of one or more COMPUTER systems which are called nodes. Nodes are AVAILABLE within WebSphere cell. A WebSphere cell can have one node. On this node all the needed softwares installed. If a WebSphere cell contains more than one node, then all the software COMPONENTS are distributed among the nodes. The software components that are installed in one node can share in the distributed environment. This DISTRIBUTION enables for scalability, reliability.
WebSphere architecture consists of one or more computer systems which are called nodes. Nodes are available within WebSphere cell. A WebSphere cell can have one node. On this node all the needed softwares installed. If a WebSphere cell contains more than one node, then all the software components are distributed among the nodes. The software components that are installed in one node can share in the distributed environment. This distribution enables for scalability, reliability. |
|
| 28. |
What Does Node Agent Do In Websphere Application Server? |
|
Answer» We will have ONE NODE agnet PER one node. The node agent acts as an mediator between the Deployment MANAGER and the node. We will have one node agnet per one node. The node agent acts as an mediator between the Deployment manager and the node. |
|
| 29. |
Explain The Attribute Channel In Websphere Mq.? |
|
Answer» A channel is a connection that is to establish a link between SENDING channel and receiving channel. A channel has a sender channel at the local queue manager and receiver channel at the remote queue manager. These two channels CONSIST of same name, and TOGETHER make one channel. A channel is a connection that is to establish a link between sending channel and receiving channel. A channel has a sender channel at the local queue manager and receiver channel at the remote queue manager. These two channels consist of same name, and together make one channel. |
|
| 30. |
What Is A Profile In Websphere Application Server? |
|
Answer» When you install WebSphere application server, executable FILES and configurations files are seperated. This allows you install the product once and CREATE multiple SETS of configurations which uses the same underlying core executables of the websphere application server installation. These are the profiles in websphere application server. As you know, there are many TYPES of profiles and you can create multiple profiles. When you install WebSphere application server, executable files and configurations files are seperated. This allows you install the product once and create multiple sets of configurations which uses the same underlying core executables of the websphere application server installation. These are the profiles in websphere application server. As you know, there are many types of profiles and you can create multiple profiles. |
|
| 31. |
What Is Websphere Commerce? |
|
Answer» WebSphere Commerce is a software PLATFORM framework from IBM. This framework provides the functionality for e-commerce, including sales, marketing, customer support and order PROCESSING functionality. These functions are performed using a tailorable and integrated package. WSC is a unified and single platform. This platform offers to perform the functionality between businesses to customer, BUSINESS to business through channel partners. WSC is a scalable, highly reliable and customizable solution which is built on JEE platform. WSC uses the open standards such as XML and Web SERVICES. WebSphere Commerce is a software platform framework from IBM. This framework provides the functionality for e-commerce, including sales, marketing, customer support and order processing functionality. These functions are performed using a tailorable and integrated package. WSC is a unified and single platform. This platform offers to perform the functionality between businesses to customer, business to business through channel partners. WSC is a scalable, highly reliable and customizable solution which is built on JEE platform. WSC uses the open standards such as XML and Web services. |
|
| 32. |
How Do Edit/modify The Property/configuration Files? |
|
Answer» It is recommended to modify all the configurations using the administration console. When you need to make any configuration CHANGES, you need do the apply changes and sync them. Any changes you do at local repository LEVEL are discarded upon the next restart of that server because the sync is always from DMGR to local repository and changes are not saved to master repository. For example, if you edit a configuration file of SERVER1 and restart it. the changes are lost. When the server STARTS it SYNCS the configuration from master repository. It is recommended to modify all the configurations using the administration console. When you need to make any configuration changes, you need do the apply changes and sync them. Any changes you do at local repository level are discarded upon the next restart of that server because the sync is always from DMGR to local repository and changes are not saved to master repository. For example, if you edit a configuration file of server1 and restart it. the changes are lost. When the server starts it syncs the configuration from master repository. |
|
| 33. |
Explain About Websphere Mq Real Time Transport.? |
|
Answer» It is a lightweight protocol. This protocol is optimized for use with messages that are non-persistent. WebSphere MQ Real Time Transport is UTILIZED only by JMS clients. It is a lightweight protocol. This protocol is optimized for use with messages that are non-persistent. WebSphere MQ Real Time Transport is utilized only by JMS clients. |
|
| 34. |
What Is Mq Server? |
|
Answer» A Web SPHERE MQ server is a queue MANAGER that provides QUEUING services to one or more clients. All the Web Sphere MQ OBJECTS, for example queues, exist only on the queue manager machine (the Web Sphere MQ server machine), and not on the client. A Web Sphere MQ server can also support local Web Sphere MQ Applications A Web Sphere MQ server is a queue manager that provides queuing services to one or more clients. All the Web Sphere MQ objects, for example queues, exist only on the queue manager machine (the Web Sphere MQ server machine), and not on the client. A Web Sphere MQ server can also support local Web Sphere MQ Applications |
|