Wednesday, November 5, 2008

Web Sphere Interview Questions

What the difference between WAS5.x and WAS6.x?

WAS 6.x has all the features of was 5.x along with some additional features. Some of the additional features included in WAS 6.x which are not included in WAS 5.x are:

1. Multiple Profile creations with a single installation
2. Introduction of Service Integration Bus(SIB) for messaging
3. Has default JMS providers
4. WebServers can be managed from ND Admin Console and also can create Generic servers and last but not the least
5 Has some extra add ones in the Admin console navigation tree

How to deploy web/jar files in Web logic or tomcat in unix/Linux environment ?

In weblogic 9.0Â --> 1)copy the web / Jar Application paste in Auto deployment folder.it's called Hot deployment.
2) Otherwise go to Administrative console--> http://localhost:7001/console> Deployment->Loc/Edit Click--> Install--> select source path
3) WLST --> Weblogic Scripting tool--> type command Deploy

What are the differences between web sphere 4.0,5.0 and 6.0?

Web Sphere Studio 3.5, comes up with Visual Age for Java. WSAD 5.0 supports J2EE 1.3 java specifications. RAD 6.0 supports J2EE 1.4 and integrated with Eclipse 3.0, UML Visual Editor, Tomcat Jakarta, Ant scripting, EJB universal test client and SOA tools.

How to choose websphere over other application servers?

Selecting application server is part of architechtural process when infrastructure is defined. It depends on several facots:

1. External systems your application will be interacting
2. Type of application you have
3. Target availability of system.
4. Corporate standards
5. Budget.

What are deployment descriptors? How many types of Deployment descriptors are available? What are they?

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.

How many ways can you deploy applications in websphere?

1. Directly copy files to deployedapplication folder in websphere- hot deployment.
2. use websphere specific ant tasks and building automated scripts for deploying application.
3. through administration console.

What is the difference between web server and application server?

ApplicationServer: takes care of Security, Transaction, Multithreading, Resource pooling, load balancing, clustering, performence, highly availability, scalability, etc. Exposes business logic to client applications through various protocols, possibly including HTTP. Supports deployment of .war and .ear filesApplication server = webserver + EJB container.

Webserver: handles HTTP protocol. Receives HTTP request, it responds with an HTTP response.

How to import jaxp package in IBM WSAD?

1. open WSAD
2. go to project
3. click properties
4. select javaBuildPath
5. add any jar file like jaxp select add external jars.

How to implement JDBC-ODBC bridge driver (Type 1) in Websphere?

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.

Is there any difference between weblogic and websphere?

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.

No comments: