• 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.
  • Follow Caucho on Twitter

    • @royans Thanks! Glad you enjoyed it. 2010/02/04
    • Resin 4.0 requires JDK 1.6 because we're targeting JEE6. It's mentioned in JEE6 system requirements: http://bit.ly/bppKrf 2010/02/04
    • RT @royans: Scaling PHP : HipHop and Quercus http://bit.ly/dhLiXL 2010/02/04
  • Tags

    .git ajaxworld apache bam candi cloud cluster comet deploy devoxx eclipse embedded facebook flash flex google app engine google datastore hessian hmtp ioc javaone javazone jms marakana messaging mule newsletter nyjug osgi php pomegranate quercus resin resin 4.0 REST servlet sfjug silicon valley code camp tomcat training triad tssjs webbeans wordcamp wordpress
  • Meta

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

Posts Tagged ‘pomegranate’

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 »

Why OSGi is cool, but not for most enterprise apps…

Monday, June 15th, 2009

There’s been a lot of hype around OSGi over the last year or two in the enterprise space. Last year even Caucho dallied with adding OSGi support to Resin, though we’ve abandoned the idea in the meantime. In this post, I’ll tell you what’s cool about OSGi, why we were initially attracted to it, why we eventually dropped it, and what we did instead. The more I talk to enterprise developers who’ve actually used OSGi, the more I hear this same story.

Update: Rob Harrop informed me that there is an emerging specification called RFC-66 for enterprise web/OSGi integration.
(more…)

Tags: osgi, pomegranate
Posted in Engineering | 9 Comments »

pomegranate modules

Wednesday, June 10th, 2009

As a quick introduction to pomegranate (I’m crushed for time today), here’s a quick diagram that shows the basic module structure for a typical pomegranate configuration.

Pomegranate is designed to solve the module versioning and classloader issues from an enterprise-application perspective. Although we’re doing a bit of classloader magic behind the scenes, the developer perspective is fairly simple and clean:

  1. remove jars from your .war
  2. drop them in Resin’s project-jars directory
  3. declare jar dependencies in Maven .pom files
  4. import them to your web-app with WEB-INF/pom.xml or in your resin-web.xml

Pomegranate resolves the module versions, and builds a classloader graph for the web-app. The module graph looks like the following:

pomegranate module usage

Tags: module, osgi, pomegranate
Posted in Engineering | 10 Comments »


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