系列0:websphere liberty profile june beta

https://developer.ibm.com/wasdev/downloads/liberty-profile-beta/
1.Download Eclipse JEE 4.3.2

2.下载wdt插件, 400M,wdt-update-site_Beta.v20140611_2238.zip,通过eclipse install new software安装

3.下载liberty profile运行时环境,65M,
,通过java -jar wlp-beta-runtime-2014.6.0.0.jar安装

安装时会让你选择位置:C:\IBM\wlp-beta_2014-6,安装(其实就是解压)后server.bat在C:\IBM\wlp-beta_2014-6\wlp\bin

java -jar myarchivefile.jar --acceptLicense C:\Liberty-profile-install
见:http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.wlp.nd.doc/ae/rwlp_inst_extraction_options.html?cp=SSAW57_8.5.5

4.下载对Web Service, JMS, JCA, or MongoDB的支持, 24.1M
通过java -jar wlp-beta-extended-2014.6.0.0.jar安装到与runtime相同的位置C:\IBM\wlp-beta_2014-6

5.下载admin center,15M,通过java -jar 安装到与runtime相同的位置C:\IBM\wlp-beta_2014-6

HELLO WORLD

  1. From thewlp/bindirectory in your Liberty profile runtime installation, run the following command to create a new server:
    server create server-name

    The new server is created inwlp/usr/servers/server-name.

  2. Run the following command to start the server:
    server start server-name
  3. To deploy an application, copy the .war file to the server’sdropinsdirectory:
    usr/servers/server-name/dropins

    There’s no need to restart the server; the application should just work!

  4. 访问http://localhost:9080打开welcome页

阅读: 
Deploying a web application to the Liberty profile
http://www-01.ibm.com/support/knowledgecenter/api/content/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_dep_war.html

server命令
http://www-01.ibm.com/support/knowledgecenter/api/content/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_admin_script.html

Ant Maven等
http://www-01.ibm.com/support/knowledgecenter/api/content/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_setup.html

Deploying applications to the Liberty profile(JDBC,JNDI,JPA, JAX-RS, etc)
http://www-01.ibm.com/support/knowledgecenter/api/content/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_dep.html

你可能感兴趣的:(系列0:websphere liberty profile june beta)