Skip to main content

How is it possible to have javax.naming with J2ME ?

2 replies [Last post]
suzi
Offline
Joined: 2007-01-24

I know that J2ME don't have the javax.naming library. But I really need to have this one for Pocket PC. Do you have a solution which could help me ? Maybe is it possible to add this library ?

Thank You,

Suzi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
terrencebarr
Offline
Joined: 2004-03-04

Hit the "Post Message" button to early ...

You might also want to monitor JSR 279 for future use:

http://jcp.org/en/jsr/detail?id=279

The bottom line is that you can either use the commercial product listed above or you can build your own little proprietary protocol that talks HTTP between the device and a JNDI proxy server.

-- Terrence

terrencebarr
Offline
Joined: 2004-03-04

Suzi,

javax.naming and JNDI are Java EE technologies so they are not directly available in Java ME.

However, you might find the following information interesting:

- http://www.jtom.de/What_s_jtom.14.0.html?&L=2

- http://archives.java.sun.com/cgi-bin/wa?A2=ind0109&L=kvm-interest&P=9824

Hope that helps,

-- Terrence