mardi déc. 13, 2011

Taking Mission Control 4.1 for a quick spin

As Henrik, Marcus, and Markus posted yesterday, JRockit Mission Control 4.1 (download) is out and it has two interesting features I wanted to try out: early support for HotSpot and a Mac OS version.

The best (the only?) way to test both of these features without installing the JRockit JVM itself is to install Mission Control as an Eclipse (3.7) plugin using its update center.

Once you switch to the Mission Control perspective, locally running JVMs (Apple's latest 1.6 JVM, the JDK 7 Developer Preview or OpenJDK) are all detected with "General", "MBeans" and "Runtime" sections very much functional. It's still early days with the Flight Recorder and Memory Leak Detector features not yet available.

Looking at a JVM running GlassFish 3.1.1, the application server AMX's are available once you initiate a bootAMX operation.

vendredi sept. 24, 2010

JavaOne 2010 Technical Keynotes

I don't really attend keynotes to learn something new (it's pretty much my job to know this stuff before). Rather, I try to sense how people react by following tweeter tags and by being in the room. This year's JavaOne Technical Keynote with Mark Reinhold, Roberto Chinnici, and Greg Bollella was no exception.

For both Mark's and Roberto's part of the keynote, this was clearly split into two categories: the people that felt that covering plan A/B, JDK 7/8, project Coin, and all the great new features of Java EE 6 was really old stuff and those that we're genuinely excited by most of what they've heard. On the Java EE side of things I believe this was certainly the right balance.

Imagine that the vast majority of developers don't go to JavaOne, don't read blogs, don't tweet, and don't spend time downloading new open source projects and libraries. Yet, some people still found the so-called old content to be extremely useful. I certainly found the final thoughts on how Java EE should evolve for the cloud to be useful (watch the full keynote, not the highlights that trimmed the most important part :( ).

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).

dimanche juin 01, 2008

Blog Alti - draggable applets

Un des moments forts de cette JavaOne 2008 du mois dernier fut Java 6 Update 10. Que cela soit utilisé par JavaFX ou tout simplement par des applications Web Start ou des applets existantes, Patrick Champion d'Alti vous explique en détails comment reproduire la fonction démontrée qui consiste à sortir une applet de sa page web pour la transformer en application Java Web Start indépendante du navigateur. Le tout en français dans le texte.

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
« avril 2014
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