WebSphere interview question

Write a wsadmin Jython script that creates a JDBC data source and saves the configuration.

Hands-on

Members can save this page, take notes and track progress. See membership · Sign in

Summary

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. Scripts like this make environments reproducible instead of relying on admin console clicks.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More WebSphere questions

← All WebSphere questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake