#henrik

development and technology stuff

JVM config library

Havoc Pennington created this one wich is used for Akka and Play.

https://github.com/typesafehub/config

>Searches for config files using the following logic:

  • system properties
  • application.conf (all resources on classpath with this name)
  • application.json (all resources on classpath with this name)
  • application.properties (all resources on classpath with this name)
  • reference.conf (all resources on classpath with this name)

You can config using a JSON-like syntax with substitution and all the sugar ...

 

 

Filed under  //   Development   java  
Posted March 7, 2012

HTML5 UI

For my next fun-project I will try out this combination.

HTML 5 UI framework
Template bootstrap (already used, is perfect)
Backend implementation (already like this one) 

Filed under  //   Development   html   java   javascript  

Replace Java Date with something better

Just remember to use Joda-Time all the time ;)

Filed under  //   Development   java  

Lookup data with JQuery UI Dialogs

Peter Hilton showed a nice example how to do play-based JQuery UI lookup dialogs to select data. This approach is really neat, I would have done more javascript client code and HTML stuff instead. See the original post.

Filed under  //   Development   java   javascript   play  

javamail and Gmail authentication

Found this info for using gmail and how to authenticate for gmail:

http://sbtourist.blogspot.com/2007/10/javamail-and-gmail-its-all-about.html

Just set the correct property:

mail.smtp.starttls.enable=true

 

Filed under  //   development   java  
Posted April 3, 2011