A Guide/Sample For Stupid JCS SX(Oracle Cloud Service SaaS Extension) with Spring

Why English?  The only reason is I DON"T THINK JCS COULD SUCCESS IN China.

When you get an account to do something in JCS, congratulations, you are on the way of hell.

The sample code base-on : Spring3+REST+JPA+JSON

Why not Springboot? JCS SX only support Spring3 !!!

sample code


1. Login to My Services

Three widget is import:

developer: You will get a GIT, a wiki, a Hudson and some other tools with developer. This is a Devops tools. 

apex:  Oracle Database-as-a-Software product. A DB tools which could manage your DB.

java: This is the JCS SX, similar as GAE. Base-on Weblogic, Only support spring3. Read the official document JCS SX guide. KEEP IN MIND: JCS SX is not JCS, there are different.

A Guide/Sample For Stupid JCS SX(Oracle Cloud Service SaaS Extension) with Spring_第1张图片
My Service Dashboard

2. JCS SX

  2.1 Login toJCS SX service console

A Guide/Sample For Stupid JCS SX(Oracle Cloud Service SaaS Extension) with Spring_第2张图片

3. Clone code to from github

build war file "gradle clean war"

4.Deploy war file

the name is just some some, don't need unique, The wls:context-root in weblogic.xml need unique in your JCS SX. It's the application context path.

A Guide/Sample For Stupid JCS SX(Oracle Cloud Service SaaS Extension) with Spring_第3张图片


A Guide/Sample For Stupid JCS SX(Oracle Cloud Service SaaS Extension) with Spring_第4张图片

5.View logs

In the JCS Console you can find your JNDI name, application log and deployment log.

When the deployment job is complete, you can click the application "Name" to find you test url

A Guide/Sample For Stupid JCS SX(Oracle Cloud Service SaaS Extension) with Spring_第5张图片

6. Test your REST API by curl


Code detail:

Please ref github README.md

你可能感兴趣的:(A Guide/Sample For Stupid JCS SX(Oracle Cloud Service SaaS Extension) with Spring)