CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Basics

  1. #1
    Join Date
    Sep 2000
    Location
    Munich (Germany)
    Posts
    764

    Basics

    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

    Do you develop for PocketPCs? Try this tool for CeDatabases

    CeDatabase Manager 2.0

  2. #2
    Join Date
    Jan 2000
    Location
    Canada
    Posts
    249

    Re: Basics

    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

  3. #3
    Join Date
    Apr 2000
    Location
    NJ
    Posts
    123

    Re: Basics

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured