Ditutup

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);

}

Kemahiran: Java

Lihat lebih lanjut: system.err.println java, 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, simple dimensional array commission java, list java array, simple java kiosk, server java client, kiosk java, java map map, java array, java send, java map, veroca01, simple java list, kiosk add

Tentang Majikan:
( 162 ulasan ) Steyr, Austria

ID Projek: #4083789

27 pekerja bebas membida secara purata $46 untuk pekerjaan ini

IMSeriousBidder

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

$60 USD dalam 0 hari
(71 Ulasan)
6.8
srinichal

I like to discuss further

$80 USD dalam 5 hari
(17 Ulasan)
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 dalam 2 hari
(8 Ulasan)
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 dalam sehari
(2 Ulasan)
4.1
DenialWang

Details to be clarified.

$30 USD dalam sehari
(5 Ulasan)
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 dalam 0 hari
(1 Ulasan)
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 Lagi

$50 USD dalam sehari
(13 Ulasan)
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 Lagi

$30 USD dalam sehari
(10 Ulasan)
4.0
tientaiTA

Let me help you. Please check PMB!

$50 USD dalam sehari
(12 Ulasan)
3.7
abanipatra

Please check PM for more details.

$30 USD dalam 2 hari
(11 Ulasan)
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 dalam 2 hari
(1 Ulasan)
3.3
vietnamboy2

Let expert do it. Please check PMB

$30 USD dalam sehari
(4 Ulasan)
2.8
chamanklalwani

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

$35 USD dalam sehari
(2 Ulasan)
2.8
hoangtriTA

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

$40 USD dalam sehari
(1 Ulasan)
2.3
sanjaykumargupta

i can do it.

$30 USD dalam sehari
(2 Ulasan)
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 dalam sehari
(2 Ulasan)
1.8
jaguy

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

$100 USD dalam sehari
(1 Ulasan)
1.4
ananddave

I am interested in this project.

$30 USD dalam sehari
(1 Ulasan)
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 Lagi

$250 USD dalam 7 hari
(1 Ulasan)
1.4
bigaims

hi, its done

$30 USD dalam sehari
(1 Ulasan)
1.4