Java Socket Server

Designing a very basic socket server in Java. I will be used for a multi user flash game. I need help with the frame work. I'll say in advance I know very little java, but its similar enough to AS3 that I can read, or figure out already done code. If you bid on this project, you must at the least be very confortable with java and servers. As3 is a plus.

Anyway it needs to listen for connections, and move connections to a thread (this may or many not be the most efficient way of handling a server for 2-3k people)

These initial connections will need to login in flash, so flash will send the command login, and the server should check the DB to validate. If it does, it needs to in one way or another separate and list whos logged into the server.

All data should be logged to a DB, or a daily text or xml file.

Named connected users should be able to interact with each other. IE send messages to, mail to, etc, live chat with.

I would like to also have someway of only sending data to each client that is necessary. To make things faster client side, the client only loads what it can see. So there needs to be a way to send only applicable data to clients. example) an enemy moves his units somewhere on map. If a client besides the one moving them is looking at that spot on the map, they should get a command in flash stating to move things. But if nobody is viewing that spot, a function in java should be processed, DB modified, but no clients contacted.

If you have any questions let me know. Im just looking for a basic frame work, not all of these features may be required initially, but you have enough info to know what kind of server im looking for in the end.

If you have any suggestions on how to do things better than I suggested, include in PM. Bid outside of range if needed, but explain why.

Okay, based on a lot of conversation im having with bidders, what im asking for is a bit different than described. - Thanks for all the guidance.

- I need a framework for a game server that can access a db. Users will connect to a persistent game via a socket, and it should be able to hold from 1-500 persons at any given time. But should be scalable to be able to handle up to 2000k at any given time.

-Basic requirements:
*Ability for users to connect via socket, login, server validate login and add to a list of connected users.
*Ability to make sure if its threaded, threads cant interfere with one another. Although many have suggested NIO.
*Ability for clients to be able to interact with one another be it by chat, or sending commands to server that will affect other players (by modifying db).
*Admin commands to disconnect ban etc users.
*Session logging, I want to know when users are logged in the most during the day and week, and to get a basic overview of functions they ran when logged in. How long they stayed in etc.

Adv Preferred Requirements:
*Ability for the server to send only relevant to clients. Meaning that client doesn't need to receive data that doesn't directly affect him, or he isn't close enough to see. (players will be on a map, so if his (x,y) coordinates are close enough, he needs to receive data. IE) If another client moves a unit, all those near that (x,y) need to get data showing the move.
*Ability for the server to run functions on the DB at specific times of day. IE) Add money to clients game account.
**Ability (if possible) for the server to run attack commands. IE) If a player moves units across map, and while they are walking there, see an enemy, the server will make them auto attack the enemy, even though the client is logged out of the game.

If you need to readjust your bid pm me. If you need to remove your bid because this is outside your scope of knowledge please do so.

NOTE: CLIENT IS FASH 9. CLIENT LANGUAGE IS AS3 (adds a zero byte and n, server must add zero byte). Protocol is flash can be anything from bytes, strings, xml etc, its up to you.

Skills: Java

See more: java socket server, as3 java socket, java socket , java socket server framework, java socket login, socket server java, java socket game, multi socket server java, java socket servers, java socket listener performance optimization, java socket as3, java multi socket server, java socket framework, fash socket server, java server socket, server socket java, java socket server implementation, java socket server design, as3 socket server, java socket time server, project socket java, xml socket server java, what is java and why do i need it, socket login, n .game-server

About the Employer:
( 8 reviews ) Ocoee, United States

Project ID: #247932

16 freelancers are bidding on average $208 for this job


Hi, please check your PMB for details. Thanks

$250 USD in 7 days
(5 Reviews)

Details in PM

$250 USD in 5 days
(2 Reviews)

Hi, I'm an experienced java developer, recently i done similar project here successfully, you can check the feedback. please see the PMB for more details.

$220 USD in 7 days
(1 Review)

Hello, I'm Sun Java Certified Programmer with 8+ of experience. I'm interested in your project and ready to start. Regards, pacejob

$250 USD in 3 days
(1 Review)

Hello, I'm 5 years experienced java programming. I'm also experienced o socket programming. I just finished socket programming for ATM machine. In this program client I creted server and client sockets from this serv More

$75 USD in 5 days
(1 Review)

Hi, I'm java developer with 5+ programming expirience. I can assist you with your project.

$250 USD in 10 days
(0 Reviews)

Hi, I am java developer, and master student at computer science, I can assist you in this project.

$200 USD in 8 days
(0 Reviews)

I have 6 yrs of experience in Java and 3 yrs in C. I have done lot of socket programming and am well versed with it.

$250 USD in 10 days
(0 Reviews)

Please look into PM

$250 USD in 10 days
(0 Reviews)

We have talented group of developers. You will never regret assigning this project to us. For our portfolio please visit us at [login to view URL]

$250 USD in 3 days
(0 Reviews)

Hi i can create a multi client server architecture with all the exception handling and resource optimization. Logging is not an issue. Kindly contact me as early as possible and i will be happy to start with it.

$175 USD in 4 days
(0 Reviews)

I've implemented thread pools & connection pools.

$200 USD in 2 days
(0 Reviews)

We are a group of Java experts from India. We would like to take this up

$250 USD in 5 days
(0 Reviews)

Hi, I'm an experienced java developer, more pm!

$150 USD in 5 days
(0 Reviews)

I'm expert in this kind of application

$100 USD in 6 days
(0 Reviews)

Dear Sir, Your requirements are quite straight-forward. I clearly understood what you want. I can do it ASAP. I have developed socket servers and the code in my hand. I am new in this site but have similar experie More

$200 USD in 7 days
(0 Reviews)