Spring Boot+Hibernate Project with Weblogic server. How to use weblogic data-source into Spring Boot Project? How to deploy into weblogic server? All Answer under the same cover.(Part 1). - NESTED CODE || TECH FLOAT

Post Top Ad

Post Top Ad

Tuesday, 5 May 2020

Spring Boot+Hibernate Project with Weblogic server. How to use weblogic data-source into Spring Boot Project? How to deploy into weblogic server? All Answer under the same cover.(Part 1).

download

Well, during past few months we are noticing that people are facing issue to deploy spring boot project into web logic. Also one most important question is roaming around that how to use data source to spring boot project. We would be explaining everything over this blog starting from scratch.

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

nc-screen-jndi

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.

nc-screen-jndi-two

Database Driver name should be auto selected as shown in below image. Click next button.

nc-screen-jndi-three

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.

nc-screen-jndi-four

Test configuration now. It should show connect test succeeded. Click on next button.

nc-screen-jndi-five

TutorialSource data source should be listed like below image. Click on the datasouce and follow the next image.

nc-screen-jndi-six

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.

nc-screen-jndi-seven

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

Post Bottom Ad