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 !!!
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.
My Service Dashboard2. JCS SX
2.1 Login toJCS SX service console
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.
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
6. Test your REST API by curl
Code detail:
Please ref github README.md
网友评论