So ist jedenfalls der Plan, weitere Infos unter https://wiki.apache.org/incubator/NetBeansProposal.
Allgemein
JavaZone 2016 Präsentationen online
Auf Vimeo: https://vimeo.com/album/4133413/
Java EE soll näher an die Cloud
Alles nur heiße Luft?
Nach den in letzten Wochen immer deutlich werdenden Spekulationen zur Zukunft von Java EE hat sich Oracle nun zu seinen Plänen geäußert:
Oracles Pläne sehen für Java EE deutlich „mehr Cloud“ vor.
Reverse Engineering Androids Pokémon Go
Damit beschäftigt sich https://applidium.com/en/news/unbundling_pokemon_go/.
Java 8 Update 101 erschienen
Oracle hat heute das Update 101 der Java 8 SE-Bibliothek veröffentlicht und behebt damit diverse Fehler und Sicherheitslücken.
Auch die Stabilität und Performance soll verbessert worden sein.
Java SE Embedded Compact Profiles
Hat ein System beschränkten Speicher, wird es knapp für das gesamte Java SE. Daher gibt es Teilmengen der Java SE, genannt Profiles, die nur knapp über 11 MiB benötigen. Im Moment gibt es drei Profile, also drei Teilmengen der Java SE, die jeweils immer etwas mehr können. compact1 ist die kleinste Teilmenge, wo zum Beispiel die Kernklassen enthalten sind, compact2 nimmt die API für Datenbankverbindungen mit auf, compact3 kann dann XML-Verarbeitung und die komplette Java SE grafische Oberflächen darstellen oder Web-Services deklarieren.
Jede Klasse ist einem Profil zugeordnet, was der Compiler statisch prüfen kann – solange der Klassenname nicht dynamisch bestimmt wird. So lässt sich sicherstellen, dass nur Typen referenziert werden, die auch in einem Profil sind.
Oracle Java Standard Edition Embedded (Oracle Java SE Embedded)
Oracle unterstützt mit der Oracle Java Standard Edition Embedded (Oracle Java SE Embedded)[1] Profile. Allerdings laden Entwickler keine einfache Laufzeiumgebung herunter, sondern ein Werkzeug JRECreate, mit dem eine Laufzeitumgebung mit unseren eigenen Paketen für ein bestimmtes System generiert wird. Drei Laufzeitumgebungen sind wählbar: eine Minimal-JVM, Client JVM (schnelle Reaktionsfähigkeit), Server JVM (verbraucht mehr Hauptspeicher). Sehr fein kann dann bestimmt werden, ob JavaFX mit dabei sein soll, oder welche Sprachübersetzungen mit ausgeliefert werden. Am Ende steht ein Verzeichnis mit bin und JRE, lib und Java-Archiven, Konfigurationen und – das darf bei Oracle auf keinen Fall fehlen – Copyright- und Lizenz-Dokumenten.
[1] http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/index.html
Eclipse 4.6 (Neon) News
Alle News unter https://www.eclipse.org/eclipse/news/4.6/platform.php.
Interessant sind:
| Commands and shortcuts to zoom in text editors | In text editors, you can now use Zoom In (Ctrl++ or Ctrl+=) and Zoom Out (Ctrl+-) commands to increase and decrease the font size.Like a change in the General > Appearance > Colors and Fonts preference page, the commands persistently change the font size in all editors of the same type. If the editor type’s font is configured to use a default font, then that default font will be zoomed. |
| Full Screen | The Full Screen feature is now also available on Windows and Linux. You can toggle the mode via shortcut (Alt+F11) or menu (Window > Appearance > Toggle Full Screen).When Full Screen is activated, you’ll see a dialog which tells you how to turn it off again.
On the Mac, Window > Toggle Full Screen (Control+Command+F) still works as before. |
| Substring code completion | Content Assist now supports substring patterns. Enter any part of the desired proposal’s text, and Content Assist will find it! For example, completing on selection proposes all results containing selection as a substring.
This feature can be disabled using the Show substring matches option on the Java > Editor > Content Assist preference page. |
| Clean Up to remove redundant type arguments | A new option to remove redundant type arguments has been added under the „Unnecessary Code“ group of the Clean Up profile.![]() |
| Create new fields from method parameters | You can now assign all parameters of a method or constructor to new fields at once using a newQuick Assist (Ctrl+1):![]() |
| Quick Fix to configure problem severity | You can now configure the severity of a compiler problem by invoking the new Quick Fix (Ctrl+1) which opens the Java > Compiler > Errors/Warnings preference page and highlights the configurable problem.
The Quick Fix icon may look familiar to you. In older Eclipse versions, this was a toolbar button in enriched hovers (i.e., you had to press F2 or move the mouse into the hover to see it). |
Scene Builder 8.2.0
Für alle JavaFX-Freunde: Siehe http://gluonhq.com/open-source/scene-builder/ und http://gluonhq.com/scene-builder-8-2-0-now/.
H2-Datenbank nun auf GitHub
Interessante Open-Source-Libs Mai
- http://electron.atom.io/. Das vielleicht zur Zeit heißeste Framework, um JS-Anwendungen zu Desktop-Anwendungen zu machen. Siehe auch https://github.com/electron/electron.
- https://github.com/nlp-compromise/nlp_compromise. Kleine JS-Lib (die auch mit der JS-Engine in Java abgarbeitet werden kann) zum Zerlegen von englischen Sätzen in einzelnde Bestandteile.
- https://github.com/google/flexbox-layout. CSS-Flexlayout für Android.
- https://panopticon.re/. Ein Decompiler mit grafischer Qt-Anzeige, auch für den betagten MOS 65xx.
- https://lodash.com/. JavaScript Utility Bibliohek.
- https://github.com/typicode/lowdb. Super kleine JavaScript-Datenbank für die Serverseite, gut für Tests
- http://www.chartjs.org/. Hübsche HTML5-Char Lib
Update von Retrolambda
Java 8 Sprachfeatures für Java 7, 6, 5 VM. Details unter https://github.com/orfjackal/retrolambda. Die Updates von letzter Woche:
Retrolambda 2.3.0 (2016-04-30)
- Optimize generated code to reduce method count (Issue #81)
- Alter when accessor methods are generated (Pull request #84)
- Remove NEW, DUP instructions when changing NEWINVOKESPECIAL to INVOKESTATIC (Pull request #85)
- Skip access method when lambda body method can be promoted (Pull request #86)
- Fix method reference to protected method in base class in other package failing with IllegalAccessError (Issue #89)
Retrolambda 2.2.0 (2016-04-29)
- Backports calls to
Objects.requireNonNull, improving JDK 9 support (Issue #75) - Optimize generated code to reduce method count (Issue #81)
- Detect and omit the JVM’s lambda factory method (Pull request #82)
Java SE 8u9[1|2] Update
Alles News unter http://www.oracle.com/technetwork/java/javase/8all-relnotes-2226344.html.
Interessanbt finde ich unter anderem:
New JVM Options added: ExitOnOutOfMemoryError and CrashOnOutOfMemoryError
Two new JVM flags have been added:
- ExitOnOutOfMemoryError – When you enable this option, the JVM exits on the first occurrence of an out-of-memory error. It can be used if you prefer restarting an instance of the JVM rather than handling out of memory errors.
- CrashOnOutOfMemoryError – If this option is enabled, when an out-of-memory error occurs, the JVM crashes and produces text and binary crash files (if core files are enabled).
See JDK-8138745.
Und:
Disable MD5withRSA signature algorithm in the JSSE provider
The MD5withRSA signature algorithm is now considered insecure and should no longer be used. Accordingly, MD5withRSA has been deactivated by default in the Oracle JSSE implementation by adding „MD5withRSA“ to the „jdk.tls.disabledAlgorithms“ security property. Now, both TLS handshake messages and X.509 certificates signed with MD5withRSA algorithm are no longer acceptable by default. This change extends the previous MD5-based certificate restriction („jdk.certpath.disabledAlgorithms“) to also include handshake messages in TLS version 1.2. If required, this algorithm can be reactivated by removing „MD5withRSA“ from the „jdk.tls.disabledAlgorithms“ security property.JDK-8144773 (not public)
Bouncing ball in a Swing window
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class BouncingBall {
private static class BallPanel extends JPanel {
// http://www.iconfinder.com/icondetails/8839/64/beach_ball_tourism_toys_icon
private final Icon ball = new ImageIcon( BouncingBall.class.getResource( "ball.png" ) );
private int ballX, ballY, dx = 2, dy = 2;
public BallPanel() {
new Timer( 10, new ActionListener() {
@Override
public void actionPerformed( ActionEvent evt ) {
ballX += dx;
ballY += dy;
if ( ballX <= 0 || ballX + ball.getIconWidth() >= getWidth() )
dx = -dx;
if ( ballY <= 0 || ballY + ball.getIconHeight() >= getHeight() )
dy = -dy;
repaint();
}
} ).start();
}
@Override
public void paint( Graphics g ) {
Graphics2D g2d = (Graphics2D) g;
g2d.setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON );
g2d.setRenderingHint( RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY );
g2d.setColor( Color.WHITE );
g2d.fill( getBounds() );
ball.paintIcon( null, g2d, ballX, ballY );
}
}
public static void main( String[] args ) {
JFrame f = new JFrame();
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
f.setIgnoreRepaint( true );
f.add( new BallPanel() );
f.setBounds( 200, 100, 400, 200 );
f.setVisible( true );
}
}
Eclipse 4.5 SR2 freigeben
Update von von Eclipse 4.5 (MARS.2/Eclipse 4.5.2).
Holt es euch hier: https://eclipse.org/downloads/
Offene Stelle Junior Software-Entwickler in Frankfurt
Zur Unterstützung unseres Teams suchen wir eine(n)
Junior Software – Entwickler / Developer Java (m/w)
- Mitarbeit an der Weiterentwicklung unserer Java Software-Produkte für statistische Fragestellungen
- Mitarbeit an der Neuentwicklung eines Frameworks zur Automatisierung unserer Arbeitsabläufe und zur Integration in bestehende Auswertungssysteme unseres Kunden
- Mitarbeit an der Weiterentwicklung unserer bestehenden Java-Software zum Einsatz in Big Data Umfeldern
- abgeschlossenes Studium mit IT-Bezug bzw. eine entsprechende Ausbildung zum (Fach)-Informatiker
- gute Kenntnisse in Core Java, Java EE, Java SE (relevante Uni-, Ausbildungs- oder Praxiserfahrung)
- gute Kenntnisse in Eclipse, Git, Linux Shell
- Praxiserfahrung als Softwareentwickler wünschenswert
- Selbständiges Arbeiten
- Teamfähigkeit, Engagement und Kreativität
- sehr gute Deutschkenntnisse in Wort und Schrift
- unbefristete Festanstellung
- interessante Aufgaben und überdurchschnittliche finanzielle Entwicklungsmöglichkeiten
- kleines, motiviertes Team mit flachen Hierarchien
- freundliches und dynamisches Arbeitsumfeld in der Frankfurter Innenstadt (S/U-Bahn-Station Konstablerwache)
- eine solide berufliche Zukunft
- flexible Arbeitszeiten
- Reisetätigkeit nur in Ausnahmefällen
- Beginn ab sofort, bzw. nach Absprache
- Dann freuen wir uns unter dem Betreff „Stellenangebot Junior Software-Entwickler / Developer Java” auf Ihre aussagekräftige Bewerbung (ausschließlich via E-Mail) mit Angabe der Gehaltsvorstellung und des möglichen Eintrittstermins.

Jens Grüntjes
Zeil 57
60313 Frankfurt
Tel.: 069 / 92 88 79-18
E-Mail: jens.gruentjes@ankordata.de
Das Ende vom Java-Plugin für Web-Browser
Oracle hat angekündigt, dass das Java-Plugin für Web-Browser mit dem Erscheinen von Java 9 im nächsten Jahr nicht mehr weiterentwickelt wird.
Nachdem Mozilla Firefox und auch Google Chrome ankündigten, das Java-Plugin nicht mehr weiter unterstützen zu wollen, sind das offenbar u. a. Gründe für den Abschied vom Browser-Plugin.
Der Anteil von Java-Applets ist ohnehin kaum noch „messbar“, spätestens mit dem Java 7 Update 51, mit dem die Sicherheitsmechanismen für Java-Applets noch einmal deutlich überarbeitet wurden, sind Java-Applets in „freier Wildbahn“ kaum noch zu finden.
Oracle empfiehlt als Ersatz Java WebStart, das ohne das Plugin auskommt.
Link: Aufforderung: Neue Java-Updates mit Deinstallation von Alten
http://www.heise.de/newsticker/meldung/Oracle-muss-Java-Updates-nachbessern-3052761.html
Android N basiert auf OpenJDK nicht mehr auf eigener Google-Java-API-Implementierung
Apache POI 3.14-beta1 ist erschienen
Was es für Änderungen gibt? https://poi.apache.org/changes.html
The Apache POI team is pleased to announce the release of 3.14-beta1. Featured are a handful of new areas of functionality – including basic support for the XML Visio format – and numerous bug fixes.
A summary of changes is available in the Release Notes. A full list of changes is available in the change log. People interested should also follow the dev list to track progress.
The POI source release as well as the pre-built binary deployment packages are listed below. Pre-built versions of all POI components are available in the central Maven repository under Group ID „org.apache.poi“ and Version „3.14-beta1“
Alles Gute …
… zum Weihnachtsfest und einen guten Rutsch ins neue Jahr.
* ,
_/^\_
< >
* /.-.\ *
* `/&\` *
,@.*;@,
/_o.I %_\ *
* (`'--:o(_@;
/`;--.,__ `') *
;@`o % O,*`'`&\
* (`'--)_@ ;o %'()\ *
/`;--._`''--._O'@;
/&*,()~o`;-.,_ `""`)
* /`,@ ;+& () o*`;-';\
(`""--.,_0 +% @' &()\
/-.,_ ``''--....-'`) *
* /@%;o`:;'--,.__ __.'\
;*,&(); @ % &^;~`"`o;@(); *
/(); o^~; & ().o@*&`;&%O\
jgs `"="==""==,,,.,="=="==="`
__.----.(\-''#####---...___...-----._
'` \)_`"""""`
.--' ')
o( )_-\
`"""` `

