[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/tsth/APIJSON-Demo/master/APIJSON-Java-Server/README.md [Back]  [Original]

# APIJSON - Java ### JDBC Demo [APIJSONDemo](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo) APIJSON + SpringBoot Demo
[APIJSONBoot](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot) APIJSON + SpringBoot Demo
[APIJSONFinal](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONFinal) APIJSON + JFinal Demo
### Demo [APIJSONDemo-Druid](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-Druid) APIJSON + SpringBoot + Druid Demo
[APIJSONDemo-HikariCP](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-HikariCP) APIJSON + SpringBoot + HikariCP Demo
[APIJSONBoot-MultiDataSource](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource) APIJSON + SpringBoot + Druid + HikariCP Demo

APIJSONDemo /get
APIJSONDemo APIJSONBoot/APIJSONFinal Oracle, SQLServer JDBC GPL pom.xml Maven

[](https://github.com/Tencent/APIJSON/blob/master/%E8%AF%A6%E7%BB%86%E7%9A%84%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3.md) [](https://space.bilibili.com/39652511) #### jar https://github.com/TommyLemon/StaticResources/tree/master/APIJSONServer

### 1.APIJSON-Demo [APIJSON-DemoGitHub](https://github.com/APIJSON/APIJSON-Demo) > Clone or download > [Download ZIP](https://github.com/APIJSON/APIJSON-Demo/archive/master.zip) >
### 2.

MySQL ServerMySQLWorkbench
Windows 7 + MySQL Community Server 5.7.16 + MySQLWorkbench 6.3.7 OSX EI Capitan + MySQL Community Server 5.7.16 + MySQLWorkbench 6.3.8 + Postgre 2.1.564 #### Navicat Navicat > localhost > postgres > postgres >
sys > SQL > APIJSON-Demo-Master MySQL/PostgreSQL/Oracle
> > postgres sys > sys/ #### MySQLWorkbenchMySQL MySQLWorkbench > Connection > sys Schema > Server > Data Import > APIJSON-Demo-Master/MySQL > Start Import > SCHEMAS sys/tables [3APIJSON](https://my.oschina.net/tommylemon/blog/889074)
### 3. IntellIJ IDEA Ultimate Eclipse for JavaEE
Windows 7 + JDK 1.7.0_71 + IntellIJ 2016.3 + Eclipse 4.6.1 OSX EI Capitan + JDK 1.8.0_91 + IntellIJ 2016.2.5 + Eclipse 4.6.1 #### IntellIJ IDEA Ultimate

1)
Open > APIJSON-Demo-Master/APIJSON-Java-Server APIJSONDemo(Demo) APIJSONBoot() > OK
2)
apijson-orm, apijson-framework Maven
https://github.com/APIJSON/apijson-orm https://github.com/APIJSON/apijson-framework
apijson-orm, apijson-framework
libs (APIJSONBoot ) apijson-orm.jar > Add as Library > OK
libs jar
3)( 4 APIJSON )
DemoSQLConfig getDBUrigetDBAccountgetDBPasswordgetSchema
4)
APIJSONDemo/APIJSONBoot: DemoApplication > Run DemoApplication.main
APIJSONFinal: DemoAppConfig > Run DemoAppConfig.main

APIJSON "APIJSON "

Address already in use 8080
( APIJSON )
APIJSON [SpringBoot ](https://stackoverflow.com/questions/21083170/spring-boot-how-to-configure-port)
#### Eclipse for JavaEE
1)
File > Import > Maven > Existing Maven Projects > Next > Browse
> APIJSON-Demo-Master/APIJSON-Java-Server/APIJSONBoot
> /pom.xml ... apijson-demo > Finish
2)
apijson-orm, apijson-framework Maven
https://github.com/APIJSON/apijson-orm https://github.com/APIJSON/apijson-framework
apijson-orm, apijson-framework
libs (APIJSONBoot ) apijson-orm.jar > Build Path > Add to Build Path
libs jar
3)( 4 APIJSON )
DemoSQLConfig getDBUrigetDBAccountgetDBPasswordgetSchema
4)
APIJSONDemo/APIJSONBoot: DemoApplication > Run As > Java Application
APIJSONFinal: DemoAppConfig > Run As > Java Application
### 4.
[http://localhost:8080/get/{}](http://localhost:8080/get/{})
```json { "code": 200, "msg": "success" } ```
404 Not Found

### 5.
[APIAuto- HTTP ](http://apijson.cn/api) Postman HTTP HTTP POST JSON
https://github.com/Tencent/APIJSON/blob/master/Document.md

Web Proxy Viewer  |  New URL  |  Original Page