Hi Amila,

1. Yes, Jibx2Wsdl is fully compatible with 1.4. I haven't tested
Jibx2Wsdl with 1.3 (since I don't know anyone who's still using 1.3 for
their actual development efforts, as opposed to deployment), but the
JiBX framework itself is compatible with 1.3.
2. If you use Java 5 generics Jibx2Wsdl will pick up the item type for a
collection automatically, and likewise if you're using arrays. For
untyped collections you *shouldn't* actually need to specify the type,
as long as it's a class that you've included in your binding generation
- but I don't think I've tested this part, and it might not work at
present without the type specification.

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Amila Suriarachchi wrote:
> hi dennis,
>
> nice article. It seems many alternatives being developed (which I
> belive is good) for the code-first approach as well. I think that the
> java document feature you have introduced is a cool feature as well.
>
> please bear with me asking these two questions.
> 1. Does this compatible with java 1.4?
> 2. I saw this your article
> |     <class name="Order" requireds="@customerId customerName billTo items"
>
>          optionals="orderId orderDate shipDate">
>        <collection-field field="items" 
> item-type="com.sosnoski.infoq.ex1.Item"/>
>      </class>
> So it is manadatory to declare the item-type for an List? 
>
>
> Amila.
>
> |
>
>
> On 8/29/07, *Paul Fremantle* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Well to be fair you brought more than balance!! A whackload of
>     good code goes a loooonnnngg way!
>
>     Paul
>
>
>     On 8/28/07, *Dennis Sosnoski* < [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>
>         Glad you enjoyed it, Paul!
>
>         There's been so much bashing of the idea of web service
>         development
>         starting from code that I thought it was time to bring a bit
>         of balance
>         to the discussion.
>
>           - Dennis
>
>
>         Paul Fremantle wrote:
>         > Great article! Thanks Dennis.
>         >
>         > Paul
>         >
>         > On 8/28/07, *Dennis Sosnoski* < [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>
>         > <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>         >
>         >     My article on "Code First" Web Services Reconsidered has
>         been
>         >     published
>         >     by InfoQ:
>         http://www.infoq.com/articles/sosnoski-code-first
>         <http://www.infoq.com/articles/sosnoski-code-first> I've also
>         >     made some updates to Jibx2Wsdl to fix a few problems
>         found, and
>         >     with one
>         >     more set of enhancements coming up will be making it part
>         of the
>         >     upcoming JiBX 1.1.6 release. In the meantime you can get
>         it at
>         >     http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl
>         >
>         >     I'll also mention that I'm going to be visiting Sydney and
>         >     Melbourne in
>         >     late September, with another trip to the U.S. in October. If
>         >     anyone is
>         >     interested in training classes or consulting support
>         around SOA,
>         >     Axis2,
>         >     or XML in Java email me directly to find out more about
>         my services.
>         >
>         >       - Dennis
>         >
>         >     --
>         >     Dennis M. Sosnoski
>         >     SOA and Web Services in Java
>         >     Training and Consulting
>         >     http://www.sosnoski.com <http://www.sosnoski.com> -
>         http://www.sosnoski.co.nz
>         >     Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
>         >
>         >
>         >    
>         ---------------------------------------------------------------------
>
>         >     To unsubscribe, e-mail:
>         [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>
>         >     <mailto: [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>>
>         >     For additional commands, e-mail:
>         [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>         >     <mailto: [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>>
>         >
>         >
>         >
>         >
>         > --
>         > Paul Fremantle
>         > Co-Founder and VP of Technical Sales, WSO2
>         > OASIS WS-RX TC Co-chair
>         >
>         > blog: http://pzf.fremantle.org <http://pzf.fremantle.org>
>         > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> <mailto: [EMAIL 
> PROTECTED]
>         <mailto:[EMAIL PROTECTED]>>
>         >
>         > "Oxygenating the Web Service Platform", www.wso2.com
>         <http://www.wso2.com> <http://www.wso2.com>
>
>         ---------------------------------------------------------------------
>
>         To unsubscribe, e-mail: [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>
>         For additional commands, e-mail: [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>
>
>
>
>
>     -- 
>     Paul Fremantle
>     Co-Founder and VP of Technical Sales, WSO2
>     OASIS WS-RX TC Co-chair
>
>     blog: http://pzf.fremantle.org
>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>     "Oxygenating the Web Service Platform", www.wso2.com
>     <http://www.wso2.com>
>
>
>
>
> -- 
> Amila Suriarachchi,
> WSO2 Inc. 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to