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 ‘Engineering’ Category

« Older Entries
Newer Entries »

Analyzing Resin Logs with Apache Chainsaw

Thursday, December 10th, 2009

Apache Chainsaw is a popular graphical logging tool for Java. Even though it’s based on Log4j and Resin’s logging uses java.util.logging, you can use Chainsaw to analyze Resin’s logs in real time. In this blog, I’ll show you how to connect Resin with Chainsaw using a technique that can be extended to other Log4j-based analysis tools.

(more…)

Tags: chainsaw, logging, resin
Posted in Engineering | 5 Comments »

Resin REST adminstration interface

Tuesday, November 17th, 2009

Starting with Resin 4.0.2 (due out within a week), the Resin administration application supports a REST interface for grabbing server information. In this blog post, I’ll give an overview of the REST interface, how to write plugins, and even how to integrate with Nagios.

(more…)

Tags: nagios, quercus, REST
Posted in Engineering | No Comments »

Servlet 3.0 Tutorial: Uploading files

Thursday, October 22nd, 2009

The Internet is becoming more and more about sharing data, and, uploading files had become nearly universal requirement for a web application. Prior to Servlet 3.0, implementing file upload successfully required external libraries or tedious input processing. Version 3.0 of the spec goes a long way towards providing us with a solution to the problem in a generic and portable way.
(more…)

Tags: multipart/form-data, MultipartConfig, Servlet 3.0, tutorial
Posted in Engineering | 1 Comment »

Servlet 3.0 Tutorial: @WebListener, @WebServlet, @WebFilter and @WebInitParam

Tuesday, October 6th, 2009

Resin 4.0 introduced Early Access Servlet 3.0 support and, in version 4.0.2, we’ve solidified the implementation. Among many interesting features, Servlet 3.0 introduces annotations that make deploying Servlets, Filters and Listeners of all types easier. This short tutorial opens with the introduction of annotations of javax.servlet.annotation package, shows how to use WebListener, WebServlet, WebFilter and WebInitParam annotations and closes with an example demonstrating a use of IOC (javax.inject package) in a Servlet.
(more…)

Tags: @WebFilter, @WebInitParam, @WebListener, @WebServlet, Inject, ioc, Servlet 3.0
Posted in Engineering | 1 Comment »

An alternate deployment model based on a Git repository in Resin 4.0.2

Tuesday, September 22nd, 2009

We’ve been quiet on the blog for a while, but pretty busy behind the scenes for the last couple of weeks. There’s lots going on, but what I’m working on specifically is a new deployment model for Resin 4. In addition to our current file system based hot-deploy, we’re now adding a deploy model based on Git. We introduced this in Resin 4.0.0 and 4.0.1, but we started exploring the benefits of Git repositories and realized that we have the ability to do some really powerful things like sophisticated application versioning and rolling out applications in stages. I’ll show you the new model and give a preview of how you can use it in upcoming versions of Resin.

(more…)

Tags: .git, deploy, resin 4.0
Posted in Engineering | No Comments »

Resin Eclipse plugin snapshot

Tuesday, August 18th, 2009

I’ve updated our Eclipse plugin to fix bugs, add a couple of features, and generally improve the user experience. It’s up in a snapshot now on our Eclipse update site: http://caucho.com/eclipse. Just add this to the software repositories in your Eclipse set up. The changes include:

  • Bug fixes (esp. debug handling)
  • Better handling of Resin configuration files
  • Support for deploying to a temporary directory

(more…)

Tags: eclipse, resin
Posted in Engineering | 5 Comments »

pomegranate draft

Wednesday, August 5th, 2009

This is a very rough draft of a pomegranate specification. It should contain the main details needed for an early implementation.
(more…)

Tags: pomegranate
Posted in Engineering | 3 Comments »

App Server Cloud Architectures

Monday, August 3rd, 2009

Over the last few months, I’ve been talking to a lot of people, doing conference sessions about cloud computing and I’ve found out a lot about the different architectures in this space. I’m still very happy with our architecture (perhaps even happier) even after of all these discussions. In past blog posts and in our whitepaper, we’ve explained how the new Resin 4 cloud architecture works. Now I’ll talk a little about why it’s a nice alternative to other approaches.

(more…)

Tags: cloud, resin 4.0
Posted in Engineering | 2 Comments »

Logging custom statistics in Resin

Monday, July 13th, 2009

Last week I was out of town doing some on-site training for a potential customer and they asked if it’s possible to log the number of threads active at any given time. We don’t do that as part of Resin normally, but it got me thinking that this should actually be very easy using our scheduled tasks and a PHP script to access our MBeans.
(more…)

Tags: jmx, php, resin, scheduled tasks
Posted in Engineering | 1 Comment »

TDD and the release cycle

Thursday, July 9th, 2009

We’ve used test-driven development from the beginning of Caucho, almost 12 years now, and it heavily influences our development, refactoring, and also our release cycle. Today, we’re in the final two weeks of the release cycle for 4.0.1 which means passing our regression test suite and working through load testing.

Each week in our release cycle is influenced by our TDD methodology. For Resin, we aim for an eight week release cycle, and usually slip a week or two so it ends up being ten-ish weeks.

(more…)

Tags: candi, servlet, tdd
Posted in Engineering | 1 Comment »

« 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 ®