Chris Wade Chris developed much of the Forms handling code and also the hooks for the XFA.

Java ME vs Java SE – a few thoughts

1 min read

I have been doing a lot of work to create a JavaME version of our JPedal PDF viewer, so I thought some observations might be interesting.

On a positive note, the thing that struck me was how complete the top end version of JavaME is. In particular, support for the Graphics2D object means you can build some fairly sophisticated applications for mobile devices. What is missing is some of the finer functionality such as the ability to convert between ColorSpaces. That said, there is usually an alternative.

The biggest aspect of JavaME I have found is its adaptability with the use of add ons, the biggest head ache for most developers is figuring out which extra jar’s, ie packages are needed for the functionality you need.

another issue you will need to handle is File Handling as JavaME has no JFileChooser for example, you can open files but you have to manually key in the location of the file you want, or add a custom file browser to locate the file you want.

JavaME’s top end version is so close the JavaSE but lacks those tiny details that pdfs have so many of i.e. different colorspaces for all the different image types which are supported in PDF files, this makes converting a PDF library to work on JavaME quite a challenge. Indeed if you are prepared to invest that much effort in it may be worth porting the code to GWT(google web toolkit) or Android instead.

Java ME has 2 real issues at the moment,
1 – with Oracle promising to merge SE and ME, does ME have a future?
2 – more for the mobile community, will SE work on the majority of mobile phones in the market, with only half of JavaME’s current structure working on current mobile phones.

What do you think about this?

View PDF files in a web application →

Parse PDF files as HTML →

Display PDF Forms in a web browser →

View PDF Documents in Java Applications →

Rasterize PDF Documents to image →

Read/Write images (including HEIC, JPG and WEBP) →

Convert Image files to PDF Documents →

Chris Wade Chris developed much of the Forms handling code and also the hooks for the XFA.

2 Replies to “Java ME vs Java SE – a few thoughts”

  1. hi i am a final year student of b.e. and building a project to read pdf file in j2me but till now i m nt geting any api which can help me to do this can u help me to find some one

Leave a Reply

Your email address will not be published. Required fields are marked *

IDRsolutions Ltd 2022. All rights reserved.