On Tue, Sep 17, 2002 at 06:29:11PM +0900, Leif Mortenson wrote:
> Marcus Crafter wrote:
> 
> >     ..<snip/>.. One thing I'm interested in is having a
> >     SOAP connector, ie. to be able to deliver the profiling data via a
> >     SOAP request.
> >
> I was thinking about that as well.  This should actually be very easy to 
> do.  Most of the code
> to store things into XML format is already in there.  It is used to save 
> the instrument-manager state to disk.

        ok. I noticed that the .sampledata was stored in XML. Which code in
        particular formats the data into XML ?
        
        Currently I've put together a simple connector that can access the
        various samples currently being measured by the instrument
        manager. What I'm trying to work out how is how to publish this
        as an Axis service for example.
        
> I had been thinking though.  Currently this is being done using 
> Configuration objects.  But
> if it is used more frequently, as it would be with SOAP.  It might make 
> sense to get down
> and dirty and write the XML directly to a string buffer or something to 
> avoid all of the
> overhead.  Not sure how much of a difference it would make though.

        Could be an improvement. I noticed Axis uses string buffers too in
        some places for creation of xml rather than sax/dom serializers.
        Once its up and running we could run it through some tools to
        check the 80/20 rule :)

> I would also like to make a simple servlet based client.  Basicly just a 
> WAR that could be dropped into any container and have it work.

        Do you mean a servlet based client like the swing one ? This is
        exactly what I want to do with Cocoon, as part of an admin app
        (as part of my project work here).
        
        Once the data is available in XML via SOAP for example it will be
        very easy to build up a great looking application with SVG charts,
        graphs, etc.
        
> You look like you have been using the Swing client for a bit now. 
> Anything that you would like to see improved?
> I have a list in my head already. :-)

        I have only been using the swing client recently - it looks quite
        nice though, well done. Whats in your list of improvements? :)
        
        Cheers,
        
        Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:

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

Reply via email to