i am developing two player game using applet.
my Question is:-
i want to start "server.java" file when , when first user request the page containing game applet from my website. (i am joining this user to server using socket).
How can i achieve this..?

if i run server.java and carrom.java(two times) , it works perfectly. i want to do same in website.