amazon

Interview Preparation 1

1. Explain the Three tier architecture?
When ever client request for the application request will go to web server the web server dispatch the request through plug-in config.xml file.
In the application server there are two containers one is web container and another is Ejb container. The web container contains the servlets, jsp’s, javabeans, and Xml .EJB container contains the EJB components like session Beans, entity Beans, Message driven Beans and dynamic content.
The application server request will go to date base .database to replay the response in application server to web server to client.

2. What is the profile?
We need an environment to create servers to deploy applications and administration control.

3. What is cell?
It is grouping of nodes in to a single administrative domain. In the base and express configurations, a cell contains one node.

4. What is node?
It is logical group of servers. This will access as an administrative control for application servers all application severs under a node.

5. What is Server?
Server is a run time environment in which to deploy manage, and run j2ee applications.

6. What is node agent?
It access between the cell and node.

7. What is the application server?
The application server provides a runtime environment in which to deploy, manage, and run j2ee applications.

8. What is the difference between Web Server and Application?
Web server:
A Web server handles the HTTP protocol. When the Web server receives an HTTP request it responds with an HTTP response such as sending back an HTML page. To process a request a Web server may respond with a static HTML page or image send a redirect or delegate the dynamic response generation to some other program such as CGI scripts JSPs (Java Server Pages) Servlets ASPs (Active Server Pages) server-side Java Scripts or some other Server-side technology. Whatever their purpose such server-side programs generate a response most often in HTML for viewing in a Web browser.
Application Server:
As for the application server according to our definition an application Server exposes business logic to client applications through various protocols possibly including HTTP. While a Web server mainly deals with sending HTML for display in a Web browser an application server provides access to business logic for use by client application programs. The application program can use this logic just as it would call a method on an object

(Or)
(1) Web server serves pages for viewing in web browser, application server provides exposes business logic for client applications through various protocols (2) Web server exclusively handles http requests. Application server serves business logic to application programs through any number of protocols. (3) Web server delegation model is fairly simple, when the request comes into the web server; it simply passes the request to the program best able to handle it (Server side program). It may not support transactions and database connection pooling.
(4) Application server is more capable of dynamic behavior than web server. We can also configure application server to work as a web server. Simply application server is a superset of web server.

9. What is the extra feature of WAS 6.x compared to WAS 5.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. Web Servers can be managed from ND Admin Console and also can create Generic servers and last but not the least
5 Has some extra add ons in the Admin console navigation tree.
(Or)
• Supports J2EE 1.2, 1.3 and 1.4 specifications
– Can upgrade runtime environment without upgrading applications
– Supports mixed version nodes in a v6 ND Cell
– Allow for migration in stages within a cell
– Mixed v5 and v6 nodes must have v6 Dmgr (can’t add new v5 node)
– V6 ND introduces profiles
– Each profile has its own user data including WebSphere configuration
– All profiles share same WebSphere binaries
– Less disk space required than separate installations

10. What are the profiles available in WAS 6.x? And difference between them?
In WAS 6.1 we have 4 different types of profiles available. They are
Deployment Manager Profile (DMGR):
The deployment manager profile defines a deployment manager in a distributed server environment
Application Server Profile:
It is a single stand –alone application server. This profile gives you an application server that can run stand alone or un-managed.
Custom Profile:
A Custom profile is an empty Node intended for federation to a deployment manager.
Cell Profile:
The application server is federated to the DMGR profile. It is a combination of DMGR and Application server profiles.


11. Is there any difference between Web logic and Web sphere?
Functionally these two products are fairly close except for some minor differences in supported standards.
While Web Sphere tends to focus more on integration connectivity and web services - Web Logic has in the past focused more on emerging J2EE standards and ease-of-use.
Because of Web Sphere’s rich implementations of J2EE it is a little more involved but benefits with better performance more extensive integration and transaction management
In terms of transaction Web Logic is having default transaction attribute as Supports but WebSphere does not have any default transaction attribute.

13. How many types of profiles are in nd product?
1. Deployment manager profiles 2.application server profiles 3.custom profile

14. Packages of web sphere?
Express, base, network deployment.

15. What is a managed node?
Node with Node Agent.