Solved

how to import game dynamically to server?

Posted on 2004-09-13
7
178 Views
Last Modified: 2010-03-31
Hi, everybody

Currently, I'm having to make a project about game server. My idea is My app can import game from package from client to server but server not need restart. Can my idea implement. If ok , please help me detail
0
Comment
Question by:software222
7 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 12042753
If you are talking about dynamic class downloading then yes, it can be done, use RMI: http://java.sun.com/developer/onlineTraining/rmi/RMI.html
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12042761
Didnt get the problem properly.
But it seems that you need to start a client.
For that you can make the application a web start application and clients can download it from the server.
0
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 12042762
For not restarting the server you will also need to implement your own classloader: http://www-106.ibm.com/developerworks/edu/j-dw-javaclass-i.html
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 18

Expert Comment

by:armoghan
ID: 12042764
client can be an applet based as well and you can do the applet servlet communication to run the game
0
 
LVL 9

Expert Comment

by:Venci75
ID: 12043257
It is not needed to implement own classloader. You can simply use the URLClassLoader class.
0
 

Author Comment

by:software222
ID: 12054874
My game server include 2 actor: admin, gamer. All use Client 's GUI. Server hasn't GUI, it must start first.
My Application is  not applet,web, not RMI,it use socket and serversocket, TCP/IP. Client and Server exchange information use messages. Client's Admins can send  game_package from client's computer to server's computer. Server automatically identify client's package and (load)execute it.When Gamer's Client start, it must know there is a new game on server. When gamer chose a game, client automatically download class files for that game( for execute in client) and automatically execute it.  And i think i like "classloader"
0
 
LVL 35

Expert Comment

by:girionis
ID: 12073404
:)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 79
Printing to a specific printer tray (HP 806dn printer) 3 83
Eclipse IDE - Cannot copy/paste from console output 8 132
eclipse argument 14 53
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now