DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone >

Caucho CanDI: Early Access Java Injection in Resin 4

Emil Ong user avatar by
Emil Ong
·
Sep. 04, 09 · · News
Like (0)
Save
Tweet
531 Views

Join the DZone community and get the full member experience.

Join For Free

The Caucho development team invites early adopters, technology watchers, and developers looking for new patterns to try CanDI, Caucho Technology's implementation of JSR-299 in the Resin 4.0.1 release. A growing list of Java Injection design patterns are emerging that will help even experienced developers solve old and new problems.  We have documented some of the patterns in a recent whitepaper and hope the community will contribute even more.

The JSR-299 standard and the CanDI implementation are gaining more and more attention with the advent of JavaEE 6. Open source projects using Java Injection as a foundation are already appearing (such as the Subetha mailing list manager), showing the power and simplicity of the standard.  Some of the features of Caucho's JSR-299 implementation include:

  • Java Injection using @Current and custom @BindingTypes
  • JSP and JSF expression language integration using @Named annotations
  • @Interceptor and @Decorator aspect programming
  • Integrated event system

 

Caucho's CanDI implementation integrates the standard throughout the Resin Application Server to create a unified framework for developers and administrators.  This unique feature allows developers to inject configured objects such as pooled data sources, JMS queues, distributed caches, and more, avoiding JNDI or factories.  CanDI is also integrated with the Pomegranate runtime dependency manager to control the visibility of classes outside of a library.

To learn about CanDI, more information is available:

  • Caucho CanDI
  • Java Injection patterns whitepaper (PDF)
  • Pomegranate
  • Subetha mailing list manager project
  • Download Resin 4.0.1
  • Caucho Forums and Mailing lists
Java (programming language) Injection Resin (software)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Instancio: Test Data Generator for Java (Part 2)
  • The Most Popular Kubernetes Alternatives and Competitors
  • 5 Steps to Strengthen API Security
  • Implementing RBAC Configuration for Kubernetes Applications

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo