Following up on my last entry - this article continues the discussion of WebRPC with a practical example. The example simulates a connected air conditioner that can be controlled remotely via an iOS client app. The server-side Java version of WebRPC is used to implement the simulated air conditioner, and MarkupKit is used to create the user interface for the iOS client. The iOS app uses the...
on Sep 8, 2015
Web Development Tools
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
This is the third part (part 1, part 2) of a
on May 28, 2014
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
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
on May 7, 2014
Web Services and XML
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
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 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
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
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
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
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:
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!
on Aug 28, 2013
"Using State in Actors" is new to Akka in Action + 45% off
Akka in Action is written by Raymond Roestenburg, Rob Bakker, and Rob Williams
Save 45% on Akka in Actionwith promo code mlakkajn at manning.com.
In chapter 7, you learned about two possible ways to keep state in an Actor by using class attributes and the become/unbecome functionality. Chapter 10 talks about two more solutions that you...
on Aug 27, 2013
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
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
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