aspose file tools*
The moose likes Applets and the fly likes Replacement technology/language for Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Replacement technology/language for Applet" Watch "Replacement technology/language for Applet" New topic
Author

Replacement technology/language for Applet

john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

I have been coding an program that uses an Applet for a good while now (the server is also coded in Java). Is there a good replacement technology for Java Applets? I am wanting to port the Applet code over to another technology. My reasoning for this is that A. most people don't have Java installed and don't want to install it B. Java Applets tend to take a while to start up and C. I want to be able to code mobile versions (using the same technologies as whatever you guys come up with). These are my requirements :
The languages/technologies learning, code porting, and everything should be estimated to take about 6 weeks or less (I have 6 weeks of "free-time". With school being out at the end of the month and me only having a part-time job, I will be able to devote a large amount of free time to porting the Applet in 6 weeks or less). The features needed for this technology/language(s) are :

1. Being able to connect to an IP address and port by SSL
2. Having abilities for buttons, tabbed pane, text entry, text display, table/chart buttons, able to change colors of components, text formatting
3. Sound playing abilities
4. Technology/language usable in Windows and Linux (Android, iOS, and Mac preferred, but not necessary)
5. Text parsing ability
6. Trees (eg HashTrees, etc), Maps, etc preferred
7. Listeners (Keys, Mouse, Action)
8. Timer functionality (to do a task)

Technologies I will not consider or use :
Anything solely developed by Apple and Flash.

I am open to using multiple technologies/solutions/languages.

Thank you all,

John Price

EDIT : Project is approximately 1k lines.
EDIT 2 : Pictures of project will be provided on request (web links). I have also posted the code online (web link posted on request).
EDIT 3 : Corrections above...


“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
For maximum compatibility and power you'll need a server-side script. PHP or something. Maybe a database (MySQL). Perhaps enhanced by a client-side script (Javascript) and/or cookies for interactive activites, though you can't depend on scripts or cookies when they can be disabled, not supported or blocked by ad blockers or limited mobiles.
john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

Could you point me to some places to get started? I like your response but it's a little too general for me. I don't want to rush it, but I would like to get the porting out of the way so I can continue to develop my software further. Thank you!
Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
Server-side scripting takes place on the server. Its results appear on the web page. My answer is general because the actual dynamic interaction between the webpage and the server depends on the language you choose to use, how you set up the controls on the web page, and how users interact with your page, Since often web hosts support several languages there is no one right answer.

You said that your website has Java on the server side, do know how you could use that?

You can also look at the tutorials for a few Server-side languages at W3Schools Online Web Tutorials, under the "Server Scripting" section.

You can also look things up on the Documentation sites of whatever language you're thinking about using, example PHP Documentation site.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10523
    
    9

GWT could be something which can deliver what you require. Of course the "6 weeks" depends on your learning skills.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

Thank you for both your replies. GWT looks very interesting and I will consider using it. Thanks for your help!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Replacement technology/language for Applet