Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Java site

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java site

    Is it possible to have a series of we pages in a .zip file that can be unzipped on any desktop and run as a java file?

    Or does this Ned to be done in a applet?


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 697 Times in 679 Posts

    Default Re: Java site

    What kind of pages? JSPs would be run in a server container which may not be available on every desktop. Plain web pages could be run in a web browser. What Java content would the pages have? With security issues, the Java Applet as a vehicle to share functioning code with others is essentially dead to all except those willing to pay to sign their applets, apparently not cheap.

  3. #3
    Junior Member
    Join Date
    Aug 2014
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java site

    What I want to be able to do is create a page / form which interacts with a database.
    ASP & PHP are both server side I was wondering if or how I could use JAVA at client side or have what it needs deployed with the zip

  4. #4
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: Java site

    Write an Applet.

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,309
    Thanks
    53
    Thanked 2,391 Times in 2,345 Posts

    Default Re: Java site

    Instead of a zip file, use a jar file which has the same structure. Its contents can be accessed by the java program to be executed.
    If you don't understand my answer, don't ignore it, ask a question.

  6. #6
    Junior Member
    Join Date
    Aug 2014
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java site

    Quote Originally Posted by Cornix View Post
    Write an Applet.
    Do I need to do anything with individual machines to run this

    Class.forName("com.microsoft.sqlserver.jdbc.SQLSer verDriver");

Similar Threads

  1. Replies: 2
    Last Post: September 12th, 2014, 11:10 AM
  2. Accessing java application without adding site to java security
    By balaskandhan in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 12th, 2014, 09:21 AM
  3. Site to site communication (applet)
    By sanyi007 in forum Java Theory & Questions
    Replies: 0
    Last Post: May 16th, 2010, 07:19 AM