473,324 Members | 2,313 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Is there an equivalent to Java Webstart in Python?

Hi everybody,
I want to develop a WEB based Python user appication that nees to be
downloaded and started grom a web server using a browser.
Does anybody know if there is an equivalent of Java WebStart for
python applications?

Nic
Dec 5 '05 #1
10 3199
Use Jython or IronPython.
(Almost) One click web deployment is only available for Java and .NET
platforms at the moment.

Dec 5 '05 #2
The problem with Jython is that I can only live inside the aplet
virtual machine,
I need a full features application with access to the local computer
resources.
Regarding IronPyhton, there is no released version yet.
I am looking for something that can be used now and plataform
independent (assuming the correct version of python is already
installed on the local computer)

Thanks

Nic
On 5 Dec 2005 02:45:04 -0800, "James" <fp****@gmail.com> wrote:
Use Jython or IronPython.
(Almost) One click web deployment is only available for Java and .NET
platforms at the moment.


Dec 5 '05 #3
What use is Java WebStart, exactly?

Just make a .exe installer with everything (for windows), using for
example py2exe and InnoSetup, and a distutils compliant package for the
others.

Dec 5 '05 #4
The idea is that I don't want to have the user installing anything in
his machine.
The only thing he/she may install is the virtual machine.
THis way I can modify the application as necessary without the need to
redeploy on each and one of the installed machines.

Nic

On 5 Dec 2005 04:02:45 -0800, "Renato" <re************@gmail.com>
wrote:
What use is Java WebStart, exactly?

Just make a .exe installer with everything (for windows), using for
example py2exe and InnoSetup, and a distutils compliant package for the
others.


Dec 5 '05 #5
Nic Bar wrote:
The problem with Jython is that I can only live inside the aplet
virtual machine,
I need a full features application with access to the local computer
resources.
Regarding IronPyhton, there is no released version yet.
I am looking for something that can be used now and plataform
independent (assuming the correct version of python is already
installed on the local computer)


All JWS does is download a few jar files and run them locally. I would
think it would be pretty easy to write a simple script that would take
an application from a zip file, expand it to a temporary directory and
run it with Python. Then all you have to do is give the zip files a
custom extension (maybe .par, for Python archive?) and associate that
extension with your script on the users' machines. But if you're asking
if something like this is included with Python out of the box, then the
answer is not as far as I know, sorry.

-- David

Dec 5 '05 #6
No! Jython does not have any of the problems you describe. Jython makes
Java byte code. Java bytecode can be deployed via Web Start. Period.
Jython can be used anywhere Java can be used. That's the whole beauty
of Jython. I am not hypothesizing. I actually did this a while ago and
it worked just fine. Why shouldn't it?

There is a released version of IronPython at
http://www.gotdotnet.com/workspaces/...0-57ac5a3a9742
In fact it's being released every 2-4 weeks for quite a while now.

True, IronPython is not quite there yet, but it works for most part.
..NET 2.0 One Click Deployment should work with the generated
executable. I have not tried this myself. Both Jython and Web Start are
definitely more mature at the moment.

Dec 5 '05 #7
Nic Bar wrote:
The problem with Jython is that I can only live inside the aplet
virtual machine,
Only if you are writing an applet.
I need a full features application with access to the local computer
resources.


You can do this with Jython and JWS. Write your app in Jython, deploy
with JWS, be happy, go home early ;)

I have some notes about it here:
http://personalpages.tds.net/~kent37...nWebStart.html

Kent
Dec 6 '05 #8
Renato wrote:
What use is Java WebStart, exactly?


It's a way to deploy a Java app from a web site. Assuming the user has
Java installed, the app can be launched just by clicking a link on a web
page. The jar files are cached locally so they are only downloaded once,
the user can make desktop and Start menu shortcuts for the app, and you
can update users automatically by deploying new jars to the web server.
It's pretty nice and largely trouble-free.

Kent
Dec 6 '05 #9
Hi Kent,
Too complicated example :-). Jythonc works just fine to create a
regular jar file that you can reference in your jnlp file.

Ravi Teja.

Dec 6 '05 #10
Ravi Teja wrote:
Hi Kent,
Too complicated example :-). Jythonc works just fine to create a
regular jar file that you can reference in your jnlp file.


If it works for you, good. I have never been able to compile a real app
with jythonc and I gave up on it long ago.

Kent
Dec 6 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: BlackHawke | last post by:
Our program, game program Andromeda Online (www.andromedaonline.net) uses two programs- one to play the game, another to patch the game as updates come out. Players actually launch the updater...
0
by: Samir Patel | last post by:
To increase pythons' popularity, we need a tool like webstart which will install (and update when needed) python program through web. This will make IT and managers happy since they don't have to...
14
by: Wolfgang Keller | last post by:
Hello, as a non-developer I am currently participating in an industrial "research" project to develop a so-called "web application". This application serves at the same time as middleware to...
24
by: huy | last post by:
Hi, Just wondering if there were any plans (or existing projects) similar to Java webstart for Python. I think this would be a boon for python. I would love to start my new project using Python...
1
by: Niklas | last post by:
H What is Java Webstart counterpart in .NET Regard /Niklas
2
by: 123456prakash | last post by:
Hi all I have a requirment that i have to deploy an application using java webstart Actually i don't know much about java webstart. Can any one suggest me some good website ..where i can get...
0
by: 123456prakash | last post by:
Hi I am getting a error while downloading application from java webstart I am using Apache 2.2 http server rnning on port 80 In that in htdocs folder I have placed my jnlp file and my jar file...
14
by: Keith McCutcheon | last post by:
I've got a jar file that I'm loading with Java's Web Start. When I load the ..jnlp file from a browser, the application installs and runs properly the first time. If I close the application and...
0
by: Banibrata Dutta | last post by:
Hi, I've tried searching this list & googling around a bit -- trying to see if there is a Java-Webstart like alternative for Python, the closest approximate I've found is something suggested in...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.