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.


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

Results 1 to 3 of 3

Thread: How can i make a desktop java apps run only on my website?

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Thanked 0 Times in 0 Posts

    Default How can i make a desktop java apps run only on my website?

    I want to host a desktop java application that was written by me to be running only on my website even though I have succeeded now in running it on a window server "so i can give anybody the link (path)" but I want to place the apps on my website. Or is there any code that can be embedded in a java program that one could use to prevent or stops a java program from being able to save or download ? Thank you.

  2. #2
    Join Date
    Oct 2013
    Saint-Petersburg, Russia
    Thanked 5 Times in 5 Posts

    Default Re: How can i make a desktop java apps run only on my website?

    Shortly speaking you can not. Desktop applications are too different from web-based ones. You need to study servlets, JSPs, tomcat and many other things.

    Easiest way however is to use Vaadin framework - it allows write web-applications almost like you write Swing-based apps. However you'll still need java hosting and tomcat to deploy such application.

  3. #3
    Forum VIP
    Join Date
    Jul 2010
    Thanked 329 Times in 305 Posts

    Default Re: How can i make a desktop java apps run only on my website?

    Perhaps I don't understand your question, but would an applet suffice?

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

Similar Threads

  1. Replies: 1
    Last Post: August 23rd, 2013, 06:33 AM
  2. How i can make chat desktop application in java??
    By dipupatel76 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 10th, 2013, 01:04 PM
  3. hiring java programmer to make website widget
    By appking111 in forum Paid Java Projects
    Replies: 0
    Last Post: November 2nd, 2012, 07:38 AM
  4. Beginner - how to make .java file run!
    By javahelp2012 in forum JDBC & Databases
    Replies: 3
    Last Post: March 27th, 2012, 01:34 PM
  5. HOW TO MAKE a TIC TAC TOE GAME in Net beans as a desktop application ?
    By jude_pinas in forum Object Oriented Programming
    Replies: 2
    Last Post: September 26th, 2011, 12:51 AM