Home

 

Configuring the data source

There are a couple of methods that can be used to configure the data source, including using the WebSphere administrative console or using the WebSphere Enhanced EAR, which stores the configuration in the deployment descriptor and is deployed with the application.

While developing JSF and JPA Web applications with Application Developer v7.5, the data source is created automatically when you add JPA managed data to a Faces JSP file. The data source configuration is added to the EAR deployment descriptor.

However, if you already have defined the ITSOBANKderby data source in the server (Configuring the data source in WebSphere Application Server), then you can run into problems because you can only have one active connection to the database. Removing all applications from the server and restarting the server clears the connection.

ibm.com/redbooks