GlassFish Administration: The REST of the Story Part II - Deploying Apps Using Scala

GlassFish Administration: The REST of the Story Part II - Deploying Apps Using Scala In a previous post (far too long ago :), I began showing off the RESTful administration API in GlassFish v3. In GlassFish Administration: The REST of the Story Part I, I showed the basics of the API, what to send, what you get back, etc. In this post, I want to show a practical use of the API, namely, deploying an application, and.....

Read More ›

The Value of the Stack

The Value of the Stack This morning on twitter, I saw an announcement that Mollom has a new backend, one based on GlassFish. I have to be honest. I don’t know much of anything about Mollom beyond this, nor do I know anything about their previous backend other than it was Java-based. The blog post, though, immediately made me think of dynamic languages. These days, it’s hot to be dynamic.....

Read More ›

Adding SCM Branch Information to Your Prompt

Adding SCM Branch Information to Your Prompt UPDATE: I’ve modified the scripts and prompt settings to be a bit more intelligent Today, a coworker sent me a link to an old blog post about adding git and svn branch information to your prompt. As awesome and helpful as that was, my first thought was, "What about hg support?" followed quickly, if not somewhat embarrassingly, by, "What about CVS support?" Thinking it would be.....

Read More ›

Running a Single JUnit Test

Running a Single JUnit Test Part of my job as a developer is writing unit tests. Lately, though, I’ve been spending more and more of my time in our tests, which take a long, long time to run. For example, to run the GlassFish Admin Console’s StandaloneTest class, the last run took 17 minutes and 36 seconds. Clearly, something needs to be done to speed that up overall, but I have.....

Read More ›

Interested in Remote Method Calls via JS in JSF?

Interested in Remote Method Calls via JS in JSF? One of the nicest enhancements to the JSF specification that 2.0 brought was the inclusion of native Ajax support. It is now extremely simple to Ajaxify a JSF application. One thing that it lacks, though, is the ability to call arbitrary methods on JSF (or CDI?) Managed Beans. There is a project that offers that kind of functionality, and it’s been around for.....

Read More ›

Mojarra 1.2_15 Now In Maven Repo

Mojarra 1.2_15 Now In Maven Repo Way back in July, Ed Burns released and announced Mojarra 1.2_15, which is mostly a backport of performance fixes from the 2.0 branch. Given recent changes on the Mojarra team1, there was some confusion and difficulty getting the jars published to the java.net Maven repository. I’m happy to report, though, that we’ve gotten those kinks worked out, and that this new.....

Read More ›

Book Review: JSF 2.0 Cookbook

Book Review: JSF 2.0 Cookbook image::https://www.packtpub.com/sites/default/files/imagecache/productview/9522.jpg Packt Publishing recently released a book titled JSF 2.0 Cookbook, by Anghel Leonard. When I first heard about this book, I was really anxious to get my hands on it. I really like the cookbook concept, so I was excited to see a work in that vein published for JSF. Packt recently sent me a copy.....

Read More ›

GlassFish Administration: The REST of the Story Part I

GlassFish Administration: The REST of the Story Part I Of the many great things about GlassFish, one that is often mentioned most (and is, in fact, what got me involved with GlassFish as an end user years ago) is the Administration Console. It’s an extremely powerful and capable interface, and is, if I may be so bold, orders of magnitudes better than its open source competition (it may even beat commercial competitors, but.....

Read More ›

Book Review: JSF 1.2 Components

Book Review: JSF 1.2 Components Some time ago, I was given a copy of JSF 1.2 Components by Ian Hlavats and asked if I’d write a review for it. It’s long overdue, but here are my thoughts on this book. <img src="http://ecx.images-amazon.com/images/I/51WxF2r1EEL.SL500_AA300.jpg" align="right"/>First off, in case you’re guessing, like I did, based on.....

Read More ›

Putting Facelets in a Jar

Putting Facelets in a Jar In a recent forum post, a user asked how to store a Facelets file in a database. Although JSF doesn’t support this out of the box (though it would be a nice feature), it’s not too difficult to add. In this entry, I’ll show you how to serve Facelets from a JAR file, then give some thoughts that will help, I hope, implement a.....

Read More ›