Differences between revisions 3 and 4
Revision 3 as of 2006-12-12 21:53:08
Size: 3194
Editor: pix39
Comment:
Revision 4 as of 2006-12-12 22:06:49
Size: 3579
Editor: pix39
Comment:
Deletions are marked like this. Additions are marked like this.
Line 54: Line 54:
Line 56: Line 55:
Line 76: Line 74:
  * This can be done as a plugin, however there would need to be a way to let all other plugins know about new arguments (maybe this is already available?).   * There would need to be a way to let all other plugins know about new arguments (maybe this is already available?).
Line 93: Line 91:
I'm unsure what the best solution would be. The jnlp classes are specific to webstart so should not hinder multiple instances of the desktop. I think for simplicity adding the SingleInstanceService/Listener to the intialization would work fine. As a plugin it would need access to the method that parses arguments in CyMain. Either way would require notifying any listening plugin that new arguments have been introduced.

Single Instance Webstart : RFC 22

Editor(s): Sarah Killcoyne

TableOfContents([2])

About this document

This is an official Request for Comment (RFC) for Add your text here.

For details on RFCs in general, check out the [http://www.answers.com/main/ntquery?method=4&dsid=2222&dekey=Request+for+Comments&gwp=8&curtab=2222_1&linktext=Request%20for%20Comments Wikipedia Entry: Request for Comments (RFCs)]

Status

12/12/06 Preliminary writeup, comments appreciated

How to Comment

To view/add comments, click on any of 'Comment' links below. By adding your ideas to the Wiki directly, we can more easily organize everyone's ideas, and keep clear records. Be sure to include today's date and your name for each comment. Here is an example to get things started: ["/Comment"].

Try to keep your comments as concrete and constructive as possible. For example, if you find a part of the RFC makes no sense, please say so, but don't stop there. Take the extra step and propose alternatives.

Proposal

Use of Cytoscape via webstart could be easier and permit greater functionality to be available to a webstart user if only single instances are permitted but new arguments can be passed to the original instance from a new jnlp.

Biological Questions / Use Cases

Use Case:

1. U Mich has a website front end to a molecular interactions database. Links on the site open new instance of cytoscape. This prevents any cross-network functions from being used.

2. t1dbase.org has website front end to multiple protein-protein sources. Also opens multiple instances.

General Notes

By opening multiple instances cross-network functions are unavailable. However, there are cases where a new instance may be desirable so it needs to be an option.

ISSUES:

  • If the jnlp’s are different in the plugins loaded (or any other library) the original instance will not get any plugins added in (or removed). Arguments may need to be checked and a new instance opened if this is the case.
  • There would need to be a way to let all other plugins know about new arguments (maybe this is already available?).

Requirements

From the JDK 1.5 jnlp.jar SingleInstanceService and SingleInstanceListener

The jnlp.jar file currently included in libs would need to be updated.

Deferred Items

Open Issues

I'm unsure what the best solution would be. The jnlp classes are specific to webstart so should not hinder multiple instances of the desktop. I think for simplicity adding the SingleInstanceService/Listener to the intialization would work fine. As a plugin it would need access to the method that parses arguments in CyMain. Either way would require notifying any listening plugin that new arguments have been introduced.

Backward Compatibility

Expected growth and plan for growth

References

Download single instance plugin: [http://db.systemsbiology.net/cytoscape/skillcoyne/TestPlugin.jar]

Source code for plugin: [http://db.systemsbiology.net/cytoscape/skillcoyne/TestPluginSource.zip]

Implementation Plan

  • ["/Implementation Plan"]

Comments

PageComment2

SingleInstanceWebstart (last edited 2009-02-12 01:03:13 by localhost)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux