Coming Up for Air

GlassFish 3.1, REST, and a Secured Admin User

Jason Lee 2011-02-17

In my last post on using the GlassFish REST interface, a commenter asked about how GlassFish handles security. So far, all of my examples have been using GlassFish 3.1 out of the box, which doesn't require authentication (as a convenience for developers, as well as system admins evaluating the server). In production, of course, the server will be secured, which means our client code will have to be modified. In this installment, we'll see how that might be done in Java.

Deploying Applications to GlassFish Using curl

Jason Lee 2011-02-10

Over the past few months, I've been posting tips on how to use the REST interface in GlassFish v3 and later to perform various functions. My last post used Scala. In this much briefer and far less ambitious post, I thought I'd share how to deploy an app using curl (from the shell of your choice). If you're familiar with the REST endpoint, there's really not just a whole lot new here:

Running Long-Running Reports with JMS

Jason Lee 2011-01-25

At a recent meeting of the Oklahoma City JUG, I was asked by a member how her group could "script" JSF report generation. After a couple of questions, I figured what she really wanted: she wanted a way to allow users to request reports in an ad hoc manner, as opposed to the reports being run on a schedule. In a general sense, this is a pretty easy question to answer, but I've run into situations where the reports take a long time to run -- and I'm sure she will, as well -- making a web interface for generating the report less useful (due to timeouts, etc). In this entry, we'll take a look at one way to handle that.

Merry Christmas, 2010

Jason Lee 2010-12-25

I'd like to wish all of my readers a very merry Christmas. It is my hope and prayer that in all the hustle and bustle of the season, that the first Christmas, the birth of the Jesus, the Savior of the world, is not lost. To help with that, I'd like to leave you with some of my current favorite Christmas songs. I hope you enjoy them. God bless.

Hallelujah! Light Has Come - Barlowgirl --------------------------------------- +++<div style="margin: auto; width:640px"><object width="640" height="385"><param name="movie" value=" http://www.youtube.com/v/SarPJv6rUiQ?fs=1&amp;hl=en US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src=" http://www.youtube.com/v/SarPJv6rUiQ?fs=1&amp;hl=en US" type: "application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></div>+++

Joseph's Lullaby - MercyMe (fan video) -------------------------------------- +++<div style="margin: auto; width:480px"><object width="480" height="385" style="margin: auto"><param name="movie" value=" http://www.youtube.com/v/he9BdHNrXTs?fs=1&amp;hl=en US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src=" http://www.youtube.com/v/he9BdHNrXTs?fs=1&amp;hl=en US" type: "application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></div>+++

Christmas Like a Child - Third Day ---------------------------------- +++<div style="margin: auto; width:640px"><object width="640" height="385"><param name="movie" value=" http://www.youtube.com/v/JqtBVn1rMCA?fs=1&amp;hl=en US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src=" http://www.youtube.com/v/JqtBVn1rMCA?fs=1&amp;hl=en US" type: "application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></div>+++

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

Jason Lee 2010-12-17

In a previous post (far too long ago 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 this time, for no particular reason other than I'm trying to learn the language, we'll do it in Scala.

Search

Quotes

Sample quote

Quote source

About

My name is Jason Lee. I am a software developer living in the middle of Oklahoma. I’ve been a professional developer since 1997, using a variety of languages, including Java, Javascript, PHP, Python, Delphi, and even a bit of C#. I currently work for Red Hat on the WildFly/EAP team, where, among other things, I maintain integrations for some MicroProfile specs, OpenTelemetry, Micrometer, Jakarta Faces, and Bean Validation. (Full resume here. LinkedIn profile)

I am the president of the Oklahoma City JUG, and an occasional speaker at the JUG and a variety of technical conferences.

On the personal side, I’m active in my church, and enjoy bass guitar, running, fishing, and a variety of martial arts. I’m also married to a beautiful woman, and have two boys, who, thankfully, look like their mother.

My Links

Publications