Size: 1036
Comment:
|
Size: 1553
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 31: | Line 31: |
== Docker Ubuntu image install == * docker pull ubuntu * docker run -t -i ubuntu /bin/bash # docker session * apt-get update * apt-get install tzdata-java * apt-get install openjdk-7-jdk * java * java -version * apt-get install wget * cd /tmp * wget http://dlc.sun.com.edgesuite.net/glassfish/4.1/release/glassfish-4.1.zip * apt-get install unzip * unzip glassfish-4.1.zip * mkdir -p /opt/appsrv * mv glassfish4/ /opt/appsrv/ * cd /opt/appsrv/glassfish4/ * bin/asadmin start-domain |
JEE
Java Platform, Enterprise Edition
JEE 7 Tutorial
https://docs.oracle.com/javaee/7/tutorial/index.html
Key features: https://blogs.oracle.com/arungupta/entry/java_ee_7_key_features
Reference implementation: https://glassfish.java.net/getstarted.html
Java EE7 APIs: https://docs.oracle.com/javaee/7/tutorial/overview007.htm
Install Glassfish 4.1
https://glassfish.java.net/download.html
JDK 8 u20 or above is recommended for GlassFish 4.1.
- cd /tmp
wget http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-x64.tar.gz
wget http://dlc.sun.com.edgesuite.net/glassfish/4.1/release/glassfish-4.1.zip
- unzip glassfish-4.1.zip
- tar xvzf jdk-8u25-linux-x64.tar.gz
- mv jdk1.8.0_25/ /usr/java
- mv glassfish4/ /opt/appsrv/
- cd /usr/java/jdk1.8.0_25
- chmod 555 * -R
- /usr/java/jdk1.8.0_25/bin/java -version
- cd /opt/appsrv/glassfish4/bin
- JAVA_HOME=/usr/java/jdk1.8.0_25 AS_JAVA=/usr/java/jdk1.8.0_25 asadmin start-domain
Docker Ubuntu image install
- docker pull ubuntu
- docker run -t -i ubuntu /bin/bash # docker session
- apt-get update
- apt-get install tzdata-java
- apt-get install openjdk-7-jdk
- java
- java -version
- apt-get install wget
- cd /tmp
wget http://dlc.sun.com.edgesuite.net/glassfish/4.1/release/glassfish-4.1.zip
- apt-get install unzip
- unzip glassfish-4.1.zip
- mkdir -p /opt/appsrv
- mv glassfish4/ /opt/appsrv/
- cd /opt/appsrv/glassfish4/
- bin/asadmin start-domain