Friday Sep 16, 2011

Jersey 1.9.1 & Grizzly Async (HTTP) Client integration

With the release of Jersey 1.9.1, "conference-driven development" (CDD) is not an empty word. In his blog post Martin shares the Jersey-based JavaOne OAuth Hands-on Lab requirements that lead to this release while the full release notes are here.

ALT_DESCR ALT_DESCR

Meanwhile, Grizzly 2.x is making good progress and the latest trunk includes integration of Jean-Fran├žois' Async HTTP Client Library (AHC). Ryan, from the Grizzly team, details the status of the ongoing work on his blog, including plans for a Grizzly bundle that includes the HTTP Codec library (grizzly-http), the AHC library and its Grizzly provider. This should all be out in stable form by Grizzly 2.2.

Sunday Jul 24, 2011

Using Grizzly 2.x as a simple HTTP server

Oleksiys, the Grizzly technical lead has started a series of blog posts about Grizzly 2.x.

He discusses how familiar the APIs should look to anyone that has used Servlets and how simple it can be to create an HTTP engine and start serving static or dynamic requests with Grizzly. If you try for yourself, you'll also see how snappy Grizzly can be.

ALT_DESCR

Grizzly 2.0 was released in Feb (2011) with 2.1.1 being the latest available stable version. Check out this "Getting Started" page. This 2.x branch will be integrated into the next major release of GlassFish.

Saturday Jun 20, 2009

JMS over HTTP on GlassFish (and OpenMQ)

ALT DESCR

Masoud has a nice Detailed Writeup explaining how to configure OpenMQ (the GlassFish JMS implementation) to run over HTTP. This is very useful in constrained situations, for example...

An untrusted applet can communicate back to a server which it is initiated from (server which hosted the applet and delivered the .class and jar files). So your applet can either use mq protocol or it can use JMS over HTTP protocol which is shown in the sample.

BTW, Masoud also briely mentions the new UMS feature in OpenMQ and positions it relative to JMS over HTTP. Full details in Masoud's Writeup.

Thursday Jun 04, 2009

On the way to SailFin v3 - SailFin CAFE Launched

ALT DESCR

Sailfin CAFE is a new framework that simplifies the development of Converged Web apps. It can be used with Sailfin v2 and points to Sailfin v3. The project just launched and we want your feedback and participation. Check out Binod's Writeup, Sreeram's Mail Post and the slides from TS-4929 (id:contentbuilder / pw:doc789).

Sailfin CAFE is a key step towards yet another "v3" container in the GlassFish family joining GlassFish v3 Server (out in September) and OpenESB v3 - making good progress through Project Fuji. The WebSpace Server is also going v3 but they have not yet started working on their builds.

Wednesday Dec 17, 2008

OpenMQ 4.3 Now Available - Includes Universal Message Service

ALT DESCR

OpenMQ 4.3 is now available (download). This release will be included in GlassFish v2.1 but also is useful on its own. One of the most interesting pieces is the new http-based Universal Messaging Service which can be used to access OpenMQ from a browser using AJAX, as well .Net, Python, Ruby, and many others (including Java!) - see Intro, Samples, Protocol and Configuration.

Other functionality includes new platforms (AIX, Oracle 11g, Windows Vista, Windows Server 2008), a new installer, and additional Samples for things like talking to HermesJMS and STOMP.

Sun's distribution of OpenMQ still uses the "Sun Java System" brand but it follows the standard GlassFish Enterprise Business Model - see Product Page, Documentation and Downloads. And you can can purchase Commercial Subscription Support.

Monday Dec 08, 2008

Downshifting for Faster Driving - HTTPS to HTTP in GlassFish

ALT DESCR

Ever been in a Web App that seems to be stuck in the (slow) "https:" protocol? Jan has your solution: downshift! Check out his explanation of How to write a WebApp that switches between HTTP and HTTPS.

Jan's note explains how to use security constraints and Java ACC to solve the problem. The note also includes a sample (see WAR) and instructions on how to run it on GFv2 and GFv3 Prelude.

NB - when I read the title I immediately thought of this Downshifting (specially on older cars where the Syncromesh didn't work as well). I'll confess that I was not even aware of the more modern Downshift :-)

Friday Sep 26, 2008

... OpenDS 1.1, HTTP Compression, Grizzly 1.8.6 and Starting on Fuji and on Blu-Ray

A compilation of today's news of interest:

Radio Receiver Icon

Ludo has announced the release of the First Build of OpenDS 1.1. Download links for Core Server and DSML Gateway, or Java WebStart. Complete detailst at Ludo's blog or at the OpenDS 1.1 b1 website.

GlassFish supports HTTP Compression and Shing Wai Describes in Detail how to configure compression, compressionMinSize, compressableMimeType and noCompressionUserAgents. This feature will be enabled in next month's GlassFish v3 Prelude release.

Grizzly is moving forward along a Grizzly "classic" design (for GFv2 and GFv3 Prelude) and a Grizzly 2 "redesign", hopefully for GFv3 fcs (see the Webinar slides). The latest "classic" release, 1.8.6, is now available; check out JFA's Announcement for details.

Ramesh has started a whole series on Fuji (aka OpenESB v3). If I correctly interpret the organization of his entries, point your browse to Master Entry and follow the links.

Finally, in the intersection of Java and Blu-Ray, check out this article on Using JavaME in BD-J. The whole area of BD-J, Blu-Ray and BD live, and the growth of the PlayStation 3 seems a huge opportunity to me; but some key players would need to take some risks...

Tuesday Mar 25, 2008

New Converged Load Balancer

Diagram of COnverged Load Balancer

Kshitiz has a note on the new Java-based Converged Load Balancer that will be part of SailFin and GlassFish v2.1. The CLB handles both HTTP and SIP traffic and can be used with and without a hardware IP sprayer.

Check Kshitiz's Detailed Writeup for details on load balancing algorithms and configuration options.

Thursday Oct 19, 2006

Using Custom Annotations in JAX-WS 2.1 to support HTTP Session State

Duke for GlassFish V2

Annotations are a first-class language feature in Java (tutorial, jsr-175). A standard specification like JAX-WS introduces standard annotations but custom annotations can be equally useful. Kohsuke uses a custom annotation to take advantage of a SPI (InstanceResolver) in the JAX-WS RI in GlassFish. The result is that adding a simple annotation (@HttpSessionScope, in the com.sun.xml.ws.developer.servlet package) on a class tells the JAX-WS RI to create one instance of the class per each HTTP session.

Like any other non-standard mechanism, adding the annotation creates a dependency on a specific platform, but the dependency is explicitly declared (usually via an import statement), and the result is really clean an compact. Check Kohsuke's blog for details.

Wednesday Jun 07, 2006

Enabling HTTP Compression in GlassFish

Duke for Project GlassFish

Jean-Francois reports that the next build (b06) of GlassFish v2 will include HTTP compression. The options supported are as Tomcat: compressableMimeType, compression, noCompressionUserAgents, and minCompressionSize. This is currently configurable through the CLI admin, and through the GUI after fixing Issue 607.