Lukket

simple java send array with hashmap?

need to send down an array from server to client:

Client Side:

Map params = new HashMap();

[url removed, login to view]("username_entered", Kiosk.username_entered);

Result result = [url removed, login to view]("GetRegTerminal", params);

if ([url removed, login to view]())

{

List list = (List) [url removed, login to view]().get("array");

Map datamap = (Map) [url removed, login to view](0);

usertype = [url removed, login to view]([url removed, login to view]("usertype").toString()).intValue();

shopadmin_id = [url removed, login to view]([url removed, login to view]("shopadmin_id").toString()).intValue();

admin_id = [url removed, login to view]([url removed, login to view]("admin_id").toString()).intValue();

user_id = [url removed, login to view]([url removed, login to view]("user_id").toString()).intValue();

?????? shopstring[0]=[url removed, login to view]("shopname").toString(); ??????

} else

{

[url removed, login to view]("error side_E1 settime: " + ([url removed, login to view]()==Config.CLIENT_ERROR_SIDE?"client side":"server side"));

[url removed, login to view]("error : " + [url removed, login to view]());

[url removed, login to view]("error : " + [url removed, login to view]());

}

Server Side:

Result result = new Result();

List array = new ArrayList();

Map map = new HashMap();

[url removed, login to view]("usertype", usertype);

[url removed, login to view]("shopadmin_id", shopadmin_id);

[url removed, login to view]("admin_id", admin_id);

[url removed, login to view]("user_id", user_id);

????? [url removed, login to view]("shopname",shopstring[0]); ???? how to send array

[url removed, login to view](map);

if ([url removed, login to view]() == 0) {

[url removed, login to view](false);

[url removed, login to view]("no records found !");

} else {

[url removed, login to view](true);

[url removed, login to view]().put("array", array);

}

Færdigheder: Java

Se mere: system err println, system err, java system err, err java, callcommand, java simple array, simple java server, simple java client server, simple java server client, map array java, server send client, simple list java, list java array, simple java kiosk, server java client, java array, java send, java map, veroca01, simple java list, kiosk add, java simple send receive, map server client java, getstatus, java error

Om arbejdsgiveren:
( 162 bedømmelser ) Steyr, Austria

Projekt-ID: #4083789

27 freelancere byder i gennemsnit $46 for dette job

IMSeriousBidder

Hello, I know how to send array to client let me help you :) Thanks Bing

$60 USD in 0 dage
(71 bedømmelser)
6.8
srinichal

I like to discuss further

$80 USD in 5 dage
(17 bedømmelser)
5.3
danmoliver

Hi, I have sent arrays from servers to clients and vice-versa plenty of times. See private message for more details. Thanks, Dan

$50 USD in 2 dage
(8 bedømmelser)
4.8
markokovacevic

Hi, Is using a RESTFul web service an option? The only requirement would be having an open port 80 (HTTP), server-side. Regards, Marko

$80 USD på 1 dag
(2 bedømmelser)
4.1
DenialWang

Details to be clarified.

$30 USD på 1 dag
(5 bedømmelser)
4.1
FredrikWendt

Hi! Since you have Java on both sides, you can simply Serialize an object and send it over. If not, there are various ways to do this and what's right depends on your situation and code base requirements.

$50 USD in 0 dage
(1 bedømmelse)
4.0
manhpham

Hi there. I am senior developer from Vietnam. I have been working on this site for 2 years. Please refer feedbacks from my customers. About your project, I read your requirements and very interested in your post. D Mere

$50 USD på 1 dag
(13 bedømmelser)
4.0
oanagoge

Why not just serialize it and send the whole thing over like that? Or if you want something more optimal from a bandwidth perspective, you can just convert it to binary data and send the whole chunk and reassemble it o Mere

$30 USD på 1 dag
(10 bedømmelser)
4.0
tientaiTA

Let me help you. Please check PMB!

$50 USD på 1 dag
(12 bedømmelser)
3.7
abanipatra

Please check PM for more details.

$30 USD in 2 dage
(11 bedømmelser)
3.3
osnofasl

Good evening. I am computer engineer using Java since I've start studying, so I am more than capable of doing it faster. If you wish to, I am able and ready. Best regards,

$30 USD in 2 dage
(1 bedømmelse)
3.3
vietnamboy2

Let expert do it. Please check PMB

$30 USD på 1 dag
(4 bedømmelser)
2.8
chamanklalwani

I have previously developed Client/Server application in [url removed, login to view] Check PMB

$35 USD på 1 dag
(2 bedømmelser)
2.8
hoangtriTA

Hi sir. I am ready to help you. Please check your PM.

$40 USD på 1 dag
(1 bedømmelse)
2.3
sanjaykumargupta

i can do it.

$30 USD på 1 dag
(2 bedømmelser)
2.0
atopcoder

I can help you sending this array from client to server an vice versa with cheapest price, and within a short time limit.

$50 USD på 1 dag
(2 bedømmelser)
1.8
jaguy

Hi Friend, java skilled guy here. Please check attachment resume on PM for details. Thanks.

$100 USD på 1 dag
(1 bedømmelse)
1.4
ananddave

I am interested in this project.

$30 USD på 1 dag
(1 bedømmelse)
1.4
codeware1

Hello Sir, Hope you are well and doing good!!! we are eager to work with [url removed, login to view] are ready to start the project right away. Codeware is a website development company providing professional website design, website develo Mere

$250 USD in 7 dage
(1 bedømmelse)
1.4
bigaims

hi, its done

$30 USD på 1 dag
(1 bedømmelse)
1.4