« Return to Thread: applet basics help

Re: applet basics help

by Alfonso Reyes :: Rate this Message:

Reply to Author | View in Thread

Aaron,
I would say JWS and Applets complement each other. My preference is Java
Web Start because it gives a more homogeneous environment in terms of
GUI; with an applet you would have to write some code for the buttons
but it would not be  deal breaker. A JWS application can be called from
within a web page with HTML, JavaScript or just plainly executed from
the command line as a JAR file. The advantage of using an applet, from
what I know and tested (I am not a professional programmer), is that the
application can be embedded directly in the web page. Some complex
applications would refresh the page slower than a JWS because the latter
is not embedded but called on request.

Portable? Yes. As any other Java application.
I have generated  code for JWS apps from Windows and Linux without any
problem. The applications here

http://reyesaguayo.com/osp/#[[List%20of%20Applications%20Python%2BJava%20%3D%20Jython]]

were built under Ubuntu Linux.

Hope this helps.

Alfonso R. Reyes


Aaron Peterson wrote:

> Hello:
>
> Yes, this looks like a useful page, thanks. :)   I see it does talk about
> jythonc still, but maybe java web start is the way to go instead of an applet?
> I haven't used any of the java web start stuff before, is it portable?  Would
> it work without too many problems on a linux system do you know?
>
> Thanks for the link,
>
> Aaron
>
>
> On Thu, Jun 18, 2009 at 10:21:13PM -0500, msfz751@... wrote:
>  
>> Aaron,
>> would this help?
>>
>> http://reyesaguayo.com/osp/#[[Creating%20Java%20Web%20Start%20applications%20with%20Jython%20and%20OSP]]
>>
>> It not exactly for applets but it may give some hint.
>>
>> Alfonso
>>
>>
>> Aaron Peterson wrote:
>>    
>>> Hello:
>>>
>>> Does anyone know of any documentation or links for how to create an applet with
>>> jython 2.5?  Most of the docs that I can find reference 2.2 and use jythonc
>>> which is deprecated.  I found this post
>>> (http://www.nabble.com/Re:-Compiler(s)-in-2.5%2B--td22622002.html) which is
>>> helpful for generating .class and .jar files from a .py, but I think I'm
>>> missing some applet specific sematics for getting it loaded that way.  I see
>>> some applet examples in the Demo/ directory, but they seem outdated and the
>>> comments reference a non-existent "mkjava.py" file.  I'm new to jython and am
>>> not very experienced in java, so I might be missing something obvious.
>>>
>>> Ultimately what I'm trying to do is get processing.org loading in a jython
>>> applet.  This seems to be a pretty good guide on how to do that, but is also
>>> 2.2 specific:
>>> http://backspaces.net/hacks/30/processing-with-jython
>>>
>>>
>>> Thanks much!
>>>
>>> Aaron
>>>
>>> ------------------------------------------------------------------------------
>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>> Check out the new simplified licensing option that enables unlimited
>>> royalty-free distribution of the report engine for externally facing
>>> server and web deployment.
>>> http://p.sf.net/sfu/businessobjects
>>> _______________________________________________
>>> Jython-users mailing list
>>> Jython-users@...
>>> https://lists.sourceforge.net/lists/listinfo/jython-users
>>>  
>>>      


------------------------------------------------------------------------------
_______________________________________________
Jython-users mailing list
Jython-users@...
https://lists.sourceforge.net/lists/listinfo/jython-users

 « Return to Thread: applet basics help