This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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
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 ]
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.
Joined: Dec 10, 2001
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.
Joined: Nov 07, 2001
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