Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

NetBeans 6: Matisse Updates

NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed.

Introduction to Groovy Part 3

In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.

Easier Custom Components with Swing Fuse

Swing Fuse (actually just Fuse), is a framework designed to make it easier to create your own custom desktop components. In this article, Daniel Spiewak shows you how to get started and provides sample source code you can download.

Benchmark Analysis: Guice vs Spring

Willam Louth shows how he uses JXInsight Probes to investigate probable performance issues with code bases that he is not familiar with. He also highlights possible pitfalls in creating a benchmark, as well as in the analysis of results.
Replies: 23 - Pages: 2   [ 1 2 | Next ]
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

Java for iPhone project?

At 8:12 AM on Sep 26, 2007, Mark wrote:

I'd be interested in such a project. I don't have the right back-ground to start something like this myself but I'd look how I could make myself useful if such a project is underway somewhere.

If there isn't such a project, maybe I could attempt to bring together such a group. If there's enough interest for something like that of course.

I'd be interested to hear people's opinions and ideas.

Mark
1 . At 11:24 AM on Sep 26, 2007, Kyle wrote:
  Click to reply to this thread Reply

Re: Java for iPhone project?

That's a great idea! Only concern I would have is keeping up with Apple's changes - since they tend to change rapidly, with no real concern for backward compatibility.
2 . At 12:01 PM on Sep 26, 2007, Clemens Eisserer DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Not possible?

As far as I know its not possible to install 3rd party software without hacks, which will be closed without any doubts soon.

So beside the problem that the iPhone is based on OSX, and that there are no open-source peers for OSX available (the apple stuff is completly closed) it would be always a fight to find open security hohles ... which seems to be honest not very promising.
IPhone is crap, accept that and buy something better for less money.

lg Clemens
3 . At 1:12 PM on Sep 26, 2007, Serge Bureau DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: Not possible?

> As far as I know its not possible to install 3rd
> party software without hacks, which will be closed
> without any doubts soon.
>
> So beside the problem that the iPhone is based on
> OSX, and that there are no open-source peers for OSX
> available (the apple stuff is completly closed) it
> would be always a fight to find open security hohles
> ... which seems to be honest not very promising.
> IPhone is crap, accept that and buy something better
> for less money.

Like what ?

>
> lg Clemens
4 . At 1:19 PM on Sep 26, 2007, Fred Barney wrote:
  Click to reply to this thread Reply

Re: Not possible?

> Like what ?

One of those other smartphones with a much better UI. Oh wait, there aren't any.
5 . At 1:34 PM on Sep 26, 2007, Kyle wrote:
  Click to reply to this thread Reply

Re: Not possible?

I've seen the iPhone and I own one of those 'other' phones - and I got to say - I wasn't all that impressed with the iPhone's UI. You should look at one of the competitors if you're interested in doing smart phone development.... some of them are really cool - and not so closed as Apple.
6 . At 2:21 PM on Sep 26, 2007, David wrote:
  Click to reply to this thread Reply

Re: Not possible?

There are plenty of smart phones that offer the majority of the features that the iPhone has, although the iPhone still is a good device.

Because of the iPhone's closed nature, its very unlikely that you're going to get any 3rd party apps on it. This is the main reason that I've decided not to get an iPhone.

If the iPhone had Java support (even Java ME), I'd probably get one today, but given the talk coming out of Apple recently I doubt that you'll ever be able to write 3rd party apps for the iPhone.
7 . At 3:04 PM on Sep 26, 2007, Daniel Spiewak wrote:
  Click to reply to this thread Reply

Maybe easier than you think

From what I've read, the iPhone is running a stripped down version of OS X. It's got the Darwin kernel (albeit a minimal compilation thereof), a version of AppKit, and thus some incarnation of Cocoa. Those building blocks alone are enough to satisfy 90% of the Apple Java implementation.

Since we have to hack around anyway to have a prayer of making this work, I suggest the following:

* Grab the Java sources from Apple for their JRE implementation
* Use an OSS third-party JVM implementation that runs on Mac, and make the necessary modifications to run it on an iPhone (shouldn't be too bad)
* Strip down the Java sources, removing unnecessary stuff or things that won't work on the iPhone anyway
* Install on iPhone using the jailbreak hack techniques
* Enjoy!

The only major snag I can see is that there's really no way to open files on an iPhone. As such, installing a Java application (not being a proper app per se) would be difficult. You'd have to write a cocoa application alla appmanager (or whatever it's called) which can transfer and install JAR files.
Daniel Spiewak
ActiveObjects: an Easier Java ORM; Fuse: Resource Injection for Java
8 . At 3:10 PM on Sep 26, 2007, Allen Halsey wrote:
  Click to reply to this thread Reply

Why would a developer buy a closed-platform, when an open platform exists?

Why would a developer, of all people, buy into a closed-platform, when an open platform exists? If you want the iPhone or iTouch to have Java support, start by not buying one; only then will Steve Jobs get the message.

Tomorrow there is a Web Seminar to discuss the status of the PhoneME Java implementation port to the N800 : Thu 27-Sep-2007 @ 8:00 am, Pacific Daylight Time.
9 . At 3:13 PM on Sep 26, 2007, Serge Bureau DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: Not possible?

> I've seen the iPhone and I own one of those 'other'
> phones - and I got to say - I wasn't all that
> impressed with the iPhone's UI. You should look at
> one of the competitors if you're interested in doing
> smart phone development.... some of them are really
> cool - and not so closed as Apple.

Do not worry, I am sure there will be a cure for you in the future.
10 . At 3:18 PM on Sep 26, 2007, Serge Bureau DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: Not possible?

> There are plenty of smart phones that offer the
> majority of the features that the iPhone has,
> although the iPhone still is a good device.
>
> Because of the iPhone's closed nature, its very
> unlikely that you're going to get any 3rd party apps
> on it. This is the main reason that I've decided not
> to get an iPhone.

I cannot say it is really logical.

I can understand that Apple prefers stability for a phone instead of openness, the IPod success proves them right.
Looking at the junk by competitors, good luck with your choice !

> If the iPhone had Java support (even Java ME), I'd
> probably get one today, but given the talk coming out
> of Apple recently I doubt that you'll ever be able to
> write 3rd party apps for the iPhone.

We will see.
But I need something that works and so far nothing compares, Java or not.
11 . At 3:22 PM on Sep 26, 2007, Serge Bureau DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: Why would a developer buy a closed-platform, when an open platform exis

> Why would a developer, of all people, buy into a
> closed-platform, when an open platform exists? If you
> want the iPhone or iTouch to have Java support, start
> by not buying one; only then will Steve Jobs get the
> message.
>
> Tomorrow there is a Web Seminar to discuss the status
> of the > href="http://forums.java.net/jive/thread.jspa?threadID
> =31124&tstart=0">PhoneME Java implementation port to
> the N800 : Thu 27-Sep-2007 @ 8:00 am, Pacific
> Daylight Time.

Sorry but I cannot care less about any Nokia phone, they are the one offering junk to customer's.
Steve jobs follows the IPod philosophy, and so far he is totally right. I love Java, but something is missing, somebody has missed an opportunity.

Good luck with your port on Nokia, but not for me.
12 . At 4:25 PM on Sep 26, 2007, Clemens Eisserer DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: Not possible?

> Do not worry, I am sure there will be a cure for you
> in the future.

Is there no different strategy than switching to brain-dead mode if your serious arguments are gone??
Do you really think people take you serious after reading stuff like this?

Clemens
13 . At 4:28 PM on Sep 26, 2007, Clemens Eisserer DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: Not possible?

> We will see.
> But I need something that works and so far nothing
> compares, Java or not.

Oh seems we've some "I love the product because ... hmm .. I own it!". Serge you don't need to justify why you've spent so much money on this crap ;)
By the way what do you mean with "works"? As far as I've seen except its consumer oriented UI the iphone is except its browser quite limited.

lg Clemens
14 . At 10:23 PM on Sep 26, 2007, Ivan wrote:
  Click to reply to this thread Reply

Re: Java for iPhone project?

http://www.openlaszlo.org/
Check it out their iPhone app :-
http://www.openlaszlo.org/node/384

This two are using Java syntax...
http://j2s.sourceforge.net/
GWT

thread.rss_message