Step One: At very first step, we will see how to set up Data source in web logic. Follow the below steps and if you are facing any issue comment us below.
Open weblogic console and go to Data Source and click on new -> Generic Data Source. Follow the below image
Update Name, JNDI name (remember this will be used for DB connection during spring boot project setup) and choose MySql as Database Type. Click next button.
Database Driver name should be auto selected as shown in below image. Click next button.
This step is much important. Update database name, Host name, Port, database user name and password as shown in below image. Click on next button.
Test configuration now. It should show connect test succeeded. Click on next button.
TutorialSource data source should be listed like below image. Click on the datasouce and follow the next image.
Choose Targets option and Select the server where you want to link the DS. It should be the same managed server where you will deploy the Spring boot code later. Click on save.
That's all we have successfully created the data source. We will create the Spring Boot sample project and explain the rest setup in next tutorial. Follow the next blow for Step Two.
No comments:
Post a Comment