Andrej Koelewijn

6/11/2005

Java 1.5 new features

Filed under: — site admin @ 4:43 pm

Interesting read about some new features in j2se 1.5: Five Favorite Features from 5.0. Good timing, as i started using jdk 1.5 this week: i’ve been trying Hibernate 3.0 with annotations. I’ve used Hibernate in the past in combination with xdoclet, switching to annotations is pretty straight forward.

Something you might run into when starting with annotations is the following error message:

Error(8):  cannot find symbol

It’s not a very helpfull error message, but you can solve it by importing the class for the annotation you are using:

import javax.persistence.*;
@Entity
@Table(name="EMP")
public class Emp {

6/19/2003

Getting into J2ME

Filed under: — andrejk @ 12:00 am

I recently got a new mobile phone, a Nokia 6310i, with support for J2ME. So now i’m trying to find out how J2ME works and how usefull it is. Sofar,i’ve got my own HelloWorld MIDlet running…

Some usefull documents to get started with J2ME: – J2ME datasheetMIDP datasheetBill Day’s wireless 101Nokia developers forumUsing Ant and Antenna to Build MIDP Applications v1.0 (From nokia forum)

3/15/2003

What size do you prefer?

Filed under: — andrejk @ 7:40 pm

This was the big question in a discussion i had yesterday with an IT manager working for vodafone-live. He gave a presentation about the j2ee intrastructure used for vodafone-live at an IT-eye seminar yesterday. Vodafone-live is a portal for internet phones, and he demoed it on a panasonic gprs phone. This panasonic phone is a small clamshell phone, with a tiny color screen, just big enough to do some basic web browsing. Info about trafic jams, restaurants etc. His vision for the future was something called a PAP, personal access point. PAP phones would be as small as possible, i.e., smaller than the panasonic he demoed, and for people requiring a larger screen, public screens will be available everywhere. All your data and applications would be available through this phone. Sounds like a miniature x-terminal.

My reaction was, why not pda sized? I’ve tried one of those new sony clie’s, with the 320×320 color screen, and that’s a lot better than the tiny phone screen. So i’m waiting for sony to integrate a phone into their newest pda, you know the one with a keyboard, 480×320 screen, 2 megapixel camera. Seems like the perfect combination of usable screen size and portability. I really don’t like the idea of having to find a public screen when i need more screen real estate. Feels like a return to the kermit phones (anybody in the netherlands remember?). This was a mobile phone system, where you had network access only on certain points near an antenna. Big mistake.

And with the power of todays pda’s (400 Mhz) i feel it’s almost time to throw out the notebook. Just take your pda to work, plugin it into a docking-station, connect it to a screen and keyboard, and you don’t need a real pc or laptop anymore.

Another interesting thing mentioned yesterday was that j2me is really doing well on mobile phones. Guess it’s time to try it out. The big hit now is a formula one racing game. Total size 37Kb. About the size of the old commodore 64 games. Maybe we can convert all those to j2me. Any takers for hero and delta?

Powered by WordPress