News for hackers. Stuff that matters.
Re:An Opinionated Guide to Modern Java, Part 2 by pron on Thursday May 08, 2014 @03:16PM (#7717090)
We'll discuss Dropwizard in part 3, but the single-jar deployment is not really solved by Dropwizard. To launch the server you still need to configure the JVM at the command line.
Re:An Opinionated Guide to Modern Java, Part 2 by pan69 on Thursday May 08, 2014 @03:44PM (#7717240)
An off topic question; Would it be possible to have an RSS feed on your blog? I see you have Twitter but personally I don't really use that.
Re:An Opinionated Guide to Modern Java, Part 2 by pron on Thursday May 08, 2014 @03:55PM (#7717305)
Re:An Opinionated Guide to Modern Java, Part 2 by derengel on Thursday May 08, 2014 @04:10PM (#7717381)
is that really a big issue? passing the arguments to java to configure the jvm.
Re:An Opinionated Guide to Modern Java, Part 2 by agibsonccc on Thursday May 08, 2014 @11:55PM (#7719253)
It can be. Here's a typical example from my day to day:

java -cp "lib/*" -Xmx5g -Xms5g -server -XX:+UseTLAB -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxTenuringThreshold=0 -XX:CMSInitiatingOccupancyFraction=60 -XX:+CMSParallelRemarkEnabled -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled

That gets cumbersome really quick.

Honestly my preferred jvm deployment is supervisord. I'd like a java only solution if one should exist that's good but these newer containers don't work for self made servers that don't run http.

Some of the instrumentation could be good, but at the end of the day I'm not sure how much it would help.

Re:An Opinionated Guide to Modern Java, Part 2 by pron on Friday May 09, 2014 @08:14AM (#7720411)
Capsule works for any JVM application. It doesn't even have to be Java. It can use Java libraries, native libraries, a well-known server, your own server, with http, with a custom Infiniband thingy -- what have you.
Re:An Opinionated Guide to Modern Java, Part 2 by agibsonccc on Friday May 09, 2014 @11:09AM (#7721265)
I'll look in to it when there's a maven plugin maybe. As of right now my work flow works fine with the assembly plugin.

It looks pretty solid though. I'm still not totally sold on gradle as of yet mainly because of the tooling.

The native libs thing is a plus though. I'll see where I can work it in. Good work with capsule though.