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
curoli


Posts: 97
Registered:
November 2006
Re: If there were a pure Java libSBML ... 18 May '09 16:25 Go to previous messageGo to previous message

Hello Mike, All,

Users click on a link on our website and Java Webstart selects the
appropriate binary among three options: Windows, Mac and Linux.

We have a person responsible for deployment (Fei Gao) who has been
doing this for years and I am assuming she is on top of it.

Meanwhile, I developed a stand-alone application (SyBiL) that uses
libSBML and deployed it myself on our website, also using Java
Webstart. You need to have binaries for Win, Mac and Linux in the same
version you use for development. If the application needs access to
the file system (ours do), all JAR files need to be signed.

In principle, it is not hard to do. In practical terms, it can be
painful, because you either redeploy (upload to webspace and download
again with your browser) all files together, which can take time if
your application is large, or you try to redeploy only the files that
need updating and easily pick the wrong ones. If you fail to suppress
caching, this can create artificial version conflicts and other
irreproducible behaviour.

Of course, if you are willing to invest the work, you can do things
like set up a local webspace on the same computer you use for
development, or set up some clever automatation.

And, of course, this requires that three binaries are enough to
cover all users you intend to have, and that you have the means to
test deployment of every one of them. Maybe true these days, but who
knows how that will be in the future.

Take care
Oliver

On Mon, May 18, 2009 at 6:13 PM, Michael Hucka <mhucka@caltech.edu> wrote:
> So, here's a question for you.  The Virtual Cell group has
> (I imagine) one of the biggest Java code bases -- so what
> happens now, with the current native binary version of
> libSBML?  How much trouble has it been to use in VCell?
>
> MH
>
>>>>>> On 18 May 2009, Oliver Ruebenacker <curoli@gmail.com> wrote:
>
>  curoli> Have you ever tried to deploy across different
>  curoli> platforms?
>  curoli>
>  curoli> A pure Java version can easily be deployed across
>  curoli> platforms without change (ideally). However, if
>  curoli> you depend on binaries, you need to provide
>  curoli> different ones for each platform. If a system
>  curoli> already has the binary installed but in a version
>  curoli> incompatible with your software, then you have a
>  curoli> problem. You can still run it in a cage such as
>  curoli> with Java Webstart, but that is infinitely harder
>  curoli> to deploy and debug than just putting a pure Java
>  curoli> application in a JAR for download.
>  curoli>
>  curoli> The JNI approach also prevents you from avoiding
>  curoli> redundancies, for example, libSBML needs native
>  curoli> XML support, and your application may need Java
>  curoli> XML support in addition to that.
>  curoli>
>  curoli> Take care Oliver
>
> ____________________________________________________________
> 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
>
>



--
Oliver Ruebenacker, Computational Cell Biologist
BioPAX Integration at Virtual Cell (http://vcell.org/biopax)
Center for Cell Analysis and Modeling
http://www.oliver.curiousworld.org
____________________________________________________________
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.