November 2011 News

Resin 4.0.24 Release

This month marks a significant release of Resin. We have added a host of new features and enhancements that focus on simplifying configuration, particularly for cloud deployment. After ten years of development and refinement of Resin’s clustering capabilities, it’s time for user experience to be under the microscope. This release, and the last few as well, added features that ease initial setup, on-going maintenance, and facilitate troubleshooting ranging from simple to complicated. Resin is a powerful and reliable application server with easy to understand and straightforward setup, making it an excellent choice as the foundation for your software.

Resin 4.0.24 features include:

  • New! RPM Packaging – now available for Resin Professional for quicker installation and upgrades.
  • New! <resin:properties> tag – works with a properties file or an HTTP URL to populate configuration variables from an external source. This is particularly useful in Amazon EC2 where per-instance user-data is available via an HTTP URL.
  • New! resin.properties – while resin.xml remains the basis for configuration, this file simplifies configuration by externalizing commonly changing variables to a properties file.
  • New! rvar() function – is used with resin.properties to allow server-specific configuration to override general configuration.
  • New! Local config files: local.d/*.xml – extends Resin’s default resin.xml to easily import configuration from local.d directory. This can be used for example as a convenient means to add cluster-wide MySQL configuration or import an EC2/cloud properties file.
  • New! <server-multi> tag – allows multiple server to be defined in resin.properties with a single line.
  • New! <join-cluster> tag – designates the cluster that Resin should join upon startup. Dynamic servers in an EC2 cloud can be configured with just the cloud/user-data configuration.
  • New! "resinctl" – an install-time configured script that presets the appropriate OS paths to serve as a fail-safe alternative to resin.sh.
  • New! CLI: license-add – this resinctl command conveniently copies a license file to the license directory.
  • New! CLI: start-all – starts all servers on the local host with one command.
  • New! Memcache client/server support – Resin cache now supports the Memcache interface for both clients and servers. Addition or removal of servers is automatically updated in the client when Resin is used as the client and server.
  • New! IIS.NET Plugin - for added support in Windows Authentication.

Download Resin 4.0.24
Report a bug

Caucho® announces new engineering positions

We are actively looking for Java Protocol and Network Software Developers. Our engineering office is based in San Francisco next to the Montgomery BART station. If you are located in the Bay Area, we can be flexible with telecommuting.

This position includes core application server development and involves active contributions to our technology and roadmap direction. As part of our team, you will be working with the latest Java web specifications such as WebSocket, Hessian and HMTP/XMPP, as well as pushing new Internet Network protocols. You will have the opportunity to influence the next generation of Java web specifications from the ground up as well as explore and test your software engineering limits.

To join our engineering or sales team, please send your cover letter, resume and sample code to hiring@caucho.com.

Check out the full job description

 

New Features

Resin Cloud Deployment on Amazon EC2

We have seen consistently growing interest in running Resin on Amazon EC2. EC2 is an Infrastructure as a Service (IaaS). It provides hardware, networking, load balancing, connectivity, storage and virtualized OS hosting. Resin 4 includes cloud support features that make deploying to EC2 simple and painless. Resin offers dynamic clustering, load balancing and versioned deployment. A comprehensive health monitoring system provides visibility into the status of your entire application stack. Furthermore, comparing Resin to PaaS providers, Resin is really a PaaS-ready application server; one that will run well on an IaaS service like Amazon EC2.

Rick Hightower has put together a tutorial that will help you learn the basics of using Resin with Amazon Web Services to launch Java web applications in the cloud. This tutorial is going to cover the basics of using Resin with Amazon Web Services for cloud deployment. If you are new to cloud computing and IaaS, follow along and you will soon be deploying Java web applications in the cloud. You will create an EC2 instance. You will download and install Resin on Ubuntu on a local machine. You will install Resin on an Amazon Linux AMI instance (EC2 instance). You will use Roo to create a simple application and deploy it to the cloud.

Go to Resin Cloud Deployment with Amazon EC2 Tutorial

 

Caucho® Tech Talk

Introducing Resin Command Line (CLI)
Part 1 of 2

Starting with version 4.0.17 and onward, Resin provides an extended set of commands that allow administrators and developers to perform debugging and monitoring of task on remote Resin servers using a command line. The CLI commands give critical control over the entire application and produce valuable system reports. Be sure to enable the commands by registering ManagerService in the resin.xml file before using Resin CLI. In this blog entry, Alex Rojkov provides a comprehensive outline for types of commands, functions/purpose, and availability in Resin Open Source or Professional.

This blog entry for Resin CLI includes:

  • Outline of Resin Commands
  • Starting and Stopping the Application Server
  • Deploying Applications and Managing Deployed Applications
  • Undeploying an Application
  • Producing a Heap Dump, Thread-Dump and Profiling Data

Examine the complete listing of Resin Command Line

 

Managers’ Corner

Wrapping up year-end budgets and planning?

Are you wrapping up lose ends for the year and find that you have some extra or shortage in your budget? Let us know how we can help with your year-end software and support purchase. We also look forward to working with you on 2012 and 2013 long-range planning. Please contact Theresa Nguyen at (858) 361-2736 or email sales@caucho.com to discuss how we can help with your budgeting and year-end planning.

 

Tip of the Month

Simplifying Resin XML With Dynamic Configuration
Part 1 of 3: Configuration variable substitution using <resin:properties> and rvar()

In this first part of a multi-part article on Resin configuration, Paul Cowan examines how to use EL variables in various situations to simplify Resin configuration. The objective is to understand how Resin enables configuration that is both simple and powerful and well suited for a deployment in a cloud environment

Resin uses EL evaluation for dynamic configuration. Variables can be declared a number of way; inside resin.xml, as a command line parameter, as an environment variable, or using <resin:properties>. Imports allow for the splitting of configuration into multiple files. The rvar function overrides variables for server respective configuration.

You should notice that since Resin version 4.0.24 there is a new resin.properties file in the configuration directory, and resin.xml by default declares a <resin:properties> as follows:

  • <resin:properties path=”${__DIR__}/resin.properties” optional=true”/>
  • <resin:properties> is similar to <resin:import>, but loads a properties file and saves the values in EL expressions which are then available in resin.xml.

Read more about dynamic configuration with <resin:properties> and rvar()


Copyright (c) 1998-2011 Caucho® Technology, Inc. All rights reserved.
Caucho®, resin® and quercus® are registered trademarks of Caucho® Technology, Inc.


Events at a Glance

TheServerSide.com
2012

JavaOne
Sept. 30 – Oct. 4, 2012

__________________

Success Note

"We deployed our JIRA bug tracking application on Resin Professional and witnessed improved response times and stability. After having tried various free containers and a few commercial containers, Resin provides the best quality that we’ve found."

– Bob McWhirter
Founder and CEO
The Codehaus

__________________

Caucho® Resources

Interview with Reza Rahman on Resin 4, CDISource and Java EE 7 & 8

Resin Java EE Web Profile

A truly lightweight standards-based runtime that focuses on ease-of-use for web application development (whitepaper PDF)

Resin 4.0 for Cloud Computing

Easily scale web applications in a cloud environment (whitepaper PDF)

Resin RefCardz

The must have Resin cheat sheet for network administrators and developers (PDF)

CDI AOP Tutorial

Java Standard Method Interception Tutorial

CDI Dependency Injection – #1

An introductory tutorial to dependency injection

CDI Dependency Injection – #2

Annotation processing and plugins tutorial for dependency injection

CDI in Java EE 6 – #1

Introduction to Contexts and Dependency Injection for Java EE 6 platform

CDI in Java EE 6 – #2

The de-facto API for comprehensive next-generation dependency injection and context management for Java EE 6

CDI in Java EE 6 – #3

CDI interceptors to isolate cross-cutting concerns in a very concise, type-safe and intuitive way

CDI in Java EE 6 – #4

The concept of CDI conversations in detail

CDI in Java EE 6 – #5

CDI interaction with JSF in detail

CDI in Java EE 6 – #6

A closer look at Resin CanDI, Caucho’s implementation of CDI

__________________

Community

Caucho® Forum


Facebook: Caucho® Technology

Resin Twitter page

Resin Twitter page

__________________

Contact Us
(858) 456-0300
sales@caucho.com
www.caucho.com