[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer
do-not-reply at jboss.com
Wed Mar 26 07:27:30 EDT 2008
"david.lloyd at jboss.com" wrote : Just wondering if there is a code example somewhere of a simple parsing deployer using the JAXB stuff. I'm having a hard time figuring out the intended usage based on the documentation (a lot of the deployer stuff is still missing from the docs it seems).
ATM I don't think there is any 'production' usage of the new JBossXB.Builder/JAXB parsing.
Since we haven't done the full switch yet.
I'll have a look today, trying to provide the initial parsing deployer based on this stuff.
But for time being have a look at any XYZJaxbTestCase in Microcontainer module, and follow the trail to the parsing bit.
"david.lloyd at jboss.com" wrote :
| The documentation, in many cases, says things like "The BeanMetaData provides top level information and access to the more detailed information about the bean deployment" or "The purpose of Structure Deployer is to recognise the deployment type and prepare this information for the actual Deployers." These are all good, concise explanations for the purpose of these concepts. But then fails to explain how to actually use them in practice; e.g. I'm looking for something that says "To actually implement a deployer, extend XXX and provide implementations for YYY and ZZZ".
But the MC's VDF is a huge huge beast.
Providing example for every part is virtually impossible.
But I think the new concept of being able to comment on the docs will help with this problem. e.g. users providing best practices
And we can also keep a note of the things you users :-) want in the docs from the beginning.
Having example of new cool JBossXB.Builder is a reasonable choice. :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138932#4138932
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138932
More information about the jboss-user