Bunyan is a NodeJS library that rethinks logging in some really useful ways. I wrote a Java port you can use in your applications.
In particular, with Bunyan, logs are JSON - and Bunyan comes with a great filtering and analysis tool.
The Java port uses some innovative techniques to make logging simple and foolproof - in particular, a use of AutoCloseable to make a logging code simple and...
on Jan 18, 2015
The Acteur async web framework has grown some new features over the last year. A really, really simple way to write small, scalable REST servers.
on Aug 24, 2014
Java Web Services and XML
RESTful Java Patterns and Best Practices is the second book which I have worked on and is recently published.
The convergence of social networking, cloud computing, and era of mobile applications creates a generation
of emerging technologies that allow different networked devices to communicate with each other over the Internet.
As the technology landscape evolves, today’s applications...
on Sep 24, 2014
This is the third part (part 1, part 2) of a multi-part video series where Lincoln Baxter (@lincolnthree) and I are interactively building a Forge addon to add Java EE 7 Batch functionality.
Part 1 showed how to get started with creating an addon, add relevant POM dependencies, build and install the addon using Forge shell, add a new command batch-new-jobxml, and add --reader, --processor, --...
on May 28, 2014
JBoss Forge is the fastest way to build your Java EE applications, and not even tied to a particular IDE or an Application Server. Tech Tip #17 explained how to build a simple Java EE application rapidly, and deploy it on WildFly. JBoss Developer Studio provide a very neat integration with Forge as well. The instructions from the video are also explained in a text-based script here.
on May 7, 2014
The most recently completed Java.net poll, which was submitted by Walter Nyland, asked the community about which technologies represent the future of the view layer in Java EE apps. A total of 245 votes were cast in the Java 8 poll, and two comments were posted. The exact question and results were:
What's the future of the view layer in Java EE applications?
26% (64 votes) - Java EE...
on Mar 26, 2014
It actually happened a few weeks ago already, but I simply didn't find the time to spread the word earlier -- just too much other stuff to do (see end of posting), so I tell you now: WebDAV Support for JAX-RS 1.2 is out!
What has happened since 1.1?
First of all, 1.2 is a complete internal overhaul, which not only finally is covered with unit tests rather completely (which revealed several...
on Mar 1, 2014
I was very pleased to see the JFrog team take me up on my suggestion early this year that "Maybe the JFrog team will consider giving a presentation on how they put all this together at JavaOne this September". Unfortunately for me, the session (Building a Massively Scalable Cloud Service from the Ground Up) was already filled to capacity as I walked up to the door, so I was unable to attend....
on Dec 8, 2013
I will be presenting the following sessions at Silicon Valley Code Camp 2013. For those in the Bay Area, Silicon Valley Code Camp is on Oct 5,6 2013 in Foothill College, Los Altos. It is a very well organized conference by the developers for the developers. This year has 232 sessions and 4500 registrations and am always amazed at the way Peter Kellner and his team pull this off!
These are my...
on Oct 2, 2013
Table of Contents
10:00am - Looking into the JVM Crystal Ball
Removing Permanent Generation (JEP 122)
Manageability and Observability
11:30am - Purely Functional Data Structures
1pm - Performance...
on Sep 24, 2013
Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. JAX-RS provides a standardized API for building RESTful web services in Java. This example will show how to...
on Sep 16, 2013
I'm expanding on an earlier post where I explained how to deploy JAX-RS Web Services to the Oracle Cloud. In that entry the web service simply returned a hard-coded "Hello World". In reality, you most likely want your web service to expose something more meaningful. In this post I'm going to expand the HelloJerseyApp to display the results from a table, which I'll expose using a JPA...
on Aug 30, 2013
JBoss EAP (Enterprise Application Platform) is the commercially supported version of community supported JBoss AS 7.x. JBoss EAP 7 is scheduled to be released next year and will provide full compliance with Java EE 7. In the meanwhile, JBoss EAP 6.3 is getting ready to be released later this year.
Download JBoss EAP 6.3 Alpha, or this is also linked from the main downloads page.
A quick summary...
on May 7, 2014
SBT in Action by Joshua Suereth and Matthew Farwell has been updated! Save 45% and just enter promo code 112113jn at manning.com. What else is new? Chapter 6, "Process & IO with sbt's libraries" has been added to the MEAP (Manning Early Access Program).
Chapter 6 takes a look at how sbt allows you to run external processes easily, and how to combine them in a shell-like manner. You’ll also...
on Nov 21, 2013
The Joy of Clojure, Second Edition by Michael Fogus and Chris Houser has 4 new chapters!
Save 45% with Promo code mlfogus2jn at manning.com.
The authors have released the following chapters:
•Chapter 14, "Data-oriented programming"
•Chapter 15, "Performance"
•Chapter 16, "Thinking programs"
•Chapter 17, "Clojure changes the way you think"
We have four new chapters for you. Chapter...
on Sep 3, 2013
Save 45% on The Programmer's Guide to Apache Thrift with Promo code mlthriftjn2 at manning.com.
The Programmer's Guide to Apache Thrift by Randy Abernethy has been updated!
•Chapter 1-3 have been updated and the following chapters have been added:
•Chapter 4, "Handling Exceptions"
•Chapter 5, "Serializing Data with Protocols"
•Chapter 6, "Apache Thrift IDL"
We have three new chapters...
on Aug 28, 2013
“Artifact assembly & publishing” is new to Gradle in Action + 45% off
Gradle in Action by Benjamin Muschko is 45% off with Promo code mlmuschkojn at manning.com.
In the context of continuous delivery, publishing your artifact plays a crucial role. Once you've packaged the delivery with a specific version, it’s ready to be deployed to various target environments for acceptance...
on Aug 27, 2013
Java User Groups
Silicon Valley Code Camp is one of the best known secrets and one of the best organized conferences in the Bay Area.
I have the pleasure to speak at this conference for the past two years and am amazed at its growing popularity.
Here are some statistics for this year
4500 registrations and registration was closed
The Code Camp consists of these points:
By and for the developer...
on Oct 6, 2013
Government... Isn't interacting with it your favorite social pastime? What? It's not? OK, so what don't you like about it? What? You're saying that, in your country, you can't just log into your favorite government sites and experience speedy, reliable, secure services?
I'll guess, then, that you must not live in Ecuador... Poor you!
But, don't feel too bad. From what Java Champion Jeff...
on Sep 24, 2013
At the JavaOne 2013 Java Technical Keynote, there was a series of demos of software that enables two people to play chess, using some of Java's latest features, including Java EE 7 Websockets, many variations of Java 8 (recent weekly builds), Lambda Expressions, Java ME, Embedded Java, ... It was an impressive demo of many of Java's recently-released and not-yet-finally-released capabilities,...
on Sep 23, 2013