Click to See Complete Forum and Search --> : Basics


Indian_Techie
September 27th, 2000, 07:34 AM
Hi!

I am an experienced programmer in Win32API, VC++ and VB. I am totally new to java. I just want to develop a web site. What softwares should I use to develop and please give me a bit idea on the environment since I never worked on it. In sun java what would be the final out put file like it is exe, dll in Win32API. How can I run it. Is it possible to test my java programes off line? i.e., with out internet connection (by setting a virtual server) If so How? I would be very thankful if any one could help me in this regard.

Thanks in advance...

John

weaver
September 27th, 2000, 08:03 AM
To do a web site you don't really need to use java. You can program java applications or applets with the JDK from sun, and a simple text editor. In java, the source files for code are .java files, and the final product are .class files.

Say you have a source file called MyJava.java and you want to compile and run it. You would type in the following:

javac MyJava.java

Then

java MyJava

This is only for applications though. If you want to do an applet (which are used in webpages) you would run it by either opening a webpage with the applet embeded in it in your browser, or in appletviewer with the following statement:

appletviewer MyJava.html


-------------------------------------------
weaver
icq# 64665116
Please rate this post.
http://weaver.x7.htmlplanet.com

Jprisco
September 28th, 2000, 07:01 PM
Like weaver said you may not need java at all in creating a websight. That of course depends on what your plans are though... Again you can use applets to fullfill most needs you can also use sevlets which I myself take quite a liking to..
To use servlets however you need to find an adequate host and servlet hosting is not too cheap!!! As for software Id suggest JRun by allaire, its very nice application for testing java servlets and setting up a nice websight..
To date my favorite java IDE is Visual Age for Java 3.5... It has some nice features but I have to admit it does have its flaws... This IDE also comes with WebSphere....
hopefully this is of some help

52901368