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 configuration deploy devoxx eclipse ejb embedded flash flex google app engine hessian hmtp ioc java ee 6 javaone javazone jms messaging 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

Archive for the ‘Uncategorized’ Category

« Older Entries
Newer Entries »

Resin Clustered Application Server Configuration

Thursday, January 19th, 2012

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

Friday, January 13th, 2012

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

Thursday, January 12th, 2012

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

Wednesday, January 11th, 2012

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

Thursday, January 5th, 2012

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

Tuesday, January 3rd, 2012

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

Monday, January 2nd, 2012

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. (more…)

Posted in Uncategorized | No Comments »

Simplifying Resin XML With Dynamic Configuration - Part 2

Friday, December 30th, 2011

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()

(more…)

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

Wednesday, December 21st, 2011

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.
(more…)

Posted in Uncategorized | No Comments »

Resin Cloud deployment with Amazon WS EC2 and Euca Tools

Wednesday, November 30th, 2011

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.

This is part two of a tutorial on using Amazon EC2 and Resin to do cloud deployment. 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.

Running Euca Tools to launch Amazon EC2 instances.

Make sure to complete part 1 first.
This is an extension of this tutorial Resin Cloud Deployment with Amazon EC2.

(more…)

Posted in Uncategorized | No Comments »

« Older Entries
Newer 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 ®