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 2 of 2

Thread: Posting an application online for research project

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

    Default Posting an application online for research project

    Is it possible to run a regular Java .jar on a website. I created a Java application for a research project and now my professor wants me to post it online. If it is not possible to post a .jar directly on a website, then what is the best way to develop a Java web application?

    I researched a little and found that you need to create an applet to post on a website. Is there anyway to directly convert my application to an applet, or will I have to completely rewrite the program?


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Posting an application online for research project

    post it online
    Does the professor expect the app to be downloaded and then executed as an app on each client's PC (client would need the JRE)
    or does he/she want an online app(ie html with applet in a jar) to run in a client's browser?

    If as an applet, the app will have to be rewritten to work as an applet.
    There is no automatic conversion of app to applet.
    An applet is driven from a browser by the browser calling certain methods in the applet: init() and start(). The browser does NOT call the main() method. The constructor is called as usual.
    The applet is given a spot in the browser's window to display in. The applet extends panel. Your app should be converted to build its GUI in a panel and then have that added to a frame for the app and to the applet's panel for the applet.

Similar Threads

  1. An online source offers project analysis
    By talha06 in forum The Cafe
    Replies: 0
    Last Post: June 20th, 2010, 12:49 PM
  2. need programmer for my online call center
    By erinbasim in forum Paid Java Projects
    Replies: 6
    Last Post: March 30th, 2010, 01:45 AM
  3. Please help me with a research question
    By Tom in forum The Cafe
    Replies: 4
    Last Post: October 31st, 2009, 02:22 PM