mardi oct. 21, 2008

Java 6 Update 10, en route pour JavaFX

Java 6 Update 10 est disponible!

Java 6 Update 10 mériterait presque d'être appelé Java 7 tant il va permettre à Java de se répandre au delà des déploiements d'entreprise et assumer sa position de technologie RIA (Rich Internet Application) de premier plan. Aussi parfois appelée "JVM pour consommateur" (Consumer JRE), cette nouvelle version apporte un temps de démarrage d'applications quasi-instantané, la possibilité de sortir une applet Java du navigateur pour la déposer sur le bureau (sans aucun arrêt ni redémarrage), une ergonomie et un look-and-feel améliorés, des performances graphiques encore optimisées et enfin des outils puissants et flexibles pour le déploiement et l'installation de JVM.

La présence de Java sur 91% des postes de travail (plus de 800 millions) connectés à Internet ainsi que ce nouvel incrément technologique fournissent désormais ubiquité, sécurité, fluidité, performance et large communauté au service de la technologie JavaFX attendue cet automne en version 1.0.

Pour la version plus technique, c'est ici: Introducing Java SE 6 update 10. Pour le reste, qq lignes pour donner envie de l'essayer :

New plug-in :

<APPLET>
  ...
  <PARAM NAME="draggable" VALUE="true">
  ...
</APPLET>

DeployKit :

<script src="http://java.com/js/deployJava.js">
</script>
  ...
<script>
    deployJava.runApplet(
        {codebase: 'http://www.macompagnie.fr/', archive:'monapplet.jar', code:'Main.class', width:800, height:600}, 
        null, “1.5”); 
</script>

mercredi juil. 30, 2008

Bundle and redistribute Sun's JDK (with GlassFish)

This blog has moved to alexismp.wordpress.com
Follow the link for the most up-to-date version of this blog entry.

I recently got a question in a JUG meeting about whether GlassFish could run on top of the JRE and not the JDK. The initial reason is that the person's understanding was that only the JRE could be redistributed, not the JDK.

From a technical perspective, provided you don't need to compile JSP's, GlassFish should run fine on top of the JRE. In practice, this has not been extensively tested and you should note that creating domains does requires the JDK (although that's not really runtime per say). Beyond the legal reasons (discussed below), you could be tempted to use the JRE just because of it's size (it is much smaller than the full JDK) resulting in a smaller download for your GlassFish-powered application.

From a legal standpoint, the JDK is redistributable (Sun's JDK that is). You can even subset the JDK and redistribute parts, according to rules that are included with the JDK README file (all subsets have to include the JRE).

Of course there's also the option of using OpenJDK whose GPLv2 with ClassPath Exception licensing does not force you to GPL your own code (note that GlassFish itself is also licensed under those same rules in addition to the initial CDDL license).

As Eduardo Pelegri-Llopart wrote in a comment to the previous entry, "It is mostly a legal/packaging/resourcing exercise. We would be interested in use cases to help us prioritize this effort."

(thanks to Bill Shannon and Jim Driscoll for scouting this).

lundi oct. 01, 2007

6uN: le nouveau petit nom du "consumer JRE" en route pour JavaFX

Si vous avez entendu parler de JavaFX, vous n'avez peut-être pas entendu parler du "consumer JRE". Dans tous les cas, il faut désormais parler de "Java SE 6 Update N" pour ce pré-requis pour JavaFX qui couvre un outil de déploiement, un kernel, un quick-starter, un mécanisme de mise à jour, un nouveau look-and-feel (Nimbus) et plus encore. Le premier build est disponible ici. Plus de détails sur le blog de l'architecte Client Java: Chet Haase

Même si JavaFX a besoin de ces améliorations pour fournir une meilleure expérience à l'utilisateur, 6uN sera bénéfique pour Swing et tout autre application coté client.

lundi mai 14, 2007

Consumer JRE

Being quite concentrated this year at JavaOne on server-side and GlassFish content, I did not attend Ethan's talk on the Consumer JRE (né Java Browser Edition and aka Java Kernel). Some time ago I had written down my thoughts on how doable and needed I thought this was (and I wasn't all that positive I must say). Now with JavaFX around the corner, this is becoming a high priority and a quick chat with Chet Haase has me more positive about the possible size improvements.

The numbers are now as follows: entire JRE (Java 6) is under 11Mb. HelloWorld requires a 2Mb download. Notepad, Swing Set, and LimeWire translate to something between 3 and 4 Mb downloads. The improvements over what I had measured as due to dynamic libraries (dll, so) optimizations (I had only looked at rt.jar which is only responsible for half the JRE size) or even removal while some others are relative and due to JDK 6 bundling more stuff than 5.0 which I did the review for (JAX-WS is the most obvious example).

Results coming to a JRE near you as soon as for 6.0 update 2.

About

This blog has moved

Alexis Moussine-Pouchkine's Weblog

GlassFish - Stay Connected

Search

Archives
« septembre 2015
lun.mar.mer.jeu.ven.sam.dim.
 
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
Blogroll

No bookmarks in folder

News

No bookmarks in folder