Java EE 6 Update 1 with JDK 6 U21 - and Using the Update Tool
We have released new Java EE 6 SDK w/ JDK 6 bundles using [URL="http://www.oracle.com/technetwork/java/javase/6u21-156341.html"]JDK 6 U21[/URL] (the good one, not [URL="http://nighthacks.com/roller/jag/entry/funniest_thing_i_ve_read"]this one[/URL]). All bundles, including the non-JDK bundles which have not changed since June 17, 2010, are [URL="http://blogs.sun.com/theaquarium/entry/the_big_merge_is_on"]now at OTN[/URL]; check the [URL="http://www.oracle.com/technetwork/java/javaee/downloads/index.html"]SDK download page[/URL], or navigate directly to the SDK w/ JDK bundles for [URL="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=java_ee_sdk-6u1u21-wjdk-web-oth-JPR@CDS-CDS_SMI"]Web Profile[/URL] and [URL="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=java_ee_sdk-6u1u21-wjdk-oth-JPR@CDS-CDS_SMI"]Full Platform[/URL].
All the IPS packages have been refreshed; those for SDK w/ JDK have the new JDK components while those for the SDK w/o JDK have changed only [I]very[/I] slightly. Since I normally use a Mac, I use an SDK w/o JDK; in that case, the only file changed is the [I]about_sdk.html[/I] in the [I]sdk-branding [/I]IPS component (or [I]about_sdk_web.html[/I] in [I]sdk-branding-web [/I]for web profile).
If you have installed the Java EE 6 SDK and enabled its Desktop Notifier, the update machinery will (eventually) detect the new packages, which will activate the following sequence:
[IMG]http://blogs.sun.com/theaquarium/resource/JavaEE6U1-Notifier-134_64px.png[/IMG] First you will see the notifier; you can either dismiss it, or you can click on it to continue the update process
[IMG]http://blogs.sun.com/theaquarium/resource/JavaEE6U1-Update-156-161PX.png[/IMG] Next you will be presented an overview of the available updates. There may be more than one, depending on what you have installed in your machine. For each one, you will be shown the size of the download (3.4KB in this case - since it is just one file in one component) and you will be asked to accept the license.
You can also manage the details for the installation process... and you are given an opportunity to look at the Ads :-)
[IMG]http://blogs.sun.com/theaquarium/resource/JavaEE6U1-Complete-156_122px.png[/IMG] The next step is the actual download, and a report on its completion.
At this point you can ask for details of the installed software. For example, you can go look at what components have been installed and their properties, or what AddOns are available, or what repositories you are using.
As you can see, this is all very painless. The upgrade is almost a no-op in this case but the same exact process will be used for larger updates and, since [URL="http://blogs.sun.com/theaquarium/tags/IPS"]IPS[/URL] underlies all the [URL="http://blogs.sun.com/theaquarium/tags/glassfish+v3"]GlassFish 3[/URL] distributions, this also applies to the [URL="http://blogs.sun.com/GlassFishForBusiness/entry/oracle_glassfish_server_3_0"]Commercial Distributions[/URL] from Oracle.
The Oracle official documentation has very good explanations for all these tasks (thanks, Scott!); see [URL="http://docs.sun.com/app/docs/doc/821-1751/ghapp?l=en&a=view"]Chapter 10: Extending and Updating GlassFish Server[/URL], specially [URL="http://docs.sun.com/app/docs/doc/821-1751/gkbtb?l=en&a=view"]Upgrading to Oracle GlassFish Server from the Oracle GlassFish Server Open Source Edition[/URL] and [URL="http://docs.sun.com/app/docs/doc/821-1751/ghjlp?l=en&a=view"]Updating Installed Components[/URL]. Commercial patches are installed in exactly the same way - which, compared to the previous approach, has customers [URL="http://twitter.com/brianleathem/status/18929339796"]really happy[/URL].
[url=http://blogs.sun.com/theaquarium/entry/java_ee_6_update_1]Read More about [Java EE 6 Update 1 with JDK 6 U21 - and Using the Update Tool...[/url]