PDA

Click to See Complete Forum and Search --> : JS limits?


Evan
Jan 27th, 2004, 02:22 PM
im thinking about making a new project in JS, this application will need to write to a database. Can java do that?

Im not really sure what the limits of it are. Im not good with it.

Evan
Jan 27th, 2004, 02:25 PM
The first thing I will want to do is find a complete java applet, and put it on the website to make sure i can get it to work.. and start playing and see if I can do stuff with java.

Can anyone point me somewhere that I could find a applet to do this?

bsw2112
Jan 27th, 2004, 02:53 PM
this will be a good place to begin you research

http://java.sun.com/learning/tutorial/index.html

and yes JAVA can do all that stuff you need
but it won't be an applet...
it will be JSP (that is if you want this to be on the net)

bsw

Travis G
Jan 27th, 2004, 03:21 PM
Evan, you must be an idiot.

For the second time today:

JavaScript is in no way related to Java!!!

There is a seperate Java forum for questions like these. This forum is for questions about JavaScript.

And just to keep you from getting more confused:

JSP = Java Server Pages (Again not related to JavaScript)

Evan
Jan 28th, 2004, 12:05 PM
eh. thanks for the help bsw2112

vbNeo
Jan 29th, 2004, 01:08 PM
Originally posted by Travis G
Evan, you must be an idiot.

For the second time today:

JavaScript is in no way related to Java!!!

There is a seperate Java forum for questions like these. This forum is for questions about JavaScript.

And just to keep you from getting more confused:

JSP = Java Server Pages (Again not related to JavaScript)

No, You are an idiot, very much so, because they are related - JavaScript uses the Java syntax for clientside scripting...

And I think he wanted it in JavaScript, and not any Server Side Language

Evan
Jan 29th, 2004, 02:40 PM
Go neo.. Go neo :eek:

bsw2112
Jan 29th, 2004, 07:05 PM
here are two links that talk about some of the differences
between the two J's

http://www.geocities.com/anatole_m/JavaScript/javacompair.html
http://www.dannyg.com/ref/javavsjavascript.html

Kasracer
Jan 29th, 2004, 07:16 PM
Originally posted by vbNeo
No, You are an idiot, very much so, because they are related - JavaScript uses the Java syntax for clientside scripting...

And I think he wanted it in JavaScript, and not any Server Side Language The syntax is similar, but that is pretty much where the simularities stop. He mentioned java script, but then mentioned an applet. Applet != Script

vbNeo
Jan 29th, 2004, 08:41 PM
Originally posted by kasracer
The syntax is similar, but that is pretty much where the simularities stop. He mentioned java script, but then mentioned an applet. Applet != Script

Yeah, I know - I just wanted to get back to the guy for calling him an idiot, and besides, that is a major similarity...

Travis G
Jan 29th, 2004, 08:58 PM
Originally posted by vbNeo
No, You are an idiot, very much so, because they are related - JavaScript uses the Java syntax for clientside scripting...

And I think he wanted it in JavaScript, and not any Server Side Language

It was the second time in the same day that I pointed out to Evan that JavaScript != Java.

But to educate you:

JavaScript gets its syntax from C++ (from C from BCPL yadda yadda). It was orignally called LiveScript when it was being developed.

Java gets its syntax from C++ (from yadda yadda).

Their syntaxes are similar because they come from the same place, not because one comes from the other. Netscape changed the name of LiveScript to capitalize on Java's recognition and purpose (write once, anywhere).

Netscape didn't change the name of LiveConnect though, and I don't know why.

Rarely is there the need to write to a DB with client-side scripting, so he either wants server-side JavaScript (not really worth it, IMO) or, as someone pointed out, a Java Applet (which could set up a connection back and do magic, yadda yadda).

Kasracer
Jan 29th, 2004, 09:11 PM
Originally posted by vbNeo
Yeah, I know - I just wanted to get back to the guy for calling him an idiot, and besides, that is a major similarity... That isn't a major similarity, I'd say it is minor compared to the other differences. Also, I am sure Evan can defend himself if he wants to.

How do you know he isn't an idiot? I'm not trying to call him one, but you have no idea who he is or how smart he is.

Travis G
Jan 29th, 2004, 09:40 PM
Originally posted by kasracer Also, I am sure Evan can defend himself if he wants to.

Besides, I've been known to be wrong. Evan may not be an idiot. In either case, he may be embarrassed to have you defending him, vbNeo.

People change, Evan may be an idiot, or he may have been, and simply got better. I don't know, I don't care. The point remains, JavaScript != Java (and if you really want to get into it, JScript is not JavaScript is not Java).

vbNeo
Jan 30th, 2004, 03:04 AM
Originally posted by kasracer
That isn't a major similarity, I'd say it is minor compared to the other differences. Also, I am sure Evan can defend himself if he wants to.

How do you know he isn't an idiot? I'm not trying to call him one, but you have no idea who he is or how smart he is.


I've been working with the guy for about 1½ year now so yes, I do ...

vbNeo
Jan 30th, 2004, 03:05 AM
Originally posted by Travis G
Besides, I've been known to be wrong. Evan may not be an idiot. In either case, he may be embarrassed to have you defending him, vbNeo.

People change, Evan may be an idiot, or he may have been, and simply got better. I don't know, I don't care. The point remains, JavaScript != Java (and if you really want to get into it, JScript is not JavaScript is not Java).

I still think there are striking similarities... The String object for example... I'm not that much into C++ but I'm pretty far with Java right now...

CornedBee
Jan 30th, 2004, 08:52 AM
The String object has been modeled in some places after Java's String class, but only in some. There's differences in the available methods, and after all, you don't have all that much choice.

Besides, PHP was modeled after Perl, yet there never are any postings in the wrong forum with that. Why's that?

The real problem are the similar names, which confuses people. But as Travis pointed out, we already told him once that day that JavaScript != Java.

vbNeo
Jan 30th, 2004, 09:45 AM
Originally posted by CornedBee
The real problem are the similar names, which confuses people. But as Travis pointed out, we already told him once that day that JavaScript != Java.

Originally posted by vbNeoI just wanted to get back to the guy for calling him an idiot

And I still stnad by the fact that I'm NOT a badger(or a kitten)!

PS: I'm actually a seaturtle, but don't tell the government!

bsw2112
Jan 30th, 2004, 10:42 AM
Obviously the similar names was a good marketing move
bsw

The Hobo
Jan 30th, 2004, 11:05 AM
Originally posted by vbNeo
And I think he wanted it in JavaScript, and not any Server Side Language

He wants to connect to a database. I'm sure that would require a server-side language.

vbNeo
Jan 30th, 2004, 11:42 AM
Originally posted by The Hobo
He wants to connect to a database. I'm sure that would require a server-side language.

Many people doesn't realize that(although it is rather logical)

Evan
Jan 30th, 2004, 12:03 PM
Originally posted by vbNeo
Yeah, I know - I just wanted to get back to the guy for calling him an idiot, and besides, that is a major similarity...

yes it is

Evan
Jan 30th, 2004, 12:05 PM
Originally posted by bsw2112
this will be a good place to begin you research

http://java.sun.com/learning/tutorial/index.html

and yes JAVA can do all that stuff you need
but it won't be an applet...
it will be JSP (that is if you want this to be on the net)

bsw

oh ok thanks

Evan
Jan 30th, 2004, 12:05 PM
Originally posted by Travis G
Evan, you must be an idiot.

For the second time today:

JavaScript is in no way related to Java!!!

There is a seperate Java forum for questions like these. This forum is for questions about JavaScript.

And just to keep you from getting more confused:

JSP = Java Server Pages (Again not related to JavaScript)

I didnt ever mean Java Applet.. was a typo.. oh well

Evan
Jan 30th, 2004, 12:05 PM
Originally posted by bsw2112
here are two links that talk about some of the differences
between the two J's

http://www.geocities.com/anatole_m/JavaScript/javacompair.html
http://www.dannyg.com/ref/javavsjavascript.html

Thanks.. thats cool

Evan
Jan 30th, 2004, 12:05 PM
Originally posted by Travis G
It was the second time in the same day that I pointed out to Evan that JavaScript != Java.

But to educate you:

JavaScript gets its syntax from C++ (from C from BCPL yadda yadda). It was orignally called LiveScript when it was being developed.

Java gets its syntax from C++ (from yadda yadda).

Their syntaxes are similar because they come from the same place, not because one comes from the other. Netscape changed the name of LiveScript to capitalize on Java's recognition and purpose (write once, anywhere).

Netscape didn't change the name of LiveConnect though, and I don't know why.

Rarely is there the need to write to a DB with client-side scripting, so he either wants server-side JavaScript (not really worth it, IMO) or, as someone pointed out, a Java Applet (which could set up a connection back and do magic, yadda yadda).

Yep yep.. true

Evan
Jan 30th, 2004, 12:06 PM
Originally posted by vbNeo
I still think there are striking similarities... The String object for example... I'm not that much into C++ but I'm pretty far with Java right now...

Argeed

Evan
Jan 30th, 2004, 12:06 PM
Originally posted by CornedBee
The String object has been modeled in some places after Java's String class, but only in some. There's differences in the available methods, and after all, you don't have all that much choice.

Besides, PHP was modeled after Perl, yet there never are any postings in the wrong forum with that. Why's that?

The real problem are the similar names, which confuses people. But as Travis pointed out, we already told him once that day that JavaScript != Java.

PHP after PERL? You sure?

Evan
Jan 30th, 2004, 12:06 PM
Originally posted by bsw2112
Obviously the similar names was a good marketing move
bsw

good point

Kasracer
Jan 30th, 2004, 12:14 PM
How many damn times do you need to reply?! Geeze and I thought I was bad

Evan
Jan 30th, 2004, 12:18 PM
Originally posted by kasracer
How many damn times do you need to reply?! Geeze and I thought I was bad

:p

vbNeo
Jan 30th, 2004, 12:25 PM
The badgers are coming RUUUUUNNNNNNN

Travis G
Jan 30th, 2004, 12:25 PM
Originally posted by Evan
PHP after PERL? You sure?

Ohyes, very sure. And you don't have to capitalize Perl, it doesn't really stand for anything.

To add to the geaneology reports from earlier:

PHP gets its syntax from Perl. Perl gets its syntax from C.

It is safe to say that C is the mother of modern-day programing languages: C++ (not a language unto itself so much as a superset of C), C# (MS's .Net version of C++), VC++, Java, JavaScript, JScript (MS's extention to ECMAScript standards since they would be sued for admitting to extend JavaScript), J++ (don't ask me), Perl (written in C), PerlScript (the difference is very slight), and PHP. BCPL is the grandmother.

I don't know about Python and Ruby. I've not worked with them, but I'd guess they share the same syntax. I'm sure there are many others.

bsw2112
Jan 30th, 2004, 01:10 PM
although javascript is mostly known for it's client side uses...
you can use javascript to access databse etc...
if you use it on the server (ie. server side javascript)

here is a very interesting link
http://resource.dcs.st-and.ac.uk/JavaScript/jsref/intro.htm

from that page


In contrast to pure client-side JavaScript scripts, JavaScript applications that use server-side JavaScript are compiled into bytecode executable files. These application executables are run in concert with a web server that contains the JavaScript runtime engine. For this reason, creating JavaScript applications is a two-stage process.


hhmmm....i wonder in what other language i saw that term used before ;)

bsw

Travis G
Jan 30th, 2004, 02:34 PM
Originally posted by bsw2112
hhmmm....i wonder in what other language i saw that term used before ;)


Uhm... all of them? Duh.

And that isn't true, mind you, but it is very likely true. There are languages that aren't compiled into executables and just handled at run-time. Client-side JavaScript and Perl (though you can if you really want to you) are examples.

Point is, JavaScript nor Java have any distinction in being compiled.

Evan
Jan 30th, 2004, 03:05 PM
Originally posted by vbNeo
The badgers are coming RUUUUUNNNNNNN

whats a badger?

Evan
Jan 30th, 2004, 03:11 PM
Originally posted by Travis G
Ohyes, very sure. And you don't have to capitalize Perl, it doesn't really stand for anything.

To add to the geaneology reports from earlier:

PHP gets its syntax from Perl. Perl gets its syntax from C.

It is safe to say that C is the mother of modern-day programing languages: C++ (not a language unto itself so much as a superset of C), C# (MS's .Net version of C++), VC++, Java, JavaScript, JScript (MS's extention to ECMAScript standards since they would be sued for admitting to extend JavaScript), J++ (don't ask me), Perl (written in C), PerlScript (the difference is very slight), and PHP. BCPL is the grandmother.

I don't know about Python and Ruby. I've not worked with them, but I'd guess they share the same syntax. I'm sure there are many others.

I was sure perl was from a lot of older languages, and he took all the stuff he liked and put them together.

Evan
Jan 30th, 2004, 03:13 PM
Ohyes, very sure. And you don't have to capitalize Perl, it doesn't really stand for anything.

http://www.pconline.com/~erc/perl.htm

Perl, the practical extraction and report language, has captured the hearts and minds of computer users everywhere. So much, so, in fact, that some people go so far as to write poetry in Perl, taking advantage of Perl's confusing syntax. (Perl is also called the pathologically eclectic rubbish lister.)

:D :D :D :D

The Hobo
Jan 30th, 2004, 03:16 PM
Originally posted by Evan
http://www.pconline.com/~erc/perl.htm

Perl, the practical extraction and report language, has captured the hearts and minds of computer users everywhere. So much, so, in fact, that some people go so far as to write poetry in Perl, taking advantage of Perl's confusing syntax. (Perl is also called the pathologically eclectic rubbish lister.)

:D :D :D :D

Notice they don't capitalize it, anyways.

Evan
Jan 30th, 2004, 03:19 PM
True, True.. But after PHP it looks small being spelled at perl

CornedBee
Jan 30th, 2004, 04:15 PM
But at least it DOES stand for something.

It is safe to say that C is the mother of modern-day programing languages: C++ (not a language unto itself so much as a superset of C), C# (MS's .Net version of C++), VC++, Java, JavaScript, JScript (MS's extention to ECMAScript standards since they would be sued for admitting to extend JavaScript), J++ (don't ask me), Perl (written in C), PerlScript (the difference is very slight), and PHP. BCPL is the grandmother.

1) C++ is very much a language unto itself.
2) C# is MS's .Net version of Java, it's much more similar to that than to C++. (Yeah, I know about J#, but that one's a joke.)
3) J++ isn't really a language. Visual J++ was MS's IDE for Java, but they modified their own virtual machine so hard that it didn't work with normal Java anymore.
4) Then CPL would be the great-grandmother, and you forgot B ;)

I don't know about Python and Ruby.
Never heard of Ruby, but Python uses its very own syntax, which I find very weird, unreadable and dangerous, if intuitive. But to each his own. The typical sign of a C-like language is the braces for blocks:
{
code
}
Python uses only indentation, so
if cond
this is dependent
this too
this not
I think it's dangerous, because if I copy & paste this little snippet to my post again, but this time without the code tags
if cond
this is dependent
this too
this not
the program suddenly gets a different meaning. I don't think it's wise to trust functionality to something as volatile as whitespace.
But apparently people like it.

bsw2112
Jan 30th, 2004, 04:16 PM
Uhm... all of them? Duh.


have you ever heard of rhetorical questions? ;)
you obviously missed something...

and to retort... no not all of them

there is difference between bytecode and machine code
only some languages use bytecode which renders a program platform independant(normaly slower) unlike C++ which, when compiled on a windows machine, will not run on unix....etc..

some languages that takes this approach are JAVA and Prolog to name a few.... I think .NET is also applying this process.

this thread is getting stupid...i hope the admins close it so we can all move on. yawn... :wave: i'm out

bsw

CornedBee
Jan 30th, 2004, 04:16 PM
Now, to get back on topic, client-side JavaScript cannot access a database.

Evan
Jan 30th, 2004, 04:26 PM
Originally posted by CornedBee
But at least it DOES stand for something.



1) C++ is very much a language unto itself.
2) C# is MS's .Net version of Java, it's much more similar to that than to C++. (Yeah, I know about J#, but that one's a joke.)
3) J++ isn't really a language. Visual J++ was MS's IDE for Java, but they modified their own virtual machine so hard that it didn't work with normal Java anymore.
4) Then CPL would be the great-grandmother, and you forgot B ;)


Never heard of Ruby, but Python uses its very own syntax, which I find very weird, unreadable and dangerous, if intuitive. But to each his own. The typical sign of a C-like language is the braces for blocks:
{
code
}
Python uses only indentation, so
if cond
this is dependent
this too
this not
I think it's dangerous, because if I copy & paste this little snippet to my post again, but this time without the code tags
if cond
this is dependent
this too
this not
the program suddenly gets a different meaning. I don't think it's wise to trust functionality to something as volatile as whitespace.
But apparently people like it.


Wow. I didnt know that. Thanks for the lesson

Evan
Jan 30th, 2004, 04:27 PM
Originally posted by bsw2112
have you ever heard of rhetorical questions? ;)
you obviously missed something...

and to retort... no not all of them

there is difference between bytecode and machine code
only some languages use bytecode which renders a program platform independant(normaly slower) unlike C++ which, when compiled on a windows machine, will not run on unix....etc..

some languages that takes this approach are JAVA and Prolog to name a few.... I think .NET is also applying this process.

this thread is getting stupid...i hope the admins close it so we can all move on. yawn... :wave: i'm out

bsw

lol. but it was interesting for a while.. starting with the retard statement

Evan
Jan 30th, 2004, 04:28 PM
Originally posted by CornedBee
Now, to get back on topic, client-side JavaScript cannot access a database.


oh. thats what I wanted to know from the very beginning.

Maybe I could have java call a perl script in a hidden window that does the deed.

CornedBee
Jan 30th, 2004, 04:35 PM
A hidden iframe, you can't hide windows.

You could also use remote XML loading, but that only works in Mozilla and newer version of IE, and in two different ways at that.

Evan
Jan 30th, 2004, 04:50 PM
thats what I meant. heh

Evan
Jan 30th, 2004, 04:51 PM
I didnt really want to use something not 100% supported. Not good for work related stuff

bsw2112
Jan 30th, 2004, 07:21 PM
this is funny


starting with the retard statement


retort...not retard...

retort=answer back

i like Travis' passion :bigyello:

cheers

bsw

davebat
Feb 2nd, 2004, 03:45 AM
so Java and JavaScript are exactly the same?

Travis G
Feb 2nd, 2004, 07:45 AM
Originally posted by CornedBee
But at least it DOES stand for something.


Again, not really. But we should ask Larry.


From Llama
It's actually a retronym, not an acronym. That is, Larry came up with the name first, and the expansion later. That's why "Perl" isn't in all caps.



2) C# is MS's .Net version of Java, it's much more similar to that than to C++.


Yeah, that is true. I didn't think about that at the time. This pushes C# down another step in the pedigree.


4) Then CPL would be the great-grandmother, and you forgot B ;)


I thought B was BCPL. And I didn't know CPL was a language or that it came before BCPL.

So: CPL -> BCPL -> B -> C -> C++ ....?

I don't think it's wise to trust functionality to something as volatile as whitespace.


I agree completely. Why I think VB is a bad language for serious programmers to learn on.


there is difference between bytecode and machine code

True, and sorry to not point out the difference. Java and JavaScript do have the distinction in wanting to almost compile for the sake of cross-platform useability. But they want to be cross-platform for different reasons. Still, the only relation between JavaScript and Java is Netscape wanted to ride on the buzz around Java so they renamed LiveScript before its release.

And... Funny Dave.

CornedBee
Feb 2nd, 2004, 08:00 AM
So: CPL -> BCPL -> B -> C -> C++ ....?

Yeah. I read the whole history of C++ not long ago, but the site is now down.

CPL was a kind of theoretical programming language, much too complicated for practical use. It was simplified to BCPL (Basic CPL), but that was still not enough, so it was simplified again to B. B was written for a special platform though, so C was created from it. And C++ is C with several modern programming features.

Evan
Feb 2nd, 2004, 09:44 AM
Originally posted by Travis G

I don't think it's wise to trust functionality to something as volatile as whitespace.


I agree completely. Why I think VB is a bad language for serious programmers to learn on.


I know vb quite well, and have never seen a white space affect the program.

Give me an example

Travis G
Feb 2nd, 2004, 01:32 PM
Originally posted by Evan
I know vb quite well, and have never seen a white space affect the program.

Give me an example

Sorry, I'm counting returns as whitespace.


If boolFoo Then doSomething
doSomethingMore
End If


That will probably upset the VB parser.

Evan
Feb 2nd, 2004, 03:18 PM
Originally posted by Travis G
Sorry, I'm counting returns as whitespace.


If boolFoo Then doSomething
doSomethingMore
End If


That will probably upset the VB parser.


AH returnes, that is a different story.

I completely argee with you on this one, I dont like that about VB either.

Thats one cool thing about perl

if( $this == 1 || $that == 2) {
#do this;
} else { #do something ;}

Travis G
Feb 2nd, 2004, 09:08 PM
Originally posted by Evan
if( $this == 1 || $that == 2) {
#do this;
} else { #do something ;}

There are many cool things about Perl. The syntax however is common to the lineage, so it is the same for JavaScript and Java (with the exception that scalars and comments are denoted differently).

There is also the neatness of short-circuiting in that example you give. If $that is truly '2', then the program will not bother checking the value of $this (I think short-circuiting runs right to left, but I could be wrong).

Short-circuiting is not unique to Perl, it is just annoyingly absent in VB.

This thread definately belongs in Chit Chat now.

CornedBee
Feb 3rd, 2004, 03:58 AM
Short-circuting runs left-to-right, as the && and || operators are evaluated.

vbNeo
Feb 3rd, 2004, 06:52 AM
Originally posted by Travis G
Sorry, I'm counting returns as whitespace.


If boolFoo Then doSomething
doSomethingMore
End If


That will probably upset the VB parser.

Not if you do

If boolFoo Then doSomething: doSomethingMore

Evan
Feb 3rd, 2004, 10:15 AM
Originally posted by Travis G
There are many cool things about Perl. The syntax however is common to the lineage, so it is the same for JavaScript and Java (with the exception that scalars and comments are denoted differently).

There is also the neatness of short-circuiting in that example you give. If $that is truly '2', then the program will not bother checking the value of $this (I think short-circuiting runs right to left, but I could be wrong).

Short-circuiting is not unique to Perl, it is just annoyingly absent in VB.

This thread definately belongs in Chit Chat now.

I didnt know that. Thanks for the info

I hate that about vb

Evan
Feb 3rd, 2004, 10:16 AM
Originally posted by vbNeo
Not if you do

If boolFoo Then doSomething: doSomethingMore



But we mean there is no need for a new line in perl. That is never required, so you can stack things however you want (or as bad as you want)

Evan
Feb 3rd, 2004, 10:17 AM
Originally posted by CornedBee
Short-circuting runs left-to-right, as the && and || operators are evaluated.

that makes more sense

Evan
Feb 3rd, 2004, 10:18 AM
Originally posted by CornedBee
Yeah. I read the whole history of C++ not long ago, but the site is now down.

CPL was a kind of theoretical programming language, much too complicated for practical use. It was simplified to BCPL (Basic CPL), but that was still not enough, so it was simplified again to B. B was written for a special platform though, so C was created from it. And C++ is C with several modern programming features.

thats weird.. I thought b was before c

Evan
Feb 3rd, 2004, 10:24 AM
back to the original question. Im looking to make a java game for my cell phone, but I want to make it first for the computer.

Also I dont want it to be to hard to switch between the two.

I barely know java, and also want to learn it better.

How would I do this

vbNeo
Feb 3rd, 2004, 10:36 AM
Originally posted by Evan
back to the original question. Im looking to make a java game for my cell phone, but I want to make it first for the computer.

Also I dont want it to be to hard to switch between the two.

I barely know java, and also want to learn it better.

How would I do this

www.sun.com =) - I'm learning Java as well, but I gotta warn you, converting isn't that easy - there's a dev SDK for J2ME using MIDP so developing and debugging on the computer is easy. I'd suggest you learn basic Java before trying J2ME - and if you need an IDE, I suggest you use Eclipse(developed by IBM, IN Java) It's really good - I've come to like it more than the VB6 IDE =).

Cheers!

The Hobo
Feb 3rd, 2004, 11:07 AM
Is this thread just some elaborate joke by Evan to get a big post count? Seriously, dude, what's up with all the replies? Don't you know how to copy and paste?

Copy and paste should be a prerequisite to programming.

vbNeo
Feb 4th, 2004, 03:08 AM
Originally posted by The Hobo
Is this thread just some elaborate joke by Evan to get a big post count? Seriously, dude, what's up with all the replies? Don't you know how to copy and paste?

Copy and paste should be a prerequisite to programming.

What is this magical 'Copy & Paste' of which you are speaking ? :p

CornedBee
Feb 4th, 2004, 04:28 AM
J2ME and J2SE have quite different APIs, especially for drawing. You might be able to write some tiny wrapper classes though, I did that for my Tetris, which was never finished.

B was before C, read my post again.


And by now we're again off-topic, because this thread started about JavaScript and is now about Java again.

Evan
Feb 4th, 2004, 06:15 PM
why are J2ME and J2SE so differently made.
I dont see the point

CornedBee
Feb 5th, 2004, 02:52 AM
The point is that PCs and tiny devices have very different capabilities and need different frameworks to support. Another point is that they have different purposes too, and a program written for the PC is unlikely to run on a microdevice, while a program written for a MD is unlikely to be useful on a PC for lack of functionality.

The kept what they could, e.g. the classes frrom java.util that exist in ME are the same as in SE.

But there are no float and double datatypes in ME, just as an example.

vbNeo
Feb 5th, 2004, 09:35 AM
Originally posted by CornedBee
The point is that PCs and tiny devices have very different capabilities and need different frameworks to support. Another point is that they have different purposes too, and a program written for the PC is unlikely to run on a microdevice, while a program written for a MD is unlikely to be useful on a PC for lack of functionality.

The kept what they could, e.g. the classes frrom java.util that exist in ME are the same as in SE.

But there are no float and double datatypes in ME, just as an example.

The processor in micro devices are not as large as the ones in your desktop PC, so even down to the 'ASM' plane it has to be different.

Evan
Feb 5th, 2004, 09:54 AM
i see.. thats interesting

Evan
Feb 5th, 2004, 09:54 AM
you doublled that!

vbNeo
Feb 10th, 2004, 08:37 AM
whoops, my bad