Results 1 to 2 of 2
Thread: New to Networking
- 02-26-2010, 05:40 AM #1Member
- Join Date
- Jan 2010
- Rep Power
New to Networking
I have a card game that I am building and want to make multi-player over the internet. I have a lot of code written so far, but I want to start working on the networking part of it.
I've been doing a lot of reading and from what I can understand, I have to make the program an Applet in a web page. Then, people can come to my website, start the Applet and it will run on their browser. Is this correct?
I don't have a web page yet. I see that web hosting services offer different features, such as FrontPage server extensions, PHP, CGI, ASP, MySQL databases, etc. My program reads and writes to 3 different Excel Spreadsheets (possibly more) and uses a lot of different images (jpeg's and png's) via JLabels.
Are there any special features I will need from my web host?
Any suggestions or feedback to find a good free web host that fits my needs and doesn't have a lot of advertisements, if possible?
- 03-06-2010, 02:49 AM #2Senior Member
- Join Date
- Dec 2009
- Belgrade, Serbia
- Rep Power
Most free hosting are LAMP (Linux Apache MySQL PHP) oriented and offer no
java servlet container.
But if you gonna use Applets you dont even need it.
Simply create some Java applet (avoid using packages for simplicity)
and some html page to call it.
Then copy both html file and java *.class file to your site at same dir.
Run applet through any java enabled browser,
by URL that points to your html file.
I use this free hosting
Free Hosting and Free Web Hosting from the World's best Free Hosting provider x10Hosting
Here's example of my simple java applet, no commercials on page :) :
Insert title here
View page src to see mine a.html file
that contains BasicApplet.class in same dir
<applet code="BasicApplet" width="150" height="200"> </applet>
Problem for you to solve:
An applet has no access to local system resources unless it is specifically granted the access. Access permission is granted with a policy file.
More about it here:
Observe Applet Restrictions (The Java™ Tutorials > Security Features in Java SE > Quick Tour of Controlling Applets)
- By Psyclone in forum AWT / SwingReplies: 1Last Post: 02-26-2010, 05:41 AM
- By rp181 in forum NetworkingReplies: 4Last Post: 09-20-2009, 05:09 PM
- By thangavel14 in forum NetworkingReplies: 3Last Post: 07-30-2009, 01:47 AM
- By javaNoob2 in forum NetworkingReplies: 1Last Post: 03-16-2009, 07:47 AM
- By Ambuscade in forum NetworkingReplies: 21Last Post: 11-05-2008, 04:12 AM