aspose file tools*
The moose likes Tomcat and the fly likes How do i convert a swing application to a web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How do i convert a swing application to a web application" Watch "How do i convert a swing application to a web application" New topic
Author

How do i convert a swing application to a web application

nirmal Rchavan
Ranch Hand

Joined: Jul 10, 2007
Posts: 35
Hi All,
could someone help me out with this design.
I have:
a calendar application built using swings
A tomcat apache 5 installed on my system
I have created:
html home page with the fields NAME, PASSWORD, AND DATE
SELECTION(with a small pop up button when clicked will pop up
a calendar).

when i say http://localhost:8080/myApp/myhtml.html on my browser it takes me to this page. my question is how do i write a code so that when i click the popupCalendar button it calls should call my swing calendar application.
Please give me a picture as to how do i go about this.

Appretiate your time...thanks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

A Swing application (or any Java application with visual Swing components) running on a server can not be seen by a user at the client machine.

You could rework your application to work in an applet or a Java Web Start application which can be delivered via a browser. How difficult that will be depends on how it was written.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
nirmal Rchavan
Ranch Hand

Joined: Jul 10, 2007
Posts: 35
Thanks Ben,
ill give a try.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i convert a swing application to a web application
 
Similar Threads
Need Help running Tomcat 5.0.28 on OS X
Help needed on SSL configuration for Apache HTTP server 2.2.10 and Tomcat 5.5.9
help..
Configuring http://localhost in Tomcat/Eclipse
Configuring http://localhost in Tomcat/Eclipse