GlassFish Update Center

Starting GlassFish v2 Beta we now have a Update Center. The idea is to use Update Center to deliver GlassFish add-on components, updates and to provide a mechanism to enable community contributions. We do not have update support in this first release of Update Center. Various different add-on components are delivered through Update Center.I would like to describe how to get started using Update Center.

Let's see how we can convert GlassFish installation into JavaEE 5 SDK. For the purpose of this blog, I am using windows installation. Also, the assumption is that you already have GlassFish installation. For more information on how to install GlassFish, please refer to the any of the following blogs:
http://blogs.sun.com/bharath/entry/glassfish_installation_process_the_beginner
http://blogs.sun.com/AngeloJ/entry/zero_to_glassfish_in_10min
http://blogs.sun.com/alexismp/resource/getting-started-gfv2.html

Run <GlassFish v2 install root>\\updatecenter\\bin\\updatetool.bat to start Update Center. Below is the screen shot of Update Center when it comes up.


By default, Available Software tab is selected and you should see all the available GlassFish add-on components here. You may see empty list here in case Update Center is not able to connect to the Update Center server. Probable cause may be that you are behind the proxy server. If so, please provide proxy server information by switching to Preferences tab.


Check Connect through a proxy server check-box and provide the proxy server name and port. In case your proxy server requires authentication, use Proxies require authentication check-box and provide username and password. You may need to provide ssl proxy server name and port. Just uncheck  Use Http proxy for all protocols check-box if same proxy server is used for ssl connections. Save the proxy information by using Save button. Now, check for updates by clicking Check for Updates button on the top. You should see the Update Checker dialog with download completed message. If you see download failed message on update checker dialog, means, you are still not able to connect to the Update Center server. Please make  sure your network is up and you can access Internet using the proxy information you provided.

Lets switch back to Available Software and select Java EE Blueprints, Java EE 5 Tutorial and Java EE 5 API Documentation.


Please note that Java EE 5 Samples also got selected. This is because Java EE Blueprints has dependency on Java EE 5 Samples. To install these selected components click Install button. Accept license agreements. Note, once installation is complete, the installed components are no more available in Available Software list. You can see these installed components in the Installed Software tab.


We have just converted our GlassFish v2 install into Java EE 5 SDK. You can now see these new components under GlassFish v2 install root at following respective locations-
Java EE Blueprints:     <GlassFish v2 install root>\\blueprints
Java EE 5 Samples:    <GlassFish v2 install root>\\samples\\javaee5
Java EE 5 Tutorial:     <GlassFish v2 install root>\\docs\\firstcup
Java EE 5 API:          <GlassFish v2 install root>\\docs\\api

To use Blueprints please refer to the following urls:
Blueprints homepage: https://blueprints.dev.java.net/
Pet Application:         https://blueprints.dev.java.net/petstore
Blueprints Catalog:     https://blueprints.dev.java.net/bpcatalog

To use Java EE 5 Samples please refer to https://glassfish-samples.dev.java.net/
To use Java EE 5 Tutorial please refer to https://firstcup.dev.java.net/

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

rajeshwar

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today