Interview Q&A · questions with model answers
WebSphere Interview Questions
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Write a wsadmin Jython script that creates a JDBC data source and saves the configuration.
Use AdminTask commands to find the JDBC provider, create a J2C authentication alias, create the data source with its JNDI name and properties, then call AdminConfig.save() and synchronise the nodes.…
-
Write a Liberty server.xml for a REST service that uses a PostgreSQL database and exposes health checks.
Enable the REST, JSON, CDI, JDBC and MicroProfile Health features, configure the HTTP endpoint, a data source with a connection pool using variables for environment-specific values, and the…