Apache MyFaces Orchestra – simpler XML config!

Simon Kitching created this Orchestra enhancement, and he (of course) implemented it.
What does that mean ? It actually simplifies your XML configuration!
In the “past” (well, Orchestra is pretty young (but stable)) a bean looked like:

<bean id="googleMapBean" class="net.wessendorf.faces.starter.view.controller.GoogleMapBean" scope="conversation.manual"
    orchestra:conversationName="googleMap" p:userService-ref="userServiceImpl">
   <aop:scoped-proxy />
</bean> 

Now, it looks like this:

  <bean id="googleMapBean" class="net.wessendorf.faces.starter.view.controller.GoogleMapBean" scope="conversation.manual"
    orchestra:conversationName="googleMap" p:userService-ref="userServiceImpl" /> 

Just a single line of XML… Not a big deal, but in large applications, you actually benefit from it!  I updated FacesGoodies, to reflect this change!
Next thing is to use Spring’s JavaConfig (Spring 2.5), to get rid of more XML.

Howdy!

Posted in apache, java, jsf, myfaces, orchestra, trinidad, web²

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: