tags:

views:

28

answers:

2

i want to make application send a message via J2me application to the server(Tomcat J2ee) and the sever will back message to my J2me application. Request response model between J2me and J2ee(Tomcat server).....

A: 

Your best option is use HTTP to do that. So, on the JavaME end, you will issue HTTP REQUEST that will call a Servlet running in your JavaEE AppServer and processing the request.

Pablo Santa Cruz
@Palo any relevant tutorial if you can share which explain via codeexample or text tutoial....
ali
+1  A: 

Maybe this article from Sun will help.

npinti
This article is good but i have some problem if you can help me.when i send email using the last code example.An Error found can not connect to SMTP server...........
ali
@npinti This article is good but i have some problem if you can help me. when i send email using the last code example. An Error found can not connect to SMTP server..........
ali
Sorry for the delay. Are you sure that you are giving the IP and Port of the SMTP server of your email provider?
npinti