Websphere Application Sever (WASdev)

Install Step (Tested in OSX)

Download form: https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environments/

bin/installUtility install adminCenter-1.0

bin/server create server1

edit usr/servers/server1/server.xml as below

<?xml version="1.0" encoding="UTF-8"?>
<server description="new server">

 <!-- Enable features -->
 <featureManager>
 <feature>webProfile-7.0</feature>
 <feature>adminCenter-1.0</feature>
 </featureManager>

 <!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" -->
 <httpEndpoint id="defaultHttpEndpoint"
 httpPort="9080"
 httpsPort="9443" />
 
 <!-- Automatically expand WAR files and EAR files -->
 <applicationManager autoExpand="true"/>
 
 <quickStartSecurity userName="admin" userPassword="adminpwd" />
 <keyStore id="defaultKeyStore" password="Liberty" />

</server>

bin/server run server1

Finally 

Visit http://localhost:9080/

Reference

http://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_ui_setup.html

Eclipse – Proxy

Problem

Sometime, your pc is connected to Internet through proxy. It would make Eclipse Internet Connection not work. Below is the error promt when using marketplace.

image-006

Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: HTTP Proxy Authentication Required: http://marketplace.eclipse.org/catalogs/api/p
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: HTTP Proxy Authentication Required: http://marketplace.eclipse.org/catalogs/api/p
HTTP Proxy Authentication Required: http://marketplace.eclipse.org/catalogs/api/p
Proxy Authentication Required
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: HTTP Proxy Authentication Required: http://marketplace.eclipse.org/catalogs/api/p
HTTP Proxy Authentication Required: http://marketplace.eclipse.org/catalogs/api/p
Proxy Authentication Required

Solution

Menu -> Window -> Preferences

General -> Network Connections

image-007

Active Provider: Manual

Edit Http and Https

 

Then, your eclipse can access marketplace.

Image 008.png

 

 

System Implementation – From Design Specification to Program Deliverable

The design specification could be quite general to describe logical flow of a system. The work item would be divided to smaller work items and they could be validated with the design specification. The validation would be transferred into test plan.

Activities

  • Transform System Design Specification into Smaller Work Items.
  • Develop System according to Work Items
  • Prepare Test Plan according to Work Items
  • Unit Test Program Development
  • Commit Source Code

Maven Dependencies

Available Repository Managers

Reference: https://maven.apache.org/repository-management.html

  • Apache Archiva (open source)
  • JFrog Artifactory Open Source (open source)
  • JFrog Artifactory Pro (commercial)
  • Sonatype Nexus OSS (open source)
  • Sonatype Nexus Pro (commercial)

The usage of Repository Manager is considered an best practice for maven. It is a server application for proxy server of public Maven repository and deployment destination.

Local Repository

Default path: ${USER_HOME}/.m2/repository

<settings>
...
  <localRepository></localRepository>
...
</settings>

Deployment Setting

<settings>
  <servers>
    <id>
    <username>
    <password>
  </servers>
</settings>

Proxy Setting

In ${USER_HOME}/.m2/setting.xml

<settings>
  ...
  <proxies>
    <proxy>
      <id></id>
      <active></active>
      <protocol><protocol>
      <host></host>
      <port></port>
      <username></username>
      <password></password>
      <nonProxyHosts><nonProxyHosts>
    </proxy>
  </proxies>
  ...
</settings>