本章主要介紹Jersey各種不同的參數註解 Parameters of a resource method may be annotated with parameter-based annotations to extract information from a request. One of the previous examples presented the use of @PathParam to extract a path parameter from the path
新入手mac筆記本,需要重新搭建java開發環境。 之前一直使用的環境: myeclipse(內建各種外掛程式) weblogic oracle 本次在mac上準備搭建的環境: ecplise(官網下載,注意有多個版本,下載《Eclipse IDE for Java EE Developers》,若是《Eclipse IDE for Java Developers》,則不能建立web工程等) 外掛程式 tomcate mysql 安裝tomcate:
The JDBC ( Java Database Connectivity) API defines interfaces and classes for writing databaseapplications in Java by making database connections. Using JDBC you can send SQL, PL/SQL statements to almost any relational database. JDBC is a Java API
java jre 並沒有和IDEA一起安裝,所以要配置。否則會報錯。 Cannot start compiler:the SDK is not specified for the model "**".Specify the SDK at Project Structure dialog. 解決方案:在Project Structure中配置SDKs,然後在Modules中設定Module SDK為剛才配置的SDK即可。