aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to make an application accessable from the net Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to make an application accessable from the net" Watch "How to make an application accessable from the net" New topic
Author

How to make an application accessable from the net

Avin Sinanan
Ranch Hand

Joined: Nov 07, 2001
Posts: 109
Hello,
Am working on a java aplication.
I've made the java appication on my computer.
I am using JCreatorLE to compile my java code.
There for once I compile my code I can run it.
My application has a GUI wheich the user can control the whole program.
However I need my program accesabel from the net.
Hence I need my GUI on the internet and once a user accesses the GUI from the internet the user can use the application.
How do I do this.
Do I need to put the whole application on the net or just the GUI and the user can use it provided the user has the full code on there hardrive and JCreator.
Ok am am not exerienced in this field.
So can anyone tellme where to begin what topics I sould be reading. And also what is the best approach to take?
Can some one start me up please?
Yours respectfully Avin Sinanan


yours respectfully<br />Avin Sinanan
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Hello Avin,
I use JCreator also. JCreator is an IDE (integrated development environment) used to help develop a java project - code, compile, debug, etc. Java programs (applets or applications) developed using JCreator are simply Java programs. If it's an applet, make a web page and embed the applet in the web page. An example web (html) page that includes an applet tag:

If it's a stand-alone application, the user can download it and run it provided they are running a JVM at least as recent as the one you developed for.
If you'd like more specific advice, just ask.
Good Luck.
[ March 15, 2002: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Avin Sinanan
Ranch Hand

Joined: Nov 07, 2001
Posts: 109
Hey Dirk.
Yep I think I'll need more specific info.
But I guess I didn't explain exatcly what am tring to do.
So heres a better explantion. Oh by the way am reallynew to this applet thing and interfacing with the internet.So if my explantions and concepts are worng please let me know ok.
So let me start of by saying the application I have at the momnent has two parts - A GUI and fuctionality.
And the application on the whole is about 30MB.
So thats my first problem. Its HUGE.
Lets say for simplicity that I had made a an application with a simple GUI. Lets say it had one button and one text field.
Lets say I had a web site. Lets say its
www.myprogram.com
So a person types in the address and walla! this frame comes up with one button and a Text field.
The user is to type in a number into the text field and then press the button. When the button is pressed the number is put into the rest of the program (the 20 or 30 MB program) and a answer is genetated and dsiplayed on a JDialog.
How do I approach this?
Do I upload the full 30 MB on the net? Does the uer have to have JCreator on his/her computer? Of can the application be precomplied and then uploaded to the net?
Thnaks again Dirk.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I don't know exactly what you are doing. I can think of no reason why the user would have to have JCreator. I would not want the user downloading 30MB - unless absolutely necessary (and it's probably not).
It looks like you want a server-side program to do the calculations and just let the user interact with a GUI through an applet (probably).
Is your Java program alone the full 30MB? Perhaps you want to look into JSP and locating a server that will host JSP.
Good Luck.
Avin Sinanan
Ranch Hand

Joined: Nov 07, 2001
Posts: 109
hey Dirk,
What you said -->
"It looks like you want a server-side program to do the calculations and just let the user interact with a GUI through an applet (probably). "
is exactly what I want yes! Thanks for putting it in a nutshell.. thats sounds logical!
So where do i start?
Thanks again
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make an application accessable from the net
 
Similar Threads
Help creating a sever- side program?
interoperability between Java and .net system
Database access for orinary people, ordinary PCs
Java or .Net for Windows Desktop Apps?
How to get user input?