In this post, we see how to create Java Derby database data source. You can also read previous post which shows how to create java derby database connection in Jdeveloper.
To create derby data source go to admin console and go to Services --> Data sources
Click on "Generic Data Source".
Give data source name and JNDI name. Choose data base type as "Derby".
choose derby database driver.
Enter derby database detail and click on next.
Choose data source target.