• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

J2ME Classloader - Reloaded

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

I am developing a classloader for J2ME supported devices as we all know this feature is not provided by Core J2ME Apis. I am already in half the way in development. I just want to know what all functionality you feel that are missing in the J2ME apis. (Please note provide with those requirements that are compatible with J2ME APis.)
For Example:

1. Class Loading functionality.
2. Recordstore size increased by building a recordstore api that writes and reads the records on FileSystem.

I want some requirements like these... and what all you expect from a class loading feature.

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At the very least the class loader should have methods for accessing resources from JARs, eg:


getResource(String resource)
getSystemResource(String resource)
getResourceAsStream(String resource)
getSystemResourceAsStream(String resource)


JME (Java Mobile Edition) has very basic IO functionality which is greatly reduced when compared to JSE (Java Standard Edition). The InputStream and OutputStream classes are present in the JME CLDC API. You should in theory be able to read a resource (eg properties file) from a JAR in JME which is in the classpath (specified by the manifest file or through a program parameter). Is your class loader for JME going to be available for CLDC devices?
 
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic