gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Question relating to DS <> PC communication [Renamed]

#89195 - code-g - Fri Jun 23, 2006 2:38 pm

Is it possible to program a server in java and the DS would recive it without a client program?
_________________
Visit Ds Life at http://ds-life.blogspot.com/

#89209 - JaJa - Fri Jun 23, 2006 4:17 pm

...
You need a client to recieve from a server.
It is possible to program a server in Java.
_________________
LAWL HOOGE
My Blog

#89223 - code-g - Fri Jun 23, 2006 5:19 pm

Can java code be run on the ds
_________________
Visit Ds Life at http://ds-life.blogspot.com/

#89228 - MaHe - Fri Jun 23, 2006 5:27 pm

No.
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#89388 - silent_code - Sat Jun 24, 2006 5:48 pm

some java basics for newcomers (this is REALLY basic, so don't shoot me):

java is a bytecode interpreted language, that's why you need the runtime environment... ;)

it has a virtual machine that is like a pc inside your pc that is able to use your hardware, but it's cpu is simulated within your pc. so java bytecode is like assembler for a processor.

every processor type has its own set of instructions (the assembler) and thus you won't be able to run code that a processor doesn't support.

now, you can program a client for nds, but not in java. you'll have to do it in c/c++ or assembler (for the arm family that's inside the nds). if there was a runtime for the nds some java programms could be written for it. but i doubt it will be kick ass fast. ;) (note: i like java and i have no problem with it's speed)

PS: i know of no server application that doesn't REQUIRE a client!!! this is nonesense!

#89395 - code-g - Sat Jun 24, 2006 6:10 pm

Im very well when it comes to programming java... I know that you can program server apps in java. Is there any possiblty of a JVM for the ds?
_________________
Visit Ds Life at http://ds-life.blogspot.com/

#89725 - silent_code - Mon Jun 26, 2006 2:14 pm

as i said, i don't see it coming. as i remember there was a guy who tried to make a gba jvm, but i don't know how it worked out. i understand that there are some (or one) project that tries to implement a jvm, maybe even for nds. but i don't have any info on it and though i like java (i'm using it often) i'm not interested in running it on a nds. as i remember the gba jvm was likited to console stuff... and only basic programs. try to port your programmer mind to c++ for nds, it isn't that hard, as the syntax isn't too different (though the programming idiology and implementation techniques differ here and there).

i know that there are a lot of java classes, that aren't "natively" available in c++, but java uses some standards for communication, so it should be possible to communicate this the server via wifi. think of how to interface servelets ;) (not necessary how it should be done, but it shows a way of communication outside the java language).

greets