Java

Saturday 9 September 2017

Deploy spring boot application in PCF using spring STS

Deploy sample spring boot application in PCF using spring  STS:

    HIBERNATE-ANNOTATIONS     SPRING-IOC       SPRING –AOP-SCHEMABASED   

    SPRING-AOP-ANNOTATIONS      SPRING -DAO     SPRIN-MVC     SPRING-SECUTITY

     SPRING-DATA-JPA     REST-WEB-SERVICE     STRUTS2HIBERNATE    GWT.... 

















SimpleRest.java



@RestController

public class SampleRest {

                 private static final Logger LOG = Logger.getLogger(SampleRest.class);

                

@GetMapping("/helllo" )

public String hello() {
                System.out.println("studet =");
               return "sample test";
}

}                   

Create connection to PCF using STS:








































After compete the above process will get the connection as shown below:



















Drag and drop the application as shown below:






















Check the application status  in PCF:





Login to the PFC using below URL:














Access the application using below url: