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

Posts Tagged ‘ivy’

OSGi, Ivy and WebBeans

Friday, October 24th, 2008

With 3.2.1, we’ve started working on our OSGi integration with Resin and based on that work, it looks like we’ll have a slight different approach to OSGi than most everyone else. Since OSGi was originally designed for embedded applications, the design is slightly different than the requirements for an application server.

From our perspective, OSGi provides two benefits:

  1. a jar versioning and dependency system
  2. a service registration system
The versioning and dependency of OSGi gives us a chance to add more sophisticated classloading to Resin. For example, we can add a generic deployment director for all library jars in ${resin.root} and create the classloaders as needed at the web-app level. This could mean avoiding all WEB-INF/lib jars, reducing the .war size and improving memory efficiency.
Since OSGi’s service system overlaps with our use of WebBeans for service configuration and injection, we’re working on merging the two systems. OSGi services will export to the web-app’s WebBeans context, and you can use WebBeans inside an OSGi bundle to define services and components. By combining the two specifications, we’re hoping to add more power and flexibility to both, and also make documentation consistent, since there will be one unified service system.

Tags: classloaders, ivy, osgi, webbeans
Posted in Engineering | No Comments »


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 ®