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
« Resin balloons?
Resin 4.0 Security »

WebBeans in an IDE

The new WebBeans spec defines a way to configure beans using a neat XML trick where you place the Java package name for a bean into a namespace. Both Scott and Gavin King have written about this, so I won’t rehash the details. One concern of those looking at this approach is that tooling won’t be easy to write to resolve the package names from XML namespaces.

Lately I’ve been working on the Resin plugin for Eclipse, so I thought I’d give it a shot to write some basic IDE facilities for WebBeans. Here’s a screenshot using an example from Gavin’s blog:

You can see that it was pretty easy using Eclipse’s built-in Java and XML analysis tools to extract the class name of the tag under the mouse pointer and then pull the Javadocs from the class. Now, this plugin is pretty fragile and it doesn’t do a lot yet, but for a guy who doesn’t know much about Eclipse (i.e. me ;-)) to whip this up in a couple days means that tooling for WebBeans XML shouldn’t be difficult.

Tags: eclipse, webbeans

This entry was posted on Wednesday, January 14th, 2009 at 12:50 pm and is filed under Engineering. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.


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 ®