2 Replies Latest reply on May 8, 2009 3:35 AM by asoldano

    status of the project

    maeste

      Hi all,
      a long silence here. Sorry for that, but I've been very very busy in last weeks.
      But what is the status of the project? What have I done for Wise in last weeks?
      Well I was working on 1.0.1 version to integrate it in ESB 4.5, but I realized during this development (thanks to Kevin for that) that Wise-core version >=0.9 have 2 big issues to be well integrated in ESB:
      1) Dependencies from JBoss Micro Kenel: ESB have its own configuration APIs and it have to used. Users don't have to put configurations in multiple places.
      2) Class loading issues caused by our cache system. Caching Dynamiclient instances and smooks drive to class loading issues.
      3) Moreover our synchronized solution to avoid 3ad safety problem of JBossWS-native Port is not acceptable in an high concurrent environment like ESB.

      Another point that would be achieved is a better test coverage. I've worked a lot on this last point and (apart some classes that are under refactoring to remove smooks cache) we now have a great coverage (more or less 70%). Anyway I'll open soon (hopefully tonight) a 3ad about Wise's test because we need not only a good unit test coverage, but also some stress and integration tests.

      I've worked also on point 1 and partially 2 and 3:
      1) I have modified a bit our API to make possible to pass a WiseConfig instance during dynamic client creation. Code should be clear than any explanation here: start from this sample http://fisheye.jboss.org/browse/Wise/core/trunk/samples/AddressingAndSecurityNoMK and have a look to my last commits. A look to unit tests should help too. Javadoc is a bit out of synch or at least incomplete, but I'll try to fix that very soon (hopefully tonight)
      2) I have worked partially on that. I have made optional dynamicClientCache. The same should be done on smooks cache. I'll take care soon
      3) I have a git branch on my laptop with an almost complete solution based on a 3ad pool. It needs few refinement. Expect a commit on a branch next week or so.

      I'm writing here mainly to ask your opinion on my changes, and in particular your opinion about the opportunity to totally remove MK dependency. Just to recall let me remark we are using to inject right implementation of various component (depending i.e. JAX-WS stack, reflection vs javaassist access to generated class, various kind of WS-*).
      I still love our IOC pluggable approach, but it's a matter of fact that having 2 different kind of configuration (MK one and new code base one) could be a bit confusing for users and eventually also for new contributors.
      Your opinion?

      I'll look forward for your feedbacks.

      PS: Another news about current development: JimMa is working on project mavenization

        • 1. Re: status of the project
          asoldano

          Stefano wrote: (for the logs ;-) )

          Forums is down, so I'm writing you a private email.
          I have committed last night changes described in WISE-141. I haven't yet implemented SPI loading of implementation (to keep the same flexibility of MK in terms of wise pluggability of implementations and JAX-WS client stack under the wood). It is tracked by WISE-143 and it's quite easy (there are 2 TODO in the code where we need spi). Moreover javadoc is totally out of sync and programmers guide need to be updated reflecting the new apis.
          Please review my code and let me know what you think about (start from our integration tests to get the general idea).
          I'm quite happy of these changes because API is now even simpler and (I hope) more robust than ever. Just an example you will notice that WiseConfig class has been removed and all configs are done during WSynamicClient creation by WSDynamicClientBuilder. Much more simple IMHO.

          Tom: I'm quite happy with smooks profile integration (WISE-144), but I'd like very much your review here ;) Just have a look to SmooksMapper (a bit of hacking there, maybe there are some more direct API I've missed in smooks).

          I'll be very busy today and tomorrow, so if you have time and would take care of WISE-143 or javadoc/docs update (jira to be created) you are more than welcome.
          There are also a lot of open issues in 1.0.1.......if you have time take one or twos of them.

          Ashwin: I'm working on sequences, but I'll be very busy in next days, I can't promise you a due date.

          Looking forward for your comment

          • 2. Re: status of the project
            asoldano

             

            "alessio.soldano@jboss.com" wrote:
            Stefano wrote: (for the logs ;-) )
            ...
            Please review my code and let me know what you think about (start from our integration tests to get the general idea).


            Code review performed, +1 for the work done!

            There are also a lot of open issues in 1.0.1.......if you have time take one or twos of them.


            Done ;-) Btw, still for the records (as we talked about that in chat), I've created a jira for updating the jbossws dependency (WISE-149). Let's evaluate that for Wise 1.1, also considering the ESB requirements.