Enterprise applications and mobile applications have quite different requirements. Starting an enterprise application is just something you do once before it continue running for months or years. On the other side of the spectrum most mobile applications seldom runs for more than minutes, run by a bored users standing in line or riding the bus. [...]
Learn to Stop Worrying and Love the Singleton
January 15th, 2010 by Fredrik Olsson — Android, Architecture, Embedded, Java, Tips & Tricks
Tags: design patterns, java me, mobile, mock, performance, spring ldap
Java ME: The Lost Application
December 11th, 2009 by Darius Katz — Embedded
As a professional Java ME developer I’ve never really come to terms with the MIDlet class and its underlying aesthetics. As a sort of remedy I often use a simple utility-class I wrote some years ago to conceal the principles of the MIDlet class. It concerns the way you write your Java ME-application so I [...]
Tags: innovation, j2me, java me, programming
Getting started with JavaME jUnit testing
March 22nd, 2009 by Mattias Severson — Embedded, Java, Testing
Introduction Unit testing is a very powerful tool that should be included in every developer’s toolbox. Unfortunately, this has not always been the case, especially not among MIDlet developers. One reason is that JavaME projects usually are small (compared to Java SE projects), which implies that manual testing could be enough. However, as soon as [...]
Tags: java me, junit, mock, powermock
How to mock MIDP RecordStore
March 22nd, 2009 by Mattias Severson — Embedded, Java, Testing
The challenge PowerMock is a mocking framework that claims to have almost supernatural powers. According to its documentation it is able to mock both static and private methods, final classes, and other nasty things that would be insurmountable obstacles for other mock frameworks. As a result, it has been stated that it should be able [...]
Tags: java me, junit, mock, powermock
LWUIT – an introduction
May 1st, 2008 by Johan Karlsson — Embedded
Have you ever tried to create a business application in Java ME? The user interface toolkit provided by MIDP 2.0 is very limited. There is now an alternative toolkit available. Read on and you will learn about this new user interface toolkit. But be aware, there will be some spiffy source code and an accompanying [...]
Tags: java me, jayview, midp, mobile, ui
Java ME Graphics –The Next Generation
February 1st, 2008 by Anders Göransson — Embedded
It has long been difficult if not virtually impossible to use graphics that adapt to the various screen sizes and aspect ratios that come with different mod- els of mobile phones. Neither has it been easy to create, generate and run animations as part of the user interface. The graphic capabilities of MIDP have always [...]
Tags: graphics, java me, jayview, midp, programming, ui
Aspect Oriented Programming In Java ME
February 1st, 2008 by Magnus Robertsson — Embedded, Java
Do you want to structure your Java ME applications better? Aspect Oriented Programming is a cool technology that can modularize your applications and separate the verbose infrastructure code from the application logic. The only catch is that it doesn’t exist for Java ME. Or does it? Introduction Aspect Oriented Programming (AOP) is gaining popularity within [...]
Tags: aop, innovation, java me, jayview, open source, programming
3DAudio – on mobile devices
February 1st, 2008 by Peter Winzell — Embedded, Java
Hear that chopper closing in on your troops? Turn your head and see… 3D Sound in your cellphone? Read this article to find out how it is done and how you make it happen on your phone. The ability to simulate spatial sound allows listeners to experience multimedia applications in “a captivating and natural way” [...]
Tags: audio, java me, jayview, programming
Java ME Testing Done Right
February 1st, 2007 by Magnus Robertsson — Embedded, Testing
Is there a right or wrong way to unit test applications? We believe so. Especially when it comes to testing Java ME applications. Down-scaled copies of our faithful testing frameworks are popping up everywhere in the Java ME community. But has anyone dared to ask the question: Why? The Problem Java Micro Edition (Java ME) [...]
Tags: frameworks, java me, jayview, mockme, open source, programming
