Java 2 Enterprise Edition SDK (J2EE SDK)

 
 
To develop end-to-end enterprise solutions focusing on the server side you can use the Java 2 Enterprise Edition Software Development Kit (J2EE SDK).

The latest J2EE SDK version can be downloaded from: http://java.sun.com/j2ee/







Changing GlassFish server listening ports



Information
none

Operating system used
Windows Vista Home Premium SP 1

Software prerequisites
J2EE + GlassFish

Procedure
  1. To check if a port is already in use open a DOS box and type command:
    netstat -a -b

    Show all listening ports

  2. Start the Default Server, select: Start | All Programs | Sun Microsystems | Java EE 5 SDK | "Start Default Server".

    Start Default Server

    Note:
    The Admin Console is available at: http://localhost:4848/
    The Web Applications are available at: http://localhost:8080/ and https://localhost:8181/

  3. Open your browser and type: http://localhost:4848/ to access the GlassFish server admin console.

    Sun GlassFish Administration Console Login

    Enter your administrator login account, for example:
    User Name: admin
    Pasword: adminsecret

  4. The Sun GlassFish Administration Console is displayed.

    Sun GlassFish Administration Console

  5. Expand folder: Configuration | HTTP Service and select HTTP Listeners.

    Select HTTP Listeners

  6. To change port 8080, click on link http-listener-1.

  7. Change port 8080 into 8090 and press Save button.

    Change port

  8. Stop the Default Server, select: Start | All Programs | Sun Microsystems | Java EE 5 SDK | "Stop Default Server".

  9. Start the Default Server

  10. Open your browser and type: http://localhost:8090/, to check if your GlassFish Enterprise Server is listening to port 8090.

    GlassFish Enterprise Server is running