Re: ObJC vs. Java -- NEWBIE
Re: ObJC vs. Java -- NEWBIE
- Subject: Re: ObJC vs. Java -- NEWBIE
- From: Stefan Pantke <email@hidden>
- Date: Thu, 5 Feb 2004 14:16:08 +0100
Dear Ryan!
Am 05.02.2004 um 13:36 schrieb Lotsa Cabo:
I'm still watching the WWDC videos. Since they are on loan from
someone, I am trying to go through them before I start writing code.
As some of you know, I'm about to write my first Mac application after
having been a M$ guy for a few decades.
Good idea ;-)
1. If I code my Cocoa app using Java, how much slower than Objective-C
will Java be?
Hard to say.
I may give you this information, related to a JAVA app developed on
Windows,
on a P4/1,7 GHz/XP Home:
- The app runs fast on the PC
- The app runs very slow on older PCs (this might be due to SWING)
- The app runs slower than on the dev PC and faster than on older PCs
Thus, I would propose probably use Java, for xml transformation purpose.
2. For the .NET WebService access, which is better, Java or ObjC?
Generally speaking, most APIs are available in Java and ObjC. And
these interfaces are quite the same.
3. For XML parsing, which is better, Java or ObjC?
The same goes here.
Anyway: It might be interesting to use JAVA, due to a big number of
libs available.
But it's no problem to integrate JAVA in an ObjC application. You may
instantiate your Java classes and call them transparently.
4. Each time I have installed an app on my new PowerBook, I've had to
copy one object (I think it's a "bundle") from a drive image to my
Applications directory. I think this is a great install process. If
I code my app using Java, will I be able to use this type of install
method when my app is distributed?
Yes, definitely! XCode will prepare bundles for you! Prepare your
project,
click <APPLE>-R and things will be prepared four you.
Morover, you may use Apple's installer tools.
Moreover have a look at ej-technologies. They have some great tool:
Install4j
Exe4J
exe4j converts a java application into a *.EXE file. We use it and we
like it!
Contact: email@hidden
5. Java apps on Windows are ugly. If I code my app in Java, will the
user know that it's Java when it's running?
Sometimes ;-) At least I know sometimes what's behind the scenes.
But if you use your JAVA parts as transformational components (no GUI),
you will be fine.
6. The few lines of Objective-C that I have seen has no resemblance to
any language that I'm familiar with.
Yes, I feel the same. But after some time, you will love ObjJ and cocoa.
Considering I will be developing on a Mac and M$ platform for years,
is there any major benefit to learning Objective-C?
It's always good to learn new things.
Personally, I would love to see cocoa on windows!
Some java app is currently under preparation, but I would like to
do it on ObjC, it's a great environment to work. cocoa is even
better.
Kind regards,
Stefan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.