Friday, December 22, 2006

what about JavaME during 2007?

I read this post 10 Hot Technologies coming to Mobile Phones in 2007 and I was thinking "What are coming to Mobile phones during 2007, when we talking about JavaME?"?

I thought "first I will have a look on the JCP site", I found out that there are now 82 JavaME JSRs. There are old JSRs (already implemented in all phones), new final JSRs (but no devices support it yet) and also of course new JSRs that are not in final status.

I found these JSRs are in status "Early Draft Review":
JSR-287 (Scalable 2D Vector Graphics API 2.0 for JavaME), JSR-259 (Ad Hoc Networking API), JSR-266 (Unified Message Box Access API, UMBA-API), JSR-279 (Service Connection API for JavaME) and JSR-293 (Location API 2.0).

I found these JSRs are in status "Public Review":
JSR-278 (Resource Management API for JavaME), JSR-190 (Event Tracking API for JavaME), JSR-233 (JavaEE Mobile Device Management and Monitoring Specification), JSR-272 (Mobile Broadcast Service API for Handheld Terminals) and JSR-280 (XML API for JavaME).

I found these JSRs are in status "Proposed Final Draft":
JSR-230 (Data Sync API), JSR-248(MSA for CLDC) and JSR-258 (Mobile User Interface Customization API).
Proposed Final means "These draft Specifications are awaiting completion of the associated Reference Implementation (RI) and Technology Compatibility Kit (TCK)."

There are also JSRs in status "Final", but no phone support it yet, like JSRs:
JSR-232 (Mobile Operational mangement) and JSR-209 (Advanced Graphics and User Interface Optional Package, AGUI).

JSR-249 (MSA Advanced) and JSR-271 (MIDP 3.0) are also very interesting but there is no draft yet.

Every JSR have a schedule but I think the schedule on the JCP site is a joke. There are no updates about changes in the schedule and because of that you don't get a clue about when the JSR is really final!

Then I thought "What more could be interesting outside JCP"?
There is a Eclipse project for JavaME called Device Software Development Platform Project, I think a lot good stuff will coming out from this Eclipse project!

Netbeans (my favorite tool!) have recently released support for JavaME/CDC in a product called Netbeans Mobility Pack for CDC5.5 RC1, I think it is great and I hope there will come devices supporting AGUI soon.

I think one of the most important thing for the future of JavaME is that now is JavaME OpenSource. Because of that I think there will more devices in future supporting JavaME and also a more faster process for implement new JSRs in new devices!

I am looking forward for 2007 and JavaME!
It is also now only 136 days to next JavaOne 2007 with lot of news about JavaME!!

update:
2 minutes after I publish my post I got a Email from JCP:
The Expert Group for JSR-000248 Mobile Service Architecture
has completed its work and published the Final Release of the specification.
Great News!

update2:
1 day later I got this:
The Early Draft Review Specification for JSR-000271 Mobile Information Device Profile 3
is now available for Review from the list of Early Draft Reviews page and also the JSR 271 detail page
Earlier than I thought!

Wednesday, December 20, 2006

Netbeans Mobility Pack for CDC 5.5 RC1 is released but where are devices supporting AGUI?

Now Netbeans Mobility Pack for CDC 5.5 RC1 is released!
Really good news!
Great also that the Sun Java Toolkit for CDC is bundled in the Mobility Pack, but there is only support for AGUI (no support for AWT)

I wondering, is there any phone/PDA out there supporting AGUI?
Anyone know anything about this?
(After that SavaJe is out of business I don't know any phone supporting AGUI)

I will be waiting for something to happen about this, before I start using Netbeans Mobility Pack for CDC 5.5 RC1.
It is really sad but I need a real device that support AGUI before I start doing any developing on that platform!




Tuesday, December 12, 2006

adding support for Java on a nokia 770

I suddenly been able to borrow a Nokia 770!
I think Nokia's internet tablet is really interesting, a internet tablet running linux!

Nokia has also launch a community site called www.maemo.org, Maemo is an open source development environment for Nokia 770 Internet Tablet.

There is a new good article about Nokia 770 called
Building consumer products with open source written by Ari Jaaksi, Ari is Nokia's director of open source.

Ari Jaaksi have also a blog called Ari Jaaksi's blog.

Other presentation:
- Ari Jaaksi presentation at Linux World, Boston 2006
- Ari Jaaksi's article Nokia debuts Linux-powered Internet tablet

But the device have not yet support for Java.
Anyone know anything about this?

I would like to add support for phoneME Advanced MR2, it should be possible. I have asked about this in phoneME Advanced forum.

Anyone have installed phoneME Advanced MR2 on a Nokia 770?
Please let me know!
- Ove

update:
ThoughtFix on the Nokia 770 (lot of good information about Nokia 770 at this blog)

Java on the 770 (Maemo/Developer mailinglist)

Bärbar internetaccess på finska -- Mikrodatorn (in swedish)



Monday, December 11, 2006

I have got a new Karate belt, lilac (4 kyu)

I started to training Karate again in August (after a 10 years break) and last weekend I was at a training camp with Shihan Lionel 8th Dan from South Africa. It was a great training camp and after that camp I got a new grade in Karate, 4 kyu.

Shihan Lionel is together with three other instructor the head of Kimura Shukokai International. It is Master Kimura's four Senior Instructors, Shihan Eddie Daniels 8th Dan from Great Britain, Shihan Bill Bressaw 8th Dan from U.S.A, Shihan Chris Thompson 8th Dan and Shihan Lionel Marinus 8th Dan both from South Africa.

Friday, December 08, 2006

a Nokia E90 or Nokia 870 is perhaps something for next JavaOne

Today I have a Dell laptop and Nokia E61 and since some weeks ago I have also bought me a Nokia Wireless Keyboard SU-8W, it is really great.

But I want to replace my laptop with something else to next JavaOne 2007!

As I wrote earlier in my blog what I would have to next JavaOne:
"I am tired of bring my laptop pc to JavaOne, to heavy and the battery time is only 3 h. I need something else so please Nokia (or any other company) fix it to next JavaOne, a handheld device with a keyboard like the UMPC!"

There is a interesting rumor about a new device from Nokia called Nokia E90
I hope it is true !
It look very interesting!

Have a look here:
Ring Nokia, Nokia E90 information (almost too good to be true)

e61Life, Nokia E-90 - Info

Here you could also read more about S60 3d Edition Feature Pack 1

A other possible solution to replace my laptop is with a internet tablet, today Nokia have a internet tablet called Nokia 770 (but there is no keyboard and I need a keyboard), but there is a rumor of Next Generation Tablet from Nokia, called Nokia 870. Please Nokia add a keyboard, I promise I will buy it!!

Good support for JavaME is a requirement for me, it is for all devices I buy!!
But Nokia always have good support for JavaMe, so I am not so worried.

Update:
There is also a interesting rumor about Apple smart phone project rests on Mac OS X tie-ins, I hope if Apple release it, it will have JavaME support?
Info om Apples SmartPhone (In swedish)


Wednesday, December 06, 2006

Develop eRCP applications with Eclipse

There is a new interesting article about Develop eRCP applications with Eclipse.

This article shows how to use Eclipse to develop embedded Rich Client Platform (eRCP) applications. Detailed steps guide you through setup, development style, deployment, and debugging of an eRCP application programming cycle.

Friday, December 01, 2006

WidSets is JavaME

I think the NokiaWorld blog was a very nice service from the Nokia event NokiaWorld. At this blog you find a lot of good information about new devices from Nokia!
One thing I found out was about WidSets, with WidSets you could create different service for the mobile phone. WidSets look very interesting for me as a JavaMe developer!
This because the WidSets is build on top of core JavaME and because of that compatible with a lot of models of mobiles phones. In Q1 2007, a dev kit will be released.

Read more about Widsets and also watch the video from blogger Benoit Darcy

Tuesday, November 28, 2006

There is a NokiaWorld blog

There is a Nokia event called NokiaWorld, which takes place this Wednesday and Thursday. Nokia has launched an exclusive blog for the event called From The Floor , which will cover all of the news and discussions from the Nokia World event.

Read more about this at Darla Mack's blog

Thursday, November 23, 2006

eRCP/eSWT - A platform support nightmare for Eclipse?

I found this interesting post: eRCP/eSWT - A platform support nightmare for Eclipse? at EclipseZone, the writer is worried about possible JavaME/CDC1.1 fragmentation.

The writer says:
"As I am entirely convinced of the concepts of RCP and SWT, I welcome any idea that helps eRCP to unfold its potential to the broad and diverse embedded market. The seeds of eRCP have been sowed, what needs to be done to let it become a solid tree?"

I am also entirely convinced of the concepts of RCP and SWT!
My answer is JCP!
I now think the big problem with eRCP/eSWT is: "it is not a Java standard", this issue could only be solved by go through JCP. I think companies like Nokia, IBM and SUN must accept responsibility for this issue with eRCP/eSWT!

But I also think it is not enough with a JCP standard. The standard must also be accepted by companies who makes all theses devices. I wrote earlier about this problem with AGUI(JSR-209) is finished, but don’t believe AGUI will have any success!!.

Tuesday, November 14, 2006

JavaME and Eclipse

There is a Eclipse project for JavaME called Device Software Development Platform Project, yesterday they announces Three Milestone Releases.

See:
Eclipse unifying enterprise SOA and mobile development
Eclipse Releases Platforms for Mobiles, Target Management, Java

I think a lot good stuff coming out from this Eclipse project!
But I am little worried about the possible fragmentation of the JavaME platform.
(it is great with eSWT but I prefer if it was a JCP standard)

I think we really need a new GUI toolkit for JavaME/CDC1.1 platform and soon new devices supporting eSWT will be released, so I will go for eSWT!
(I perhaps will change my mind when there are more devices on market that supports AGUI, but for the moment I only know about the SavaJe phone Jasper)

I hope Netbeans in the future will support eSWT, but I have no hope in the short term!

I also think it great when companies like Nokia and Motorala want to support developers, but please support booth the Netbeans and the Eclipse platforms.



Java ME Open Source Software List

I like this: Java ME Open Source Software List
It's great!

Saturday, November 11, 2006

Sun, please work for OpenSource the SW in the SaveJe phone!

What will happen with the SW in the Jasper phone?
Now when it looks like the company SavaJe is out of business.
I think this is really sad because the SavaJe phone (Jasper), AGUI (JSR-209) was planned to be implementation complete in Q406.

I have a message to Sun!
If that's the case, maybe there will be some effort from Sun to Open Source the SavaJe SW?
Please work for Open Source SavaJe SW!
(I understand it could be hard for SUN to do something in this situation, it is perhaps impossible)
In any case, Sun, “please make that happen!!”
I think a lot of developers would be happy about that!

A lot of people bought the SavaJe “Jasper”phone in JavaOne believing it is “the future”. It would be terrible if the device is discontinued with no chance to upgrade the SW”

We also really need more real devices that run JavaME/CDC1.1/PP1.1!
(I only know one device; it is this SavaJe phone Jasper)
We need it to have success for Java at PDA’s!

Tuesday, November 07, 2006

Don't forget linux Java developers

There is a on going discussion at Forum Nokia site about that Nokia should also support Linux developers.

It was suggested:
If Nokia does not have the resources to maintain a Linux tool-chain, Linux community will be happy to maintain it if Nokia can open up the source it for Linux community.

The answer was:
Actually Nokia has already done that, there is a Nokia-driven Java tools open source project in Eclipse called MTJ (Mobile tools for Java). As Eclipse run on Linux as well, MTJ could address your needs if there were enough contributers for the Linux side (like for SDKs and other tools that are needed).

I think what we really need are:
  • a Nokia SDK that support Linux, not only a Nokia Linux Eclipse IDE
  • the Nokia SDK should also works with different tools like Netbeans and Eclipse, not only with the Eclipse platform!
I also think It would be nice if there was a Nokia PC Suite version for Linux available

I also think it is a mistake to think "depending on a surveys, some 80-90% of developers are on Microsoft". I think this is only because of the bad support for the linux platform, if Nokia and Sun support the linux platform better this will change quickly. This move from the windows platform has already started with linux distributions like the Ubuntu distribution.

Friday, November 03, 2006

SavaJe - bye bye????

At last JavaOne I bought me the first SavaJe phone called Jasper(a Java-based mobile phone) and perhaps also the last SavaJe phone.

Have a look on this very disappointing news;
http://www.theregister.co.uk/2006/10/25/bye_bye_savaje/
http://www.newswireless.net/index.cfm/article/2977

SavaJe Java Developer Community Forums, Savaje - Out of Business or Not?:
http://java.savaje.com/bb/showthread.php?t=168

:-(

Thursday, November 02, 2006

Ubuntu is great on the client – It is a MS Vista killer

I have since some year ago running linux (fedora 4) on my server and it works great!
Now I thought it was time to also test running linux on a client computer.

I have test some different Linux distributions, Suse 10, fedora 6 and now also Ubuntu.
Ubuntu was the easiest to install and run, I downloaded Ubuntu 6.10 ­ the Edgy Eft ­ released in October 2006. It was only one CD (in fedora and Suse it was 5 CD) and burned it and install it.

One hour later my Ubuntu pc was up and running with lot of already included software like: open office, firefox 2.0, evolution mail, gaim
(yahoo & icq & MSN). I have also installed skype, jdk 5, Netbeans 5.5, Vmware player, Automatix, Opera (because of the rss-reader) and real player.

To get WEBBRADIO to work at SR, I had to to do this:
1) Install Real Player
2) Uninstall mozilla-­totem (using Synaptic Package Manager)
3) Open a terminal windows and do this:
ln ­sf /usr/lib/mozilla/plugins/nphelix.so ~/.mozilla/plugins/nphelix.so
ln ­sf /usr/lib/mozilla/plugins/nphelix.xpt ~/.mozilla/plugins/nphelix.xpt

About JDK 5, I found a package in AutoMatix and I install it from there.

About the Netbeans 5.5 installation, it works great the installation.
(I have had some trouble to install Enterprise pack and I have report it and I suppose Sun will fix it soon).
I had to update the file .bash_profile before the installation with this line:
export JAVA_HOME=/usr/lib/java-1.5.0-sun-1.5.0.08
After that run:
source .bash_profile
sudo ./netbeans-5_5-linux.bin
sudo ./netbeans-mobility-5_5-linux.bin
sudo ./netbeans_cdc-5_5-beta2-linux.bin
The only disappointment is the included SunWireless toolkit 2.2 for CLDC (why not version 2.5beta) in the Netbeans Mobility Pack for CLDC and for the Netbeans Mobility Pack for CDC there was no Sun Wireless toolkit for CDC included.
This could be ok, if it was possible to download it from Sun's Wireless Toolkit web site, but there is nothing more to download for the linux platform. This is really bad!!!

To sum it up:
Ubuntu works great, I will go on using it!
I have installed it on a old laptop with only 256 Mb RAM and 800 MHz CPU, but it is really fast!
One good thing with Ubuntu is that you also get critical updates all the time and this is free!!
No more MS Vista computer for me!
I hope Sun in the future will have better support for the linux platform for Sun Wireless toolkit for CLDC and CDC!!

Wednesday, October 25, 2006

The future of JavaME is also about new hardware

I think the future of JavaME is not only about new Java API’s.
We now have got a lot of new Java API and also updated JavaME profile’s (MIDP2.0 and PP1.1). But I think hardware that support it is missing (but not so much for the MIDP 2.0 profile).

I would like to buy new cool hardware that also support Java, but I don’t find it!

I bought me a SavaJe phone at last JavaOne, because it support Java ME/CDC1.1/PP1.1 and AGUI. The phone was an ordinary phone, nothing to be excited about.

I hope Next Generation UMPC (Origami devices) called 'Vistagami' tablets will support JavaME/JavaSE?
I wondering if there will be a next generation of Nokia’s Internet tablet (Nokia 770)? (Nokia 770 is running on the linux platform (not symbian)).
I also read rumours about a new device (a phone) from Apple called iPhone, look interesting.

I think there will come a killer PDA/tablePC during 2007 (like Apple’s Ipod), which company will sell it? (Apple, DELL, SUN, Nokia, SonyEricsson…). I don’t now but I think the market is there now.
I hope this new device will support Java, so I also can write new cool Java applications to this device!

Update:
I have been talking with Maximiliano Firtman in his blog about The future of JavaME.

I wrote this:
I am not sure if devices like Nokia 770 and UMPC (Microsoft's Ultra Mobile PC) will run well if they only have support for JavaSE. I think JavaME/CDC1.1/PP1.1 is perfect for these small devices. The next problem is which company can supply a JVM for these devices? The PocketPC platform is a good example how difficult it has been to find a JVM for that kind of device. Perhaps now when SUN Open Source JavaME it will help us to get jvm’s for more hardware platforms?

I agree that JavaME/CLDC/MIDP is already available on many consumer cell phones.
No hardware problem here, only Java fragmentation problem!
So I agree MSA for CLDC (JSR-248) is something really good for us developers!
I look forward when we have devices that support JSR-248 (MSA for CLDC) and JSR-249 (MSA for CDC). But again there are no devices that support it yet!
We will have devices soon that support JSR-248, but for JSR-249 it will takes some time I believe, I hope it will be a faster process to agree about this JSR-249!

But it is different for JavaME/CDC/PP, I think JavaME/CDC has not yet hit its mark with smartphones and PDAs.
For JavaME/CDC/PP there are nearly no devices you can buy, for example how many Nokia devices have support for JavaME/CDC1.0/PP1.0? , not many phones and for JavaME/CDC1.1/PP1.1 there is no phone.

I also think that the JavaME/CDC1.0/PP1.0 implementation has not been so well so far.
You can often find frustrated developer telling you things like this:
Why are CDC implementations always so buggy?

But I think there will be a change during 2007, with more devices supporting JavaME/CDC1.1. But it look like the next generation GUI on wireless handsets is not settled yet (AGU or eSWT)
Because of that I think we will have devices during 2007 supporting Java ME/CDC1.1/FP 1.1 profile with eSWT and other devices supporting Java ME/CDC1.1/Personal Profile 1.1 with AGUI (like the SavaJe phone) and Java fragmentation problem again for the JavaME/CDC platform

Friday, October 20, 2006

Something really good for me as a developer

It is not something new, but for me VMware is new.
I have since some month ago started to use VMware workstation (I was not so expensive to buy), there is also a free version called VMware player.

"VMware Player lets you evaluate new or pre-release software contained in virtual machines, without any installation or configuration hassles. You can also share existing virtual machines with colleagues or friends—just use VMware Player to run any virtual machine."

VMware has helped me lot as I often as developer/architect have to install new software, updates..
After a while my PC is completely over installed with different servers and became slower and slower.

The last months I have working with architecture for mobility at one my customers, this architecture also includes Mobility Management server and Security Servers. All these servers we need if we have a lot of users/devices out there.
So with VMware I am able to install a new server (linux or MS server 2003) on my laptop and have it well integrated with my developer environment (Netbeans/Carbide.j). It is really good not have to install all different servers direct on my laptop OS and to be able to test new version before you upgrade the real server.

Monday, October 16, 2006

90 % of SPAM Email have now disappear from my Email server

I maintain my own mail-server (posfix) on a linux server (fedora core 4).
I have come to hate spam and the waste of resources which comes with it.
I think about 80 % of all mail to me is spam.

But during this weekend I have reconfigure my postfix-server to get rid of all SPAM.
I found this really good article about Filtering spam with Postfix.
It was really easy to filtering spam with postfix; now 90 % of SPAM Email has now disappeared from my Email server.

I haven't yet integrated SpamAssassin or Dspam with postfix, after I have done that more SPAM will be removed.

But now it is possible again to using my Nokia phone to read mail!
:-)

Update:
There is also an Open Source product called Zimbra Collaboration Suite (ZCS), Open Source Edition that could be interesting (I haven’t tried it my self). The idea behind Zimbra is provide a do-all 'black box' that Just Works. All needed software is included. Read more about it here.

Read more:
Using PostFix To Reject Spam

How to install Postfix, Amavisd-new, SpamAssassin, Pyzor, Razor, DCC, and ClamAV on Fedora Core 4 - v2.1.8

How to get Dspam, Postfix, and Procmail to play well together

Dspam

Wiki, Integrating DSPAM with Postfix

Nine ways to combat spam

Tuesday, October 03, 2006

Now available: Sun Java Toolkit 1.0 for CDC, Beta

Now something I looking forward to next release of Netbeans, Netbeans 5,5 RC1

I have last week used 5.5 q-build 200609062200 of NB + q-build 20060907 of Mobility Pack for CLDC. It looks very nice for a mobility point of view!

What I have understood Netbeans CDC Beta2 should also be available together with 5.5 Release Candidate 1 on Tuesday October 3rd.

Now I have also found this information:
Sun have now released Sun Java Toolkit 1.0 for CDC!
Great news!

I am now prepared for Netbeans 5,5 RC1, Netbeans CLDC 5,5 RC1 and Netbeans CDC Beta2 when they release it today.
**************************
Sun is proud to announce the Sun Java Toolkit 1.0 for CDC, Beta has just been made available. With the toolkit comes the platform emulation environment that supports the Connected Device Configuration 1.1, Foundation Profile 1.1, Personal Basis Profile 1.1, and the recently completed Advanced Graphics User Interface 1.0. These technologies serve as the base for the CDC platform and support for developing applications on CDC are provided through the combination of NetBeans Mobility Pack for CDC and the Sun Java Toolkit for CDC. We are looking for feedback on the tool, so have a go and try it out.
Downloads and information can be retrieved at:Sun Java Toolkit 1.0 for CDC, Betahttp://java.sun.com/products/cdctoolkit/overview.html
NetBeans Mobility Pack for CDC Previewhttp://www.netbeans.org/kb/50/mobilitycdc.html
Thanks,Sun Java Toolkit for CDC Product Team

Monday, October 02, 2006

Running Glassfish and Apache httpd on fedora Core 4 server

I have installed GlassFish V1 Milestone 7 - build 48 on a fedora Core 4 server.
I have also installed: JDK5.0 and Ant 1.6.2
I also have to add JAVA_HOME to point to JDK5.0

I would like to integrate Apache httpd (2.0.54) with Glassfish, I found this excellent blog about this.

But I get this error in "mod_jk.log":
[Sun Oct 01 13:29:21 2006] [5737:22208] [error] init_jk::mod_jk.c (2450): Initializing shm:/etc/httpd/logs/jk-runtime-status errno=13

But the Glassfish server works ok, it is the integration that don’t works completely ok.

Do you now what is wrong?

I have done this:
1) I downloaded this file “mod_jk-apache-2.0.49-linux-i686.so”, I copy the file to: /etc/httpd/modules

2) I created this file: /etc/httpd/conf.d/glassfish.conf, that look like this:
LoadModule jk_module modules/mod_jk-apache-2.0.49-linux-i686.so
JkWorkersFile /etc/httpd/conf/worker.properties
# Where to put jk logs
JkLogFile /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send all jsp requests to GlassFish
JkMount /*.jsp worker1
# Send all glassfish-test requests to GlassFish
JkMount /glassfish-test/* worker1

3) Then I created this file:
/etc/httpd/conf/worker.properties, that look like this:
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost.localdomain
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300

4) I have also copy to /usr/glassfish/lib:
- tomcat-ajp.jar
- modeler-1.1.jar
- commons-logging-1.0.4.jar

5) Then I enable mod_jk by adding one line in this file: /usr/glassfish/domains/domains1/config/domain.xml for the tag "jvm-options":
-Dcom.sun.enterprise.web.connector.enableJK=8009

6) I then restarted the Apache httpd (Apache/2.0.54)

7) After that I start the GlassFish server, with this:
asadmin start-domain domain1

8) I downloaded hello.war, from here and copy the file to:
/usr/glassfish/domains/domain1/autodeploy

9) The deployment didn’t work so I did this:
cd /usr/glassfish/domains/domain1/autodeploy
asadmin
asadmin>deploy hello.war
Now the deployment works ok!

10) Test the server
Locally on the server:
http://localhost:8080/hello = works ok!
From Internet:
http://www.ojn.se/hello = works not!
http://www.ojn.se:8080/hello = works ok!

Tuesday, September 26, 2006

Ove Nordström is now a JCP Member

At last JavaOne 2006 Sun promoted everyone to join Java Community Process (JCP).
I have thought about it for a long time and now I have decided to join JCP. I am now a JCP member: http://www.jcp.org/en/participation/members/N

Friday, September 22, 2006

Thursday, September 21, 2006

AGUI(JSR-209) is finished, but don’t believe AGUI will have any success!!

Success for me means I can buy devices supporting AGUI and if look on the comments down you understand what I mean.
:-(

AGUI (JSR-000209 - Advanced Graphics and User Interface Optional Package for the J2METM Platform) have passed the Final Approval Ballot

View the ballot results here:
http://jcp.org/en/jsr/results?id=3982

Have a look these comments:
On 2006-09-18 Nokia Corporation voted Abstain with the following comment:
Nokia votes Abstain because we think the current specification does not take into account requirements of the mobile devices and is not suitable for them.
Firstly, the specification does not address use and integration with native UI toolkits well enough. Most mobile devices have a native UI toolkit used by native runtime and other runtimes and consistency between applications of different runtimes within the same device is essential.
Secondly, in its current form, the specification does not provide interoperability for look and feel modules to work across different independent implementations of the specification. The specification does not define many details accurately enough and a look and feel module needs to make assumptions that are valid possibly only on one particular implementation.
Thirdly, the specification does not adequately take into account mobile specific features and restrictions.
Even if these issues have been brought up in the EG several times the specification lead has chosen not to sufficiently address these. Therefore, in our opinion, this specification is not on a large scale suitable for mobile devices, such as mobile terminals.
------------------------------------------------------------------------------
On 2006-09-18 Ericsson AB voted Abstain with the following comment:
Ericsson would like to support any JSR going forward that also aim to bring innovation to JAva ME and the JCP. From an EC point of view there is also a need to maintain a viable/predictable evolution path for Java ME at large and currently a number of competing UI related JSRs, while still providing innovation and flexibility it may also prove to fragment the market. Ericsson would like to ask stakeholder of these JSRs to consider e.g. how JSR-209 fits in the big picture together with JSR-271, JSR-258, JSR-287 and JSR-290 etc. (to name a few examples). It should also be noted that JSR-209 may not be suitable for the "limited" part of the Java ME devices e.g. those having a native UI toolkit for speed and power effeciency etc.

Thursday, September 07, 2006

JSR 232: Mobile Operational Management - Final Ballot Approved!!

Oh Yes JSR 232 is final!
I have waiting fore that a long time!
Read more about JSR-232 here.
Now I am waiting for that tool and devices supporting JSR-232!
:-)

Tuesday, September 05, 2006

Back to Karate again

Since two weeks ago I have started to practice karate again (after 10 years break).
I have change to a karate club close to where I live called Salem Shukokai Karate, the style is called shukokai. I started to practice karate at Kusano-Ha Shitoryu, the style there is called Kusano-Ha Shitoryu Kenpo Karate-Do Kai.
It is fun to be back in the Karate business again!!

Debugging on the SavaJe phone with Netbeans 5.5 beta 2 Mobility Pack for CDC works now

I followed the steps in http://java.savaje.com/wiki/index.php/Using_JDWP_to_debug_bundles
I was using Netbeans 5.5 beta 2 Mobility Pack for CDC.
On the phone I had installed the Early Access Update 2 for the JavaOne Jasper Edition

But I was not able to debug on the phone. I got:
Attaching to 192.168.254.2:9462
Connection refused.
I was not able to ping the phone from my PC:
ping 192.168.254.1

I have installed my Xlet on the phone by placing the bundle files on the SD card under a folder entitled /savaJe/bundles/.
Then it is not possible to start the application when the USB cable is connected. HowTo do that?

I got an answer from SavaJe:
I'm assuming that you are mounting the SD card to the PC via the USB mass storage driver. The SD card can only be seen by one device at a time (either the phone or the PC).

After you've copied the bundle files to the SD card, right click the drive letter of the SD card on the PC, and select Eject. The phone should remount the SD card, and the Xlet should show up in the My Applications
group. To dismount from the phone (and remount to the PC), pop the SD card out and then reinsert it. Any Xlets on the SD card should disappear from My Applications, and the SD drive should reappear on the PC.

If you're using an SD adapter that plugs into the PC, you don't need to worry about this (but you have to do a lot more SD card swapping)

Now it works to debugging on the SavaJe phone using Netbeans 5.5 beta 2 Mobility pack for CDC!!

:-)

Choose a tool for Java ME?

Often I get questions about Java ME tools like these:
- What's your personal favorite Java ME tool and why?
- Netbeans or Eclipse?

I work as a Java consultant and I have to use both tools at different customer.
The customer has often already selected what tools the project should use.

I think; because both Eclipse and Netbeans are free, try both!!
Eclipse and Netbeans have very friendly installations, no MS registstry changes, everything in one folder; because of that it is very easy to remove both eclipse and Netbeans.

My favorite tool is Netbeans!!!
What like with Netbeans is good/fast support for new things (like Java ME/CDC1.1) and the Netbeans community (if you have a question always someone answer).

If you would like to try Netbeans Mobility Pack for CLDC and NetBeans Mobility 5.5 Pack for CDC, install the following software on your computer:
- JDK 5.0
- NetBeans IDE 5.5 Beta 2
- NetBeans Mobility 5.5 Pack for CDC Preview version
- Sun Java Toolkit 1.0 for CDC, Early Access
Now you have support for Java ME/CDC1.1/PP1.1 and AGUI(JSR-209=Swing)
Also install:
- NetBeans Mobility Pack 5.5 beta 2
- Sun Java Wireless Toolkit 2.5 for CLDC, Beta
- Carbide.j 1.5 (add Nokia SDK:s)
Now you have support for Java ME/CLDC1.1/MIDP2.0

In the menu "tools" "Java platform Manager" you integrate different SDK’s, like these included with Carbide.j 1.5, Sun Java Wireless Toolkit 2.5 for CLDC and Sun Java Toolkit 1.0 for CDC, Early Access

Tuesday, August 29, 2006

GUI toolkit for Java ME/ CDC devices

During 2007 there will come more devices supporting Java ME/CDC1.1
My question is, what will new devices support, eSWT or/and AGUI?
(IBM:s j9 will of course support eSWT, but AGUI?)

Sun and Netbeans will only support AGUI because eSWT is not a JCP standard or?
But if there will not be so many devices supporting AGUI (today only SavaJe phones support AGUI).
Nokia have talked about it for a long time that they will support next generation Java platform with eSWT
Remember Nokia is the biggest Mobile phone company!!
I also wondering what SonyEricsson and Motorola will support in the future , eSWT or AGUI?
I know SavaJe support AGUI (I bought a phone at last JavaOne).

I think we will have devices during 2007 supporting Java ME/CDC1.1/Personal Basis Profile 1.1 profile with eSWT and other devices supporting Java ME/CDC1.1/Personal Profile 1.1 with AGUI (like the SavaJe phone).But of course I would like companies (with eSWT support) like Nokia to support also Java ME/CDC1.1/Personal Profile 1.1 with AGUI.

I am a little worried about if there will be a success for Java ME/CDC1.1 platform.
So far with Java ME/CDC1.0 there have not been so many devices to buy on the market.
I hope this will change with Java ME/CDC1.1!

JSR-249 does not include any GUI functions other than what’s in MIDP. I think that if it doesn't include a GUI (that is suitable for the hi-end device the JSR is targeted for) the whole JSR will miss its purpose. Personal Profile or at least Personal Basis Profile should be the obvious choice.
What do you think?

Friday, August 25, 2006

ERCP - Embedded Rich Client Platform, soon with the first release of eRCP

I read in the mailing list for the ERCP project, they is close to the very first release of the eRCP, release 1.0 it is planned to be released 9/6-2006.

It is very interesting; the intent of ERCP project is to extend the Eclipse Rich Client Platform (RCP) to embedded devices. eRCP is largely a set of components which are subsets of RCP components. It basically enables the same application model used on desktop machines to be used on devices.

Why do I think it interesting?

eRCP have some interesting components:
Core Runtime - the Eclipse Core which provides OSGI and Extension Point Framework support.
eSWT - The embedded Standard Widget Toolkit which is a subset of desktop SWT API.
SWT Mobile Extensions - a set of widgets and dialogs which are mobile device specific
eUpdate - a simplified API and interface for dynamically updating device software

I like Java standards, but what is this, is it Java standards?
No, not all of the componets!
OSGI is not new to Java ME or to the JCP, because we already have JSR 232 [Mobile Operational Management].

eSWT is not a standard, but Nokia have talked about for a long time that they will support next generation Java platform with eSWT. Nokia think the performance will increase for GUI mobile application. I have also read in newsgroups some developers think it is easier to develop good GUI application using C++ instead of Java for the symbian platform, I don’t know if is correct but with eSWT it will change.

I think we will have to new GUI toolkit eSWT and AGUI, we (developers) need to support them both.

But I am positive because I would like to have success for Java ME/CDC platform at least! I don’t think Java ME/CDC1.0/PP1.0 have been a success so far, not so many good devices have we seen.

I think we have devices during 2007 supporting Java ME/CDC1.1/Personal Basis Profile 1.1 profile with eSWT and other devices supporting Java ME/CDC1.1/Personal Profile 1.1 with AGUI (like the SavaJe phone).
But of course I would like companies (with eSWT support) like Nokia to support also Java ME/CDC1.1/Personal Profile 1.1 with AGUI.

Friday, August 18, 2006

Start developing eSWT applications for mobile phones

There are some different UI toolkits for the J2ME/CDC platform. Except Java ME/CDC’s old UI toolkit AWT, we also have AGUI (JSR-209) which is a subset of Swing for CDC. Both are standardized through the jcp process.

But Nokia talk about eSWT instead of AGUI, but eSWT is not a JCP standard.
I have playing around with eSWT for a while.
There is a good document about developing embedded apps with eSWT

1) I started with download a trial of IBM Workplace Client Technology Micro Edition 5.7
It packages the following portfolio of products:
- WebSphere Everyplace Micro Environment
- WebSphere Studio Device Developer
- WebSphere Everyplace Custom Environment
- IBM Service Management Framework

At the download page I downloaded the follow three files:
Workplace Client Technology, Micro Edition for Windows (containing all component products and tools)
- Read me (WCTMEReadme.html (50KB))
- Installation Guide (WCTMEInstall.html (20KB) )
- Workplace Client Technology, Micro Edition 5.7.1 for Windows (windows_cd.zip (611MB))

2) After downloaded all files I started the installation and choose to install “IBM WebSphere Studio Device Developer 5.7.1”.

3) Then I also need to install “eSWT (BETA) for Extension Services”
Start WSDD and in the menu select select .
Select update site: IBM Micro Environment Toolkit for WebSphere Studio
I installed this:
- SMF Bundle Development Kit
- Extension Services
- eSWT (BETA) for Extension Services
- JSR 169 (BETA) for Extension Services (add JDBC support)

4) A example application and howto configure WSDD I found in this document How to Develop eSWT Apps on WSDD 5.7.1, you also need to download the file: eSWT-WSDD-M3.zip for that document.

Today there no phone supporting eSWT, perhaps in the beginning of 2007 we will se the first phone (but I don’t know; only Nokia know).

I wondering what SonyEricsson and Motorola will support in the future , eSWT or AGUI?
I know SavaJe support AGUI (I bought a phone at last JavaOne).

For us developer it look like we have to learn both eSWT and AGUI!

update:
New article Explore Eclipse's embedded Rich Client Platform

Thursday, August 17, 2006

We need to do projects better!

I read James Gosling’s interesting blog about boiling oceans.

James says:
“my favorite principles of engineering that is all-too-often forgotten:
A journey of a thousand miles begins with a single step.
At Sun we use the term "boiling oceans" to refer to trying to do something impossibly hard all at once”

“Engineering projects too often fall into the trap of over-generalizing, trying to solve problems that folks might conceivably have, building things so large and elaborate on day 1 that they never get off the ground. It is always better to start with a first step. Then a second. And on...”

I really agree about this!
I think it is really funny how often this happen, new project start up and have to big scope. It is like people/companies newer learn the lesson and we end up with crashed projects and a lot of money spend.

I think every company need some easy rules, like:
1) Newer have a project that is longer than 6 month
2) Shit in --> shit out (we starting often develop to early), have look on this picture, I like it!
3) Some people/comany think: If we using RUP or Agile, then it is impossible to make mistakes.
4) But it is people’s competence/experience in a project that makes the success”.
I don’t think everyone in a project have to be an expert, we need beginners also but not only beginners.

Wednesday, August 16, 2006

Sun is open-sourcing Java ME, but what will be the benefit?

In the keynote at last JavaOne, Sun CEO Jonathan Schwartz and Senior Vice President Rich Green.Schwartz told us “the question is not whether Sun will open-source Java at this time, but how it will do it”.

I thought at that time it will take years before Java will be Open Source, but it was wrong!

Now I read things like Sun is open-sourcing Java ME, More info available here.

Open Source Java they have spoke about for years now.
But what will be the benefit? I don’t now?

>Sun Microsystems plans to open source its implementation of the Java ME specification
What will the benefit for me as a developer?
Perhaps it means better Java support on more devices like the Palm and PocketPC platform?

What do you think will be the benefit with open-sourcing Java ME?

Friday, August 11, 2006

JSR-232 and MSA Advanced (JSR-249)

JSR-232 (Mobile Operational Management) has now reach status proposed final draft.
"The specification is about creating a predictable management environment for mobile devices capable of installing, executing, profiling, updating, and removing Java and associated native components in the J2ME Connected Device Configuration."

If you read the interesting interview with MSA spec lead Asko Komsi, who is also Nokia's Director of Industry Relations, he talks about the future of mobile Java, you understand how important JSR-232 is for JSR-249 [Mobile Service Architecture Advanced].

In that interview you could read:
1) JSR 248 does not provide all the features enterprises need, mainly because JSR 248 defines a very static environment
2) JSR 249 is about a dynamic environment. With JSR 249, you can dynamically download new APIs to the handset. What APIs are available on the handset is no longer tied to that handset or even to what the MSA initiative can provide you with JSR 248. I think that [dynamic environment] is really what enterprises, and even consumer applications, will need in the future
3) From Nokia's perspective, we think that OSGI already offers us a lot of what we need, and it would provide an excellent framework for the dynamic environment we envision in JSR 249.
4) OSGI is not new to Java ME or to the JCP, because we already have JSR 232 [Mobile Operational Management], with Nokia and Motorola as the spec leads. From MSA's perspective, if we wanted to use OSGI, all we'd have to do would be to deploy JSR 232.
5) We anticipate that JSR 249 will exist in a draft version by the end of this year.

Tuesday, August 08, 2006

The Future of Mobile Java

I read an interesting interview with MSA spec lead Asko Komsi, who is also Nokia's Director of Industry Relations. In this interview Asko talks about the future of mobile Java, and how the MSA standard will help make it easier to develop for mobile handsets.

Wednesday, June 21, 2006

My DELL laptop PC works better now

I think a common problem for developers/consultants (and others working a lot with computers) we have to install a lot of programs (beta, alfa releases) and after a while (a short time) the performance on the laptop PC is not so good anymore.

I talked with DELL support and they told me when disk free space is lower than 50 %, performance sink 30 %!!!

Reinstall the PC is the best way to get back the performance on the PC, but it is painful, doing backups ….

But now I have bought me an extra disk and replaced it with the DVD player in my laptop. I then moved all data to this extra disk and reinstall Windows XP.
I have now all data on this extra disk (D:), on the first disk (C:) I have only windows XP and programs.
I have also moved the outlook data file to the extra disk (D:), I found out how to Move your Outlook data file to another location

It is now easy to reinstall the computer!!
Great!!
I am now also able to buy me an extra disk and easy install MacOS (or linux) on the PC and have access to the data disk, cool!!

Thursday, June 15, 2006

At least Sweden got a goal!



Sweden- Paraguay 1-0 in the World Cup in Soccer, Sweden was forced to win this match, Fredrik Ljungberg was the hero!!!

Wednesday, June 14, 2006

Guide to Java ME CDC

I found this: Guide to Java ME CDC, looks ok!

My experience with the SavaJe phone I bought at JavaOne 2006

I bought the phone at JavaOne. I thought it would be nice to have a cell phone that supports Java ME CDC and JSR-209 and of course because it was the first Java phone.

I was surprised I was able to make phone call at JavaOne (what could you expect with a developer edition).

The performance is not so good, I sync my addresses from outlook (560 addresses) and it takes a while when you try to open Phonebook in the phone now.

I haven’t stopped using my Nokia phone yet (Nokia 3230), I wait till the SavaJe phone is more stable. For me as a developer it is an ok phone, I have waiting years for JavaME/CDC phones.

I think the challenge for SavaJe now is to have good support for this phone and support the developer with new builds of the SavaJe platform.

Well I have started to develop a application using JSR-209 and works well in the developer environment (NetBeans Mobility Pack for CDC) but not so good in SavaJe phone….yet

Look also here in John O'Conner's blog posting about what people are saying about the SavaJe cell phone.

Friday, June 02, 2006

Upgrade my fedora 4 server and postfix (my mail server) didn’t work anymore

I found this information about How do I keep Fedora systems updated , I thought so easy to upgrade my server. I have to that now (20.30 pm) !!!
To start a full system update from the command-line, enter the following at the prompt:
su -c 'yum update'

Every thing looks ok, but my mail server (postfix) didn’t start!!
Shit ! Shit! Why did I upgrade my server now I thought, I have not time with this now!?
How important is it to have a mail server?
I should say VERY IMPORTANT!

I spend some hours try to figure out what was wrong and got some help from my friend Hansi, he I found this error in the log file:
Postfix: /etc/aliases.db: Permission denied

Now with help from Google I was able to solve it, I found this information about this problem after latest "yum update", postfix doesn't start
As root, from the command-line, enter the following at the prompt:
fixfiles restore
This will take a while. Then restart service postfix or reboot the machine.

Now it works!
What did we do before Google?
Hansi, thanks very much for your help!!

Wednesday, May 31, 2006

Next Generation UMPC (Origami devices) is called 'Vistagami' tablets

Funny, I haven’t even been able to try an UMPC (Origami) device yet and now Microsoft talk about Next Generation called Vistagami.

Interesting things about Vistagami:
- Hopefully, Lower prices, $500 is the price goal
- Vistagami devices will run Windows Vista, rather than XP
- As for Vistagami, Microsoft is still aiming to have devices ready by the time Vista ships early next year (January 2007).

I hope they are also able to fix the lack of all-day battery life, it is critical I believe!

Monday, May 22, 2006

what I would have to next JavaOne

a UMPC, they look very nice, check this or perhaps a Nokia 770 (you have to buy a bluetooth keyboard) or something else…

I am tired of bring my laptop pc to JavaOne, to heavy and the battery time is only 3 h.
I need something else so please Nokia (or any other company) fix it to next JavaOne, a handheld device with a keyboard like the UMPC!

My Windows XP installation crash 05.00 pm the day before departure to JavaOne, I had to reinstall my laptop pc, I finish the installation 11.30 pm and 03.30 I went up to go to JavaOne

Continue report from the NetBeans Software and JavaOne2006 conference in San Francisco

I join the NetBeans Software Day at the 2006 JavaOne Conference and JavaOne conference.

Some more interesting things from those events:

- The JavaOne conference of course had lot of session about Java EE 5.0 that was finishing some days before the conference. It is funny it was not a big happing during JavaOne that they released this huge improved version of Java EE. I think it was because developers have waiting so long for this release and most of us know a lot about this release already. Anyway I went for some EJB 3 sessions and I must say it look really nice, include in EJB 3.0 is also a new Java Persistence API (JPA). There was not so much talk about Hibernate, look to me EJB 3.0 have been accepted as a good alternative instead of using Hibernate.
- Java ME/CDC1.1 is now really hot, must of us developer working in the Java Mobility area has waiting for that a long time. At JavaOne it was showed clearly with:
1) This the first release of a SavaJe based phone called Jasper S20, the first commercial handset to run all applications in Java technology
2) Netbeans support Java ME/CDC with this new NetBeans Mobility Pack 5.5 for CDC Preview
3) Sun released the Sun Java Wireless toolkit is for CLDC
4) Company like Nokia and Motorala will soon release more devices supporting the Java ME/CDC platform. I believe there will come many Java ME/CDC devices during 2007.
- Interesting is also there will soon come some new GUI toolkit, that will replace AWT for the Java ME/CDC platform: AGUI toolkit (JSR-209) and eswt (Nokia and IBM promote it a lot). Nokia talk about eSWT for Next Generation Java in Nokia platforms, but eSWT is not a JCP standard.
- Sun promoted the Netbeans platform very hard during JavaOne, in keynotes and in technical session and in the JavaOne Pavilion. Sun strategy is to move all there products into the Netbeans platform and I think they will have success with this.
- I became interested in the Open Source database Apache Derby after I went to a technical session about Derby. I realize Derby also supports the Java ME/CDC platform and for me it is really interesting. Later I got information from a developer that have using Derby with J9 on a Pocket PC 2003, he told me:
“I have really given up on Derby as the memory footprint is just too big. You need to 8-16 Mb to really operate properly. Derby will not load a 20,000 row table with one index in 8 meg including your app, that's just doing the inserts, never mind starting to do queries!.
However, I have just the other day discovered db4o... wow this is something else! the best bit of software I have seen since google earth.
It's not an SQL database it's an Object database. Rather than me harping on about it here, take a look for yourself, it's simply amazing.
I now have my application working great, it's faster, easier and handles even bigger tables... and currently all in under 3 meg. It does take a bit of getting used to, as they is no joins. But once you do, there is no going back!
- They talked about Project Tango, SUN engineers have working with Microsoft (WCF) engineers to ensure interoperability of enterprise features in Webservices. They have now Open Source the work they have done in Tango and they called it WSIT.
- I went to a technical session about Mobile Operational Management (JSR-232), just to JavaOne they released a Public Review about it. I think this JSR will be very important for us developer in the future.
- I also went to technical session about Java Card Next generation, it was really interesting, they plan to have a webserver on the JavaCard and support access to the JavaCard with normal IP, to simplify it for developer. Really cool but this JSR will come out during 2007 and products 2008, with normal delays….2009
- AJAX was hot during JavaOne, but not for me!!I think it is time for SWING applications, with Matisse it has really get easier to develop GUI application both for Java SE and Java ME/CDC1.1 platforms.
- It look like companies supporting Open Source have easier to get attention in the JavaOne pavilion, lots of people visit sun and Jboss’s booths, but not so many people in BEA, Borland booths. Of course these company will say they support Open Source, but the main different is that they sell there products.

to be continued …..

Saturday, May 20, 2006

Report from the NetBeans Software and JavaOne2006 conference in San Francisco

I join the NetBeans Software Day at the 2006 JavaOne Conference and JavaOne conference.
Some interesting things from those events:
- I got one SavaJe phone!!, now I can start using Java ME/CDC1.1 and the new AGUI toolkit (JSR-209).
- There is also a new releases of Netbeans that support the SavaJe phone called NetBeans Mobility Pack 5.5 for CDC Preview.
- Sun announced that Jboss now have also join Netbeans
- Netbeans 5.5 beta with support for Java EE 5.0 is released.
- Netbeans subversion beta is released, it look very nice in the demo.
- There was a demo of the Jackpot module, the module adds the capability to reengineer Java source code. You are also able to add new rules easy and share with others.
- Sun promote everyone to join JCP, I thought I should join JCP, but you couldn’t do that in the JavaOne pavilion, you have to download a pdf-file and sign it and then send it as a fax. Perhaps time to fix an easier solution and using Java for that?
- There was a demo of the NetBeans Enterprise Pack, you are then able to write SOA applications using XML, BPEL, and Java web services.
- Sun also continue to open source more things like: Sun Java Studio Creator, Sun Java System Portal Server, the Business Process Execution Language (BPEL) Engine and the NetBeans Enterprise Pack, as well as Sun's Java Message System (JMS)-based message queue and Web Services Interoperability Technology (WSIT). Everything moves into the Netbeans platform, I think it is a good strategy and the Netbeans platform getting stronger!!
- MSA for CLDC (JSR-248) became in Proposed Final Draft during JavaOne, they planned to have it final in august, we will see devices with support for that during 2006Q4/2007Q1. One change was support to run on top of Java ME/CDC1.1, the reason for that was to make it easier to migrate to MSA for CDC JSR-249 when it is ready. JSR-249 first public release plans to be released 2006Q4. MSA plans in the future to be upgrade every 18 months. One other change in JSR-248 was that there will be a will two versions of the MSA, one with a subset and one with whole MSA , read more about it here at C. Enrique Ortiz' Mobility Weblog.
- The new AGUI toolkit (JSR-209) planned to be final in august.
- Sun also released a Sun Java Toolkit for CDC, Early Access, it is like what Sun Java Wireless toolkit is for CLDC, the toolkit includes the emulation environments, documentation.
- In Nokia booth they demo next release of Carbide.j, version 1.5 that will support remote debugging on the phones. It look nice and it is very good to have.

to be continued …..

Monday, May 15, 2006

Time for JavaOne!!!

I arrived on Friday to San Francisco, great to be here again, it is my 6th JavaOne.
Yesterday I went on tour “Muir Woods and Wine Country Tour”. It was a great tour with a lot of goods wines and I also liked the Muir woods with the world’s tallest trees.

But now it soon time for JavaOne, but first I will join the NetBeans Software Day at the 2006 JavaOne Conference, it is tomorrow.

See You at JavaOne and Netbeans day!!!

*****************sorry in swedish this part***************************
JavaOne, Får mig osökt att tänka på Orup... ” Nej du tar inte min Mercedes”

Nej du tar inte min JavaOne
JavaOne är min bäste vän
Du tar inte min JavaOne
Nej då kan du hälsa hem

Jag sa skjut min hund, prygla min katt, gör av med mina pengar på en lördagsnatt
Ta min fru, gör det du, men du om nån borde veta att: vill du göra mig riktigt illa
Så ta min JavaOne

Vill du åsamka mig smärta och förtvivlan utan gräns Vill du se hur mina tårar trillar, så ta min JavaOne

Wednesday, May 10, 2006

Free database for Java ME/CDC1.1 platform?

Now when it look like there will lots of devices for the for Java ME/CDC1.1 platform in the future.

What about a free database that you could bundle with your Java ME/CDC application?
Is there anyone with support for the following platforms: Symbian 9, Microsoft Windows Mobile 5.0 (for Pocket PC) and SavaJe?

How do you bundle the application (Java App and database)?
Will it be support for that in tools like NetBeans Mobility Pack for CDC?

Monday, May 08, 2006

We need JSR-249, JSR-232 and JSR-246 now!!

I think it is now time for success for the Java ME/CDC1.1/Personal Profile platform1.1!!!

But we need tools and devices for the Java ME/CDC1.1/Personal Profile platform1.1 to get this success.
So far Java ME/CDC1.0/Personal Profile 1.0 had no success in this area!
You can read things like Sun - Get you finger out! We NEED a Java Handheld / VM and Open letter to SUN to produce a JRE for Pocket PC

But a month ago the NetBeans Mobility Pack for CDC appeared!!
Netbeans was already is my favorite tool for the Java ME/MIDP 2.0 platform and now they also support Java ME/PP1.1 platform. I think now Netbeans is the best Java tool for mobility developing and it is also free!!

During 2007 I hope company like SonyErcisson, HP, Nokia, Palm, DELL will start produce more devices, with support for Java ME/CDC1.1/Personal profile 1.1 platform.

But support for Java ME/CDC1.1/PP1.1 is not enough for to get this success for the Java ME/Personal Profile platform. I think devices also need to support JSR-249 (Mobile Service Architecture Advanced) , JSR-232 (Mobile Operational Management) and JSR-246 (Device Management API).

JSR-249 provides guidelines to integrate J2ME JSRs in a uniform and predictable arrangement that is customized specifically for the advanced mobile handset. It will issue clarifications on certain components if necessary and will aim at reducing the number of available options.

It should also be possible to managed devices remotely with a modular architecture that enables extensibility after manufacturing. Push out new Java application, databases, OS updates and Java updates. In case of lost of device, lock the device remotely. It should also be possible to administration of users remotely.
All major mobile phone manufacturers worked together in order to define a 'Mobile Operational Management' concept (JSR-232). The OSGi Service Platform and the OMA DM (JSR-246) specifications provide the basis for building this standard for end-to-end management of CDC-enabled mobile handsets.

But JSR-249, JSR-232 and JSR-246 are not final yet, I hope they can speed up the process to get all these important JSR in a final stage. This is really important!!
I hope to hear news about that during JavaOne 2006 and it is now close to the 2006 JavaOne Conference!!! :-)

Wednesday, May 03, 2006

Add a Site Feed URL to my blog

Add this button to my blog:
Atom formatted XML

This is an Atom formatted XML site feed.
It is intended to be viewed in a Newsreader or syndicated to another site.

Wednesday, April 26, 2006

At JavaOne you are able to Purchase your SavaJe-based Jasper S20 phone

Read this on 2006 JavaOne Conference Homepage: JavaOne Conference Show Device--SavaJe-Based Jasper S20

Conference attendees have the opportunity to purchase the GSPDA Jasper--the first commercial handset to run all applications in Java technology. Purchase your SavaJe-based Jasper S20 phone and stop by the SavaJe booth to get your NetBeans CDC SDK. Get your hands on a SavaJe phone now, and be one of the first to develop advanced mobile graphic applications!

I wrote earlier about savaJe in my blog: Another Next Generation Java phone solution, SavaJe

I hope it work in Sweden, a very interesting solution!!

update:
More information in a blog: http://deancollinsblog.blogspot.com/2006/05/javaone.html

Friday, April 21, 2006

Hard to now what going on at JCP

For example JSR-249 has a schedule like this:
The targeted schedule for the JSR is as follows:- Expert Group formation: September 2004- Early Draft Review: December 2004- Public Review: January 2005- Proposed Final Draft: May 2005- Final Approval Ballot: September 2005

No information about the delay and what they are doing now!
Is it closed?
Is there a new schedule?

There is a mail list for JCP, it is OK, when they release a new version you get information about this, but I would like to have more information, why is not JSR-249 finished? Is there a new schedule for JSR-249?

My next computer/PDA – a UMPC?

This new type of computer called The Ultra-Mobile PC (UMPC) look really nice.

Have a look on a Video at this site: http://www.intel.com/design/mobile/platform/umpc.htm
Choose “Watch the video of possible usages”

For a Java developer this is really great!!
You can now use the Java SE 5.0 platform (on a small device like UMPC), because it is running Windows XP and develop cool mobility applications.

Many Java developers are so frustrated about the Java ME platform.
Watch out SonyEricsson, Nokia!!!
You need better devices that support the Java ME platform better.

And thanks MS for that!
Never thought I would say so ...... :-)

I also hope Apple will support UMPC, what will then get!?

Need a JVM (CDC1.1/PP1.1) to windows mobile 5.0?

Found this interesting information:
IMB Evaluation Runtime site has been updated at:http://www-128.ibm.com/developerworks/websphere/zones/wireless/weme_eval_runtimes.html

Notable updates include CDC 1.1, Foundation 1.1, Personal Profile 1.1 on Windows XP, Windows Mobile 5.0 (Dell Axim x51 reference), Windows CE 5.0, (Intrinsyc CerfPod 270M reference), RH EL 4.

MIDP 2.0/CLDC 1.1 and CDC/Foundation/PersonalProfile 1.0 runtimes also still available.Hopefully, the Handango versions will be updated. As stated, you only need to pay $5.99 for a single license. You do not need to license WSDD

Tuesday, March 28, 2006

Another Next Generation Java phone solution, SavaJe

At SavaJe’s faq you can read:
The kernel, device drivers, JVM, graphics, media framework and other low-level code is written in C or C++. The rest of the platform code is written in Java.

SavaJe OS is a complete operating system and applications platform. It includes a kernel and an integrated JVM, but it differs from other mobile Java solutions in that the JVM is an integral part of the platform, which allows efficient execution of Java code. Because Java is the application language for SavaJe OS, the JVM is less virtual than on other mobile platforms. In addition to the kernel and the JVM, SavaJe OS includes a complete set of applications and a reference UE (user experience) implementation.

SavaJe is not only a JVM!
SavaJe is an OS based on Java!

I found that SavaJe is in the conference Pavilion at this year JavaOne 2006, perhaps they have any device to show, I hope so!, a very interesting solution!

Tuesday, March 21, 2006

We get better GUI support because of Java Me / Personal profile 1.1 (JSR-216)

The main reason for version 1.1 of Personal Profile is to be able to use future CDC optional packages (derived from J2SE 1.4 instead of J2SE 1.3).
For example, the new Advanced Graphics and UI (AGUI) Optional Package for J2ME (JSR-209) is a good example.

The UI toolkit AGUI (JSR-209), is a subset of Swing for CDC, JSR-209 is in status “Proposed Final Draft”, so it not far away.

Ok, now we have a new specification for Personal Profile, but will there be companies that support it?
We need devices and tools!!
Personal Profile 1.0 had no success in this area!
You can read things like Sun - Get you finger out! We NEED a Java Handheld / VM and Open letter to SUN to produce a JRE for Pocket PC

I hope company like SonyErcisson, HP, Nokia, Palm, DELL will start produce devices, with support for Personal profile 1.1, but this is not enough you also need support for JSR-249 (Mobile Service Architecture Advanced).

I also think we need a good Open Source tool for the Personal Profile 1.1 platform!!
I hope there will be a Netbean version for the Personal Profile 1.1 platform, Netbeans is now my favorite tool for the Java ME/MIDP 2.0 platform, it is really great!!

I think it is now time for success for the Java ME/Personal Profile platform!!!
----------------------------------------------------------------
You can read this about specification for JSR-216:
Personal Profile 1.0 was derived from the J2SE 1.3.1 API specification. Since that time, J2SE 1.4 has provided a number of feature improvements and specification fixes. Personal Profile 1.1 will be derived from J2SE 1.4 and will thus reflect the most up-to-date API versions.
In addition, future CDC optional packages are likely to be derived from J2SE 1.4, and it is important for the platform receiving these optional packages (in this case, Personal Profile) to match the API version of the optional package for the sake of application compatibility and developer familiarity.For example, the Advanced Graphics and UI (AGUI) Optional Package for J2ME (JSR-209) is based on J2SE 1.4 APIs, and will require an underlying AWT infrastructure that is also based on the 1.4 design. Personal Profile 1.1 will provide the necessary support for JSR-209. Note, however, that this support is not expected to result in significant footprint increases or APIs that are unusable in the absence of JSR-209.

update: I found in this blog: What will be in next version of Mobility Pack?:
  • Mobility Pack team will focus on the 6.0 release
  • There will be support for Mobility Pack for CDC - it will be separated pack. It will provide support for CDC/PP. Exact plans when it will be available aren't published yet.
  • NetBeans Mobility for CDC is listed on agenda for Mobility Pack Day at Harrah's, Las Vegas.
  • You can use the Matisse for the CDC/PP development

:-)

Thursday, March 09, 2006

Missa inte nästa JavaForum möte den 14/3

Jag tycker dessa JavaForum möten brukar vara bra och jag kan verkligen rekommendera dessa möten. Denna gång skall mötet bland annat innehålla dessa ämnen: Jalbum, Spring 2.0, Strategier för tjänsteorienterad systemintegration med J2EE-teknik och Java i Sensornät. Agenda och hur man anmäler sig till mötet finns på JavaForums hemsida

Tuesday, March 07, 2006

I hope more Companies will show up at JavaOne 2006!

JavaOne 2006 comes closer and closer. I will go as usually, this will be my six Java conference! I feel I must go every year, I think the JavaOne conference is great!!!

What do I expect from this JavaOne? Of course learn more about Java EE 5, J2ME/MIDP 3.0, MSA for CLDC(JSR-248), MSA for CDC(JSR-249), Mobile Operational Management (JSR-232), SATSA(JSR-177) and also meet companies that supports Java with tools, Java devices Java EE AS and other Java things.

I hope at this year JavaOne 2006 we will se more companies in the conference Pavilion!! Last year at JavaOne 2005 in the conference Pavilion some big companies was missing like Borland, Sony Ericsson, Palm, Apple and IBM. HP vas there but I didn’t found any information about Pocket PC and Java, this is really bad.

A company like Nokia is really committed to support Java and they also show it for us developer at JavaOne in the conference Pavilion, that’s really great!

I have stop buying devices that not have Java support, no more PALM devices for me….if they start to support it again, I perhaps will change my mind.

I hope Nokia will release more PDA devices in the future, I would like to through a way my old Palm Tungsten T and replace it with a modern Java PDA device. I think Nokias S60 platform look great with support for J2ME/CDC 1.1 during 2006. That is kind of device I would like to buy, I hope they release it soon!!

Friday, March 03, 2006

Is J2ME/Personal Profile a dead Java version?

There's a presentation about Next Generation Java in Nokia platforms given in a Forum Nokia Tech Days event last year in August. I have here an interesting picture from this presentation:

If you read about Nokias S60 platform
"During 2006 the S60 platform will also offer rich UI support matching native capabilities (eSWT) and J2SE compatible API subset (CDC/FP)"

As I understand, Nokia will support Foundation Profile 1.1, but the graphics toolkit is not going to be based on J2ME/Personal Profile & J2ME/Personal Basis Profile, it would be based on eSWT instead.

The J2ME/Personal Profile is essentially a graphics package, a subset of AWT. It is a superset of Basis Profile, which is a graphics packaged based on the Xlet model. Basis Profile is a superset of the Foundation Profile, which supports the basic core classes, but no graphics package.

It look to me that the J2ME/Personal Profile and J2ME/Personal Basis Profiles won't be used anymore on Nokia devices. Instead we're going to have eSWT over Foundation Profile 1.1, that is, you get a (much) better windowing toolkit , but also get a very complete subset of J2SE 1.4.2, which is exactly what J2ME/Personal Profile 1.1 is.

But I am not sure about that, what is your option?
Is J2ME/Personal Profile a dead product?
If companies like Nokia start to not support J2ME/Personal Profile, then J2ME/Personal Profile will be dead product, that is my personal opinion.

update no 1: I agree with the comments from Björn C, JSR-249 should include GUI functions other than what’s in MIDP like eSWT or/and J2ME/Personal Profile.

update no 2: comments from Martin Ryzl, Sun in the Netbeans team: JSR-249 is not about UI toolkit - it's kind of standardization of APIs based on CDC configuration, similar to JSR-248 for CLDC.
Speaking about UI toolkits, you should look at JSR-209 (aka AGUI) which is a subset of Swing for CDC. We will support this technology together with Personal Profile (awt).
eSWT is not a JCP standard, thus it cannot be part of JSR-249 and until it is standardized through jcp process we won't support it.

update no 3: anonymous-comment talk about confusion and I could only agree, for me it look like Nokia will drop support for J2ME/Personal Profile and go for eSWT, if it is correct I don't now, only Nokia now.

update no 4: There are some different UI toolkits for the J2ME/CDC platform.We have awt (Personal Profile), we also have AGUI (JSR-209) which is a subset of Swing for CDC. Both are standardized through the jcp process. Nokia talk about eSWT and it is not a JCP standard, any plans standardized eSWT through the jcp process ? Will Nokia only support eSWT for the J2ME/CDC platform in the future?
I think there it is a little confusing in this UI toolkit area!
I think it would be great if Nokia could clarify this matter.

Wednesday, February 22, 2006

Tar problem med J2ME slut i och med JSR-232?

Hoppas det!!
Ett av problemen som Java utvecklare för J2ME plattformen bråttas med har varit alla buggar som funnits och svårigheten med att kunna uppgradera Java versionen i respektive telefon.
Nu är JSR 232: Mobile Operational Management på väg in i Nokia’s S60 plattform.
Resultatet blir:
1) Java stöd i mobiler för både J2ME/MIDP och J2ME/Personal Profile som dessutom har stöd för MSA som innebär en enhetlig javaplattform som spänner över många mobiler och mobiltelefontillverkare och som därmed innehåller alla bra Java API:er som vi Java utvecklare har väntat på länge.
2) Det kommer gå att på en enkelt & säkert sätt uppgradera Java plattformen i och med JSR-232

Så här säger Nokia:
During 2006 the S60 platform will be bringing even more opportunity to Java developers with the JSR 248, Mobile Service Architecture for CLDC, compatibility. JSR 248 will introduce predictable set of Core APIs and roadmap for the developers how the Core API set will develop in future. Another important introduction is JSR 232 - Mobile Operational Management, which will allow the Java capabilities of S60 platform devices to be managed both locally and remotely with a modular architecture that enables extensibility after manufacturing. During 2006 the S60 platform will also offer rich UI support matching native capabilities (eSWT) and J2SE compatible API subset (CDC/FP).The Java implementation on the S60 platform shares many common features with the implementation on theSeries 40 Platform and the Series 80 Platform. This allows developers to easily extend their applications' reach to the entire platform range.

Hittade denna fina sammanfattning av JSR-232, JSR-248 och JSR-249:
All major mobile phone manufacturers worked together in order to define a 'Mobile Operational Management' concept (JSR-232). The OSGi Service Platform and the OMA DM (JSR-246) specifications provide the basis for building this standard for end-to-end management of CDC-enabled mobile handsets. JSR-248/249 go beyond the basic JSR-232 specification. Together these build a solid base for development of middleware in form of OSGi bundles on all kinds of mobile devices - thus enabling network operators and service providers to remotely manage any kind of services on the target. The well-known OSGi concepts of remote management and maintenance of the whole software lifecycle are applied to the world of mobile phones. The upcoming OSGi Release 4 specifications are going to further finegrain the corresponding APIs in order to best-fit each platform and profile and harmonize the different JSRs.For users, who want to install new software the new approach will simplify downloads dramatically. A complete set consisting of all required components/codecs may be dynamically packaged for the specific phone, downloaded and installed in the background while the phone is still in use. Security during download and operation is significantly increased. For developers, the numerous new APIs and runtime features e.g. for message queuing and connectivity will make it easier to write feature-rich applications and enable inter-phone and server-driven applications. Packaging of applications will become a lot simpler than nowadays.

Java EE5 -- har kommit!

Java EE5 har kommit!
I alla fall en beta version av Java EE 5 finns att ladda ner kallad Java EE 5 SDK Preview.

Dessutom finns Netbeans 5.5 beta med Java EE5 stöd att ladda ner, den
kallas Preview: NetBeans IDE 5.5 with NetBeans Enterprise Pack , som innehåller:
- NetBeans 5.5 Preview with Java EE 5 support
- NetBeans Enterprise Pack 5.5 Preview with BPEL, XML, and UML support
- Sun Java System Application Server PE 9 Beta
*****************************************************************************************
This preview gives developers an early look at a collection of tools that enable Java EE5 development and creation of Service Oriented Architecture
(SOA) applications. It is all here in a special one-time bundle integrated with the NetBeans IDE 5.5 Preview: UML Modeling, Visual Design Tools for SOA Architects, and Java EE 5 SDK Preview.

This special sneak peek is available for those of you who want to get a head start designing and developing next generation Java EE5 and SOA applications. Our goal is to make it easier for you to model, implement, and deploy Web services, business processes, and SOA architectures with the best new tools we have to offer -- all in one preview release made available to the NetBeans community.

***************************************************************************************

SOA

"SOA är som tonårssex. Alla pratar om det, få gör det och de som gör det gör det dåligt", citat från Ross Altman, Suns teknikchef i Computer Sweden 2006-02-22 nr 21

:-)

Tuesday, February 21, 2006

Netbeans 5.0 och Subversion

Min favorit Java utvecklingsverktyg just nu är Netbeans 5.0 och när det gäller versionshantering av kod använder jag Subversion. Jag har därför installerat stöd för detta i Netbeans 5.0.
Jag följde de installationsavisningar som finns för att installera subversion i Netbeans5.0. Dessutom var man tvungen att installera subversion command line client vilket inte framgick av installationsanvisningarna, hämta därför hem svn-1.3.0-setup.exe.
Det visade sig att vissa saker inte gick att göra inne i Netbeans’s Subversion, jag installerade därför även Subversion klienten TortoiseSVN, hämtade hem: TortoiseSVN-1.3.1.5521-svn-1.3.0.msi. När jag går bet inne i Netbeans så använder jag Tortoise, vad bra! Tilläggas bör väll även göras att jag även använder Eclipse och tycker också den är bra, jag gillar att jobba med både Netbeans & Eclipse! Två bra Open Source Java utvecklingsverktyg som är bra helt enkelt! Vad bra det är med konkurrens!

Java och mobiltelefoner, Palm och PocketPC

Min erfarenhet är att terminalen skall ha Java stöd från början, då finns det chans att det kommer fungera att skriva Java applikationer. Fördelen är att tillverkaren tar ansvar för att Java stödet fungerar och rättar upp eventuella buggar. Att installera Java stöd själv är inte att rekommendera, det blir bara en massa problem, det är min erfarenhet.

Idag då man köper en mobiltelefon med Java stöd måste man veta vilken version av J2ME Profile som stöds. Den senaste versionen för mobiltelefoner är J2ME/MIDP 2.0 och den senaste versionen för PDAer är det J2ME/Personal Profile 1.1.
Men även vilken version av J2ME Configuration är intressant. För J2ME/MIDP är den senaste CLDC 1.1 och för J2ME/Personal Profile är den senaste CDC 1.1.

J2ME/MIDP2.0 finns det många tillverkare av mobiltelefoner som stödjer.
Tyvärr räcker det inte med stöd för J2ME/MIDP2.0 för att bygga lite mera avancerade Java applikationer, då måste man hålla koll på vilka extra Java API:er (J2ME Optional package) som telefoner stödjer.

Java världen har också insett detta problem med fragmenteringen av Java plattformen för mobila plattformen. För att motverka fragmenteringen av Java plattformen så håller det på att tas fram en Mobile Service Architecture (MSA). MSA skall ses som en fortsättning på arbetet med JTWI, syftet är att få en enhetlig javaplattform som spänner över många mobiler och mobiltelefontillverkare.
Det finns en MSA for CLDC (JSR 248) och en MSA för CDC (JSR 249). JSR 248 är en paraply JSR bestående av 23 st JSR’er.

Så i framtiden kommer Mobile Service Architecture för CLDC (JSR 248) vara värdefull vid val av mobiltelefon, men i väntan på att MSA blir klar så får vi klara oss på annat sätt.

Nokia har lanserat Nokia plattform S60 som innehåller alla bra Java API:er som vi Java utvecklare har väntat på länge. S60 plattformen är JTWI compliant och innehåller de extra Java API:er som MSA för CLDC förväntas komma innehålla.
Java MIDP in S60:
- Complete JTWI 1.0 compliancy, JSR-185 (2nd Edition Feature Pack #2)
- Location API, JSR-179 (3rd Edition)
- SIP API, JSR-180 (3rd Edition)
- Security and Trust Services, JSR-177 (3rd Edition)
- WMA API 2.0, JSR-205 (3rd Edition)Cell Broadcast and CB Push Registry support (2nd Edition Feature Pack #3)
- Scalable 2D Vector Graphics API, JSR-226 (3rd Edition)
- Effects of Scalable UI for Java MIDP (2nd Edition Feature Pack #3)
- J2ME Web Services Specification, JSR-172 (2nd Edition Feature Pack #3)
- Enhancements for Java APIs for Bluetooth, JSR-82OBEX support (2nd Edition Feature Pack #3)Push registry support (2nd Edition Feature Pack #2)
- CLDC 1.1, JSR-139 (2nd Edition Feature Pack #2)
- PIM API, JSR-75 (2nd Edition Feature Pack #2)
- FileConnection API, JSR-75 (2nd Edition Feature Pack #2)
- Mobile 3D Graphics API, JSR-184 (2nd Edition Feature Pack #2)
- Enhancements for Mobile Media API, JSR-135Midi control support (3rd Edition)Streaming media support (2nd Edition Feature Pack #3)Mobile Media API 1.1 (2nd Edition Feature Pack #1)

När det gäller J2ME/Personal Profile 1.1 så har det varit dåligt stöd för detta bland terminaltillverkarna. Men det har börjat komma ett antal mobiltelefoner/PDAer för J2ME/Personal Profile, bland annat finns Nokia series80 plattformen. Den har stöd för både J2ME/MIDP & J2ME/Personal Profile.
Men under 2006 kommer Nokia series 60 att bygga på CDC 1.1 (JSR-248) och det kommer att vara möjligt att köra både J2ME/MIDP och J2ME/Personal Profile applikationer.

När det gäller Pocket PC och Java är det problem.
Microsoft levererar naturligtvis inte med Java stöd och tillverkarna av PocketPC verkar inte intresserade att lägga på Java stöd från början.
Men det finns lite olika alternativ om man vill installerar Java stödet själv.
Några olika jvm’er:
- J9 från IBM
- CrEme4.1 från NSICOM
- Mysaifu JVM, (Open Source)
CrEme4.1 var enklast att installera!
J9 går att installerat om man har installerat IBMs utvecklingsverktyg WSDD 5.7.1, det följer med olika jvm’er.

När det gäller Palm och Java så levereras det inte med stöd för J2ME/MIDP 2.0.
Men Palm ger delvis support på Java, det går att ladda ner Java stöd och det är IBMs J9 som finns tillgängligt för nerladdning. Tyvärr har Palm inte Java stöd för nya modeller som t.ex. Palm LifeDrive och Palm TX.

Så jag har väll köpt min sista Palm, synd tycker jag, jag har alltid gillat Palm. :-(