Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » libsbml-development » If there were a pure Java libSBML ...
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Mike Hucka


Posts: 967
Registered:
October 2003
Re: If there were a pure Java libSBML ... 20 May '09 12:35 Go to previous messageGo to previous message

Let me throw out another idea about this.

Suppose (hypothetically speaking :-)) that we were to
introduce a web service for libSBML [+], and produce a pure
Java version that is *not* a *complete* reimplementation,
but instead called on the web service version for certain
complex operations such as model validation, unit analysis,
etc. My thinking is that this would address multiple
problems:

1) It would permit a pure java implementation

2) It would do it without incurring the implementation and
maintenance cost of reproducing the entire libsbml code
base. There would still be only one code base for some
of the really hairy bits that are also the most worrisome
from the standpoint of ensuring identical behavior.

3) It would also make the pure java deployable smaller in
size than a full libsbml java implementation would be.

Downsides:

1) Some of the libsbml functionality in the pure java
version would require a network connection to use.
We'd be careful to make them only things that have to be
deliberately called, not common operations.

2) It wouldn't solve the problem of having to implement
Level 3 packages twice. (You wouldn't want to implement
them only in the libsbml core and then make all of it
accessible over the web service; the point of the
approach being proposed here is that *most* of the
libsbml functionality would be in the pure java client.
I don't see that L3 packages would not be sufficiently
heavy to qualify.)

We would have to figure out which operations are most
worthwhile doing via the web, balancing the size of data
transfer involved versus the complexity of the code in
libsbml that would be saved from reimplementation. I also
have ideas for how to provide a high-availability facility
for the web service, so that people wouldn't all have to hit
a single server sitting under my desk at Caltech :-).

This seems like a workable compromise, no?

Can people try to think about the weaknesses and shot holes
into this scheme? Likewise, if there are some additional
clever hacks we could do, please mention them. If we're
going to write a grant proposal to get more developers to do
this, we'd better know about possible counter-arguments now.

Footnotes:
[+] Frank Bergmann already provides a web service system
exposing much of the libSBML API. The web service proposed
here would admittedly replicate a significant chunk of that.
However, it would do it in different ways, so it would not
be an identical system.

MH

____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development

For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   If there were a pure Java libSBML ... Mike Hucka18 May '09 13:18
Read Message   Re: If there were a pure Java libSBML ... Neil Swainston18 May '09 13:32
Read Message   Re: If there were a pure Java libSBML ... curoli18 May '09 13:59
Read Message   Re: If there were a pure Java libSBML ... Mike Hucka18 May '09 15:13
Read Message   Re: If there were a pure Java libSBML ... curoli18 May '09 16:25
Read Message   Re: If there were a pure Java libSBML ... Neil Swainston19 May '09 03:01
Read Message   Re: If there were a pure Java libSBML ... curoli19 May '09 10:10
Read Message   Re: If there were a pure Java libSBML ... Mike Hucka19 May '09 10:44
Read Message   Re: If there were a pure Java libSBML ... curoli19 May '09 14:04
Read Message   Re: If there were a pure Java libSBML ... Neil Swainston19 May '09 12:48
Read Message   Re: If there were a pure Java libSBML ... Mike Hucka18 May '09 15:08
Read Message   Re: If there were a pure Java libSBML ... Neil Swainston19 May '09 02:25
Read Message   Re: If there were a pure Java libSBML ... Lucian Smith18 May '09 14:11
Read Message   Re: If there were a pure Java libSBML ... Mike Hucka19 May '09 10:53
Read Message   Re: If there were a pure Java libSBML ... Frank Bergmann18 May '09 14:12
Read Message   Re: If there were a pure Java libSBML ... Stefan.Hoops19 May '09 07:55
Read Message   Re: If there were a pure Java libSBML ... curoli19 May '09 10:31
Read Message   Re: If there were a pure Java libSBML ... Mike Hucka19 May '09 10:50
Read Message   Re: If there were a pure Java libSBML ... rodrigue20 May '09 02:23
Read Message   Re: If there were a pure Java libSBML ... rodrigue20 May '09 01:47
Read Message   Re: If there were a pure Java libSBML ... Stefan.Hoops20 May '09 11:57
Read Message   Re: If there were a pure Java libSBML ...  Mike Hucka20 May '09 12:35
Read Message   Re: If there were a pure Java libSBML ... Stefan.Hoops20 May '09 13:59
Read Message   Re: If there were a pure Java libSBML ... rodrigue21 May '09 03:23
Read Message   Re: If there were a pure Java libSBML ... Mike Hucka21 May '09 11:32
Read Message   Re: If there were a pure Java libSBML ... curoli23 May '09 08:40
Read Message   Re: If there were a pure Java libSBML ... Neil Swainston24 May '09 04:52
Read Message   Re: Java@EBI rodrigue21 May '09 02:07
Previous Topic:New constructors in libSBML-4
Next Topic:Problem with libsbml C# bindings.
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.