Mittwoch, 2. März 2016

Java Remote Profiling Bordmittel

Note to myself (wegen schlechter Doku):
'CQ_JVM_OPTS=-server -Xmx3072M -XX:MaxMetaspaceSize=768M -Dcom.sun.management.jmxremote= -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.rmi.port=9999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=cassandra.schumm.ch'




jvisualvm




Freitag, 14. August 2015

plus+codes

Aus Familientraditionsgründen muss ich dieses potentielle neue Address- und Koordinatensystem natürlich "bloggen"! Sehr spannend!

http://plus.codes/8FQP4H5V+MH


Unklare Ortsangaben sollen in der Form "5V+MH Kras, Općina Dobrinj" angegeben werden, oder dann genauer mit mehr Stellen vor dem "+" aber ohne Ortsbezeichung.
Das ganze funktioniert ohne Netzanbindung (wenn man offline-Karten hat) und basiert auf einem ausgeklügelten Algorithmus.





Alles ist open-source:

http://openlocationcode.com/
https://github.com/google/open-location-code/


Quelle: Google LatLong
http://google-latlong.blogspot.ch/2015/08/plus-codes-new-way-to-help-pinpoint.html


Montag, 29. Juni 2015

OS X: Lock Screen

Auch der Mac hat seinen Bildschirm-Sperrer, gut versteckt:

ctrl-shift-power



Mittwoch, 10. Juni 2015

Loading resources in JBoss

Noch so eine klassische Note to myself, die immer wieder vergessen geht:

Laden einer Resource, die ganz brav in src/main/resources in einem Deployment-Artefakt liegt und in JBoss deployed ist:



Doku: https://docs.jboss.org/jbossmc/docs/2.0.x/userGuide/ch20.html

Freitag, 27. Februar 2015

alternative Datenbankzugriffe

Nach der Vorlesung über JDBC letzte Woche hier noch 3 spannende Alternativen zu ORM mit JPA:






Akka und das Actor Model


Um mal total "anders", modern und hochverfügbar zu programmieren, sollte man sich unbedingt das mal anschauen:
http://akka.io/

Akka is a toolkit and runtime
for building highly concurrent,
distributed, and resilient
message-driven applications
on the JVM.


cf auch:



Ein Beispielprojekt meiner Arbeitskollegen bei der AXA: