Skip to main content

Deploying java me apps

3 replies [Last post]
interwanderer
Offline
Joined: 2007-10-29
Points: 0

Hello,

I am wondering what may be important when deploying java apps to a mobile device...
Hope you guys(and/or girls) can help me answer some (deployment) questions I'm stuck with...
my main questions concern https websites and certification on the device itself.
here are my questions:

Do I have to take in account the operating system on wich I want to deploy?

Is it just possible to browse to a website and download a java app, even if it is https, will I get a pop up if it's a https website (ssl)?

I heard I need a "Sun Java Signing Digital ID" to deploy on mobile devices. Is this true ?

What is the easiest way to deploy java applications? I would think thru a website... but what measures do I need to take...

Also... would it be possible to use "push sms"? sending an sms to the device and having the device downloading an app?

Tips and hints are more then welcome.. I hope to learn as much as possible about deploying java to mobile devices...

thx alot, hope you can help :-) !!!

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
Points: 0

Rick, thanks for the answers.

Internetwanderer, you may want to also check this article:

http://developers.sun.com/mobility/midp/articles/deploy/

A bit old but the basics haven't changed.

-- Terrence

Richard Marejka

I'll take a whack at some of these, I'm certain others will correct
and expand

Do I have to take in account the operating system on wich I want to
deploy?

No, you may want to establish the minimum (Java ME) software
footprint that you need.

Is it just possible to browse to a website and download a java app,
even if it is https, will I get a pop up if it's a https website (ssl)?

Think of the JAD file as a URL. Use the device's built-in browser to
enter the URL. Surfing to the URL should trigger a request to install
an application from the device.

I heard I need a "Sun Java Signing Digital ID" to deploy on mobile
devices. Is this true ?

Carriers can and do restrict access to MIDlet suites that have been
digitally signed. There are others who have more experience and
qualifications on the alias that can answer this question.

What is the easiest way to deploy java applications? I would think
thru a website... but what measures do I need to take...

Really simple, serve the JAD and JAR from a web server. Make sure the
MIME type is set in the server such that JAD is associated with "text/
vnd.sun.j2me.app-descriptor". Using the Sun Java System WebServer 7
this is found in breadcrumb Configurations >> "name of configuration"
and tab menu "General / MIME Types". A common error is to have the
incorrect JAR file URL in the JAD file.

Also... would it be possible to use "push sms"? sending an sms to the
device and having the device downloading an app?

You should read JSR 211 CHAPI, although in my experience this is not
a widely deployed. This situation will improve - CHAPI is a required
component of MSA compliance.

Tips and hints are more then welcome.. I hope to learn as much as
possible about deploying java to mobile devices...
I'll shamelessly plug Sun's Java ME Technology - Mobile Service
Architecture page as a good source of Java ME and MSA focused content
- follow the image map links. There is a short article in preparation
that illustrates the use of SVN, Netbeans and WebDAV (using the Sun
Java System Webserver 7) for source code mgmt and deployment.

Rick Marejka
Sun Microsystems, Inc

On 29-Oct-07, at 9:36 AM, meinterest@mobileandembedded.org wrote:

> Hello,
>
> I am wondering what may be important when deploying java apps to a
> mobile device...
> Hope you guys(and/or girls) can help me answer some (deployment)
> questions I'm stuck with...
> my main questions concern https websites and certification on the
> device itself.
> here are my questions:
>
> Do I have to take in account the operating system on wich I want to
> deploy?
>
> Is it just possible to browse to a website and download a java app,
> even if it is https, will I get a pop up if it's a https website
> (ssl)?
>
> I heard I need a "Sun Java Signing Digital ID" to deploy on mobile
> devices. Is this true ?
>
> What is the easiest way to deploy java applications? I would think
> thru a website... but what measures do I need to take...
>
> Also... would it be possible to use "push sms"? sending an sms to
> the device and having the device downloading an app?
>
> Tips and hints are more then welcome.. I hope to learn as much as
> possible about deploying java to mobile devices...
>
> thx alot, hope you can help :-) !!!
> [Message sent by forum member 'interwanderer' (interwanderer)]
>
> http://forums.java.net/jive/thread.jspa?messageID=242677
>
> ======================================================================
> =====
> To unsubscribe, send email to listserv@java.sun.com and include in
> the body
> of the message "signoff KVM-INTEREST". For general help, send
> email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

interwanderer
Offline
Joined: 2007-10-29
Points: 0

That was a quick reply :-)

thx alot for the info. I'm gonna look in to it right now :-) .

offcourse, if anyone else has some more info, it's more then welcome :-)

regards,

Erdem