main website home
  • About this blog

    This blog features updates, opinions, and technical notes from Caucho engineers about Caucho products, the enterprise Java industry, and PHP. Caucho Technology is the creator of the Resin Application Server and the Quercus PHP in Java engine. A leader in Java performance since 1998, Caucho is a Sun JavaEE licensee with over 9000 customers worldwide.
  • Tags

    ajaxworld bam candi cdi cloud cluster comet deploy devoxx eclipse ejb embedded flash flex google app engine hessian hmtp ioc java ee 6 javaone javazone jms messaging mule newsletter nyjug osgi php pomegranate quercus resin resin 4.0 REST servlet sfjug silicon valley code camp spring testing training tssjs watchdog webbeans web profile websockets wordpress
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Resin Custom URL Rewriting

January 25th, 2012 by ferg

I added a new cookbook to create a custom URL rewrite rule.

wiki: Resin Application Server: Custom Rewrite Rules

Resin’s URL rewriting is similar to Apache’s mod_rewrite, using regexp matching and the CDI XML syntax for built-in rules like resin:Redirect, resin:MovedPermanently and resin:Dispatch. In addition to the build-in rules, you can create your own custom rules for more sophisticated
URL management. This wiki cookbook gives a quick example of one of those rules.

Posted in Uncategorized | No Comments »

Resin Clustered Application Server Configuration

January 19th, 2012 by ferg

A new cookbook showing the new parameterized configuration for resin.xml. The resin.xml can now import a properties file and use the properties as EL expressions like ${http} to create clean configurations. The example shows a simple, but complete cluster of three Resin servers acting as http servers, including the health system.

wiki4: Resin Application Server: Parameterized Web Server Cluster

Posted in Uncategorized | No Comments »

Resin Messaging: CDI and JMS configuration

January 13th, 2012 by ferg

Another cookbook at wiki4: Resin Messaging: JMS Topic Configuration with CDI and JNDI as requested by a customer.

The cookbook will be interesting if you want to see a relatively-complicated Resin CDI configuration which includes JNDI for the purpose of Spring integration, and also showing how custom facades can be combined with a standard JMS Topic configuration.

Posted in Uncategorized | No Comments »

WebSocket and Hessian

January 12th, 2012 by ferg

I’ve added a wiki cookbook on Resin WebSockets and Hessian.

wiki4: Resin Messaging: WebSockets with Hessian

Note, that this is a binary websocket protocol, so it would be used with a custom websocket client, not a browser. Since the browsers currently prefer speaking text websockets, the equivalent would be a JSON server.

Posted in Uncategorized | No Comments »

Resin Web Server: Using URL Write to Forbid non-SSL Requests

January 11th, 2012 by ferg

As a request from a user, I’ve written up a short wiki cookbook for Resin 4.0’s URL rewrite for a security rule to require SSL for a section of a website.

Wiki: Resin Web Server: URL Rewrite Forbidding non-SSL Requests

The example is pretty simple, since it just needs the as the action rule, and a single predicate, to test the request. Because it’s simple, it’s a good introductory example of Resin’s URL rewriting for people who haven’t looked into it yet.

Posted in Uncategorized | No Comments »

javax.cache and CDI

January 5th, 2012 by ferg

I’ve written up a quick how-to for configuring a Resin jCache ClusterCache and injecting it with CDI. The application code uses standard classes and CDI annotations and uses the Resin jCache implementation.

http://wiki4.caucho.com/Resin_Java_Cache_using_CDI_Inject

Posted in Uncategorized | No Comments »

Hessian2Output streaming

January 3rd, 2012 by ferg

When you’re using Hessian in a streaming environment like WebSockets, you can improve performance by saving the serialization reflection and reusing the input and output streams.

See http://wiki4.caucho.com/Hessian_Performance_OutputStream for a short cookbook example.

Posted in Uncategorized | No Comments »

Introducing Resin Command Line Part 2

January 2nd, 2012 by alex

Since I published Part 1 of the Resin Command Line Overview we’ve added a few more commands. The added commands allows to enable or disable a server, add a license, deploy new configuration files and generate admin password. Today I hope to cover commands I did not cover in part on and the new commands. Read the rest of this entry »

Posted in Uncategorized | No Comments »

Simplifying Resin XML With Dynamic Configuration - Part 2

December 30th, 2011 by Paul Cowan

Conditional Configuration Using Functions and Expressions

This second part of a multi-part article on Resin configuration examines how to employ conditional XML statements and EL functions to simplify Resin configuration. When we’re done, you’ll understand how the same configuration could be shared between deployment environments with entirely different Resin operation by using some following concepts:

  • Conditional XML with <resin:if>, <resin:when>, <resin:choose>, <resin:otherwise>
  • Null checking with “the Elvis Operator” ?:
  • Regular expression matching with =~
  • Resource access with mbean() and jndi()

Read the rest of this entry »

Tags: =~, configuration, jmx, jndi, mbean, regex, resin:choose, resin:if, resin:when, xml
Posted in Uncategorized | No Comments »

Paul Cowan’s JavaOne Interview on Resin’s Cloud Support

December 21st, 2011 by rick

Charles Humble talks to Paul Cowan about the Resin Application Server architecture, capabilities, and where it fits in the Cloud market. You can see the video interview on InfoQ.

My name is Charles Humble and I’m here with Paul Cowan, Senior Software Engineer at Caucho Technologies. Can you tell us a bit about yourself and your work at Caucho?
I got started about 11 years ago. I was weaned on Java and started with NetDynamics which (some people maybe remember) was one of the first JEE servers to come out. I’m primarily a backend software developer, have been doing threading and concurrency caching for the last few years, and recently at my work with Caucho, I’m mostly working on the health system, our health monitoring system, and get involved in some of the CDI implementations or web servers - pretty much anything that we need to work on at Caucho in terms of the Resin application server.
Where do you see Resin in terms of the wider Cloud landscape?
We see Resin as an elastic JEE application server layer. We are not a Platform-as-a-Service and we’re not a Software-as-a-Service, we’re a Platform-as-a-Service or Software-as-a-Service infrastructure provider or vendor. But we don’t sell the service; we don’t provide it to you.
We just sell you the software and you build your Cloud on it.
Read the rest of this entry »

Posted in Uncategorized | No Comments »

« Older Entries

Caucho Technology is proudly powered by WordPress and Quercus®
Entries (RSS) and Comments (RSS).

  • HOME |
  • CONTACT US |
  • DOCUMENTATION |
  • BLOG |
  • WIKI 4 |
  • WIKI 3 |
  • Resin: Java Application Server
Copyright (c) 1998-2012 Caucho Technology, Inc. All rights reserved.
caucho® , resin® and quercus® are registered trademarks of Caucho Technology, Inc.
resin® is a cloud optimized, java® application server that supports the java ee webprofile ®