Java also can be art.
But what is the result of the execution.
Freitag, 7. Februar 2014
Singleton the Highlander way
Singleton Implementierungen gibt es verschiedenste, aber möchte man wirklich nur eine Instanz eines Objektes sollte man es nach der Highlander Methode machen.
Egal ob man noch auf dem Memory Modell von java < 1.5 oder eben nach dem Fix von 1.5 arbeitet, diese Methode sollte immer funktionieren. Und wer hats erfunden? Bill Pugh in seiner arbeit an dem Java Memory Model.
Egal ob man noch auf dem Memory Modell von java < 1.5 oder eben nach dem Fix von 1.5 arbeitet, diese Methode sollte immer funktionieren. Und wer hats erfunden? Bill Pugh in seiner arbeit an dem Java Memory Model.
Dienstag, 24. September 2013
Lession learned (JSF): Exception Handler
If an Exception is thrown during the execution of a Phase, the PhaseListener after phase event is called before the Exception is handled from the Exception Handler.
Dienstag, 10. September 2013
Primefaces multifile upload in IE10
Primefaces multifile upload works in IE10.
But not out of the Box in the Community Edition. There ist a fix in the primefaces version 3.5.9.
See Group Entry
But get it work with the Community Edition is far easy.
Use the fileUpload component like you would do it in IE9.
And add the CSS styles described below.
But not out of the Box in the Community Edition. There ist a fix in the primefaces version 3.5.9.
See Group Entry
But get it work with the Community Edition is far easy.
Use the fileUpload component like you would do it in IE9.
And add the CSS styles described below.
Sonntag, 8. September 2013
JSF Bootstrap Message and Messages Renderer
Add the JSF Bootstrap Render to your Page to view the JSF Messages in Bootstrap Style.
Here you can find the Code Snippets.
Here you can find the Code Snippets.
Sonntag, 28. April 2013
Fit to Parent in JavaFx
Versucht man mit JavaFx und SceneBuilder UIs zu zeichnen und die einzelnen Fragmente per Code zusammen zuführen, funktioniert das mit den Anchor nicht outofthebox. Die Anchor Attribute müssen beim einzufügenden Fragment händisch ergänzt werden.
Java Enum#parseFrom
How the parse an enum from an constant?
Abonnieren
Posts (Atom)
