21) What is singleton? What is the purpose of singleton? How to get connection in websphere portal server?
A) Singleton class is a class in which only one instance of the object exist at any point of time. So a Singleton class is basically used when we want to restrict instantiation of a class to only one object. "Application" class, print spooler, database connection are examples of a singleton class. In a singleton class the constructor is made private and a private static is declared that reference of same class. A static variable is used for instantiating the class. Singleton class are not cloneable.
22) what is managed server ?
A) After federating a node from Application Server profile to Manager Profile, the node becomes Managed Node, so the servers which are running under that particular node automatically becomes managed servers (previously those are unmanaged servers, because they belongs to unmanaged node i.e; before federation) this is nothing but managed server.
A) Singleton class is a class in which only one instance of the object exist at any point of time. So a Singleton class is basically used when we want to restrict instantiation of a class to only one object. "Application" class, print spooler, database connection are examples of a singleton class. In a singleton class the constructor is made private and a private static is declared that reference of same class. A static variable is used for instantiating the class. Singleton class are not cloneable.
22) what is managed server ?
A) After federating a node from Application Server profile to Manager Profile, the node becomes Managed Node, so the servers which are running under that particular node automatically becomes managed servers (previously those are unmanaged servers, because they belongs to unmanaged node i.e; before federation) this is nothing but managed server.
-----> The server which is running under a node which has a node agent is called as Managed Server
23) Explain architecture of WAS ?
A) 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 software's 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.
The following are the components
1) A web server which provides the services of HTTP
2) A database server for data persistence
3) WebSphere Application Server (WAS)
24) WAS EDGE COMPONENTS ?
A) Caching Proxy
Proxy Server
Load Balancer
Network Dispatcher Component
Content Based Routing (CBR)
Site Selector Component
25) what is the difference between L1, L2, L3?
A) l1- is basic level (monitoring, basic configuration)
l2 -back up who are senior staff (trouble shooting)
l3 –architechts (designing / architect/ requirement(ram/box))
No comments:
Post a Comment