Saturday, 23 February 2013

WebSphere Enhanced EAR files | WebSphere Tutorial pdf

WebSphere Enhanced EAR files

The WebSphere Enhanced EAR, introduced in WebSphere Application Server V6, is a regular J2EE EAR file wit h additional configuration information for resources usually required by J2EE applications. While adding this extra configuration information at packaging time is not andatory, it can simplify deployment of J2EE applications to WebSphere. When you deploy an enhanced EAR to a WebSphere Application Server V6 server, WebSphere can configure the resources specified in the enhanced EAR automatically. This automatic configuration reduces the number of steps that are required to set up the WebSphere environment to host the application.

Deployment :
Applications are installed on application servers using the administrative console or the wsadmin scripting interface. You can deploy an application to a single server or a cluster. In a cluster, the application is installed on each application server in the cluster.
=> Installing an application involves the following tasks:
=> Binding resource references, created during packaging, to real resources
For example, a data source would need to be bound to a real database.
=> Defining JNDI names for EJB home objects
=> Specifying data source entries for entity beans
=> Binding EJB references to the real EJB JNDI names
=> Mapping Web modules to virtual hosts
=> Specifying listener ports for message -driven beans
=> Mapping application modules to application servers
=> Mapping security roles to users or groups
=> The use of an enhanced EAR file simplifies this installation process.
=> After a new application is deployed, the Web server plug -in configuration file
=> needs to be regenerated and copied to the Web server.

No comments: