Announcement Announcement Module
No announcement yet.
XBean vs Custom Namespace/BeanDefinitionParser Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • XBean vs Custom Namespace/BeanDefinitionParser

    I have seen in some open-source projects the use of XBean to build custom namespaces. But I don't see anywhere in the spring docs that mention using XBean.

    Can anyone point to pros/cons of using the XBean integration to build custom namespaces vs building the NamespaceHandler and BeanDefinitionParsers yourself?

  • #2
    I have figured out the answer myself.
    The xbean-spring project contains code that allow you to build your own custom namespaces much faster than hooking in your own custom namespace and bean def parsers.

    I have looked at the code from the project and wrote up a blog entry detailing how to use it:

    It really seems like a good way to go for building custom namespaces.