Deploy sample spring boot application in PCF using spring STS:
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:
Check the application status
in PCF:
Login to the PFC using below URL:
Access the application using below url:
No comments:
Post a Comment