Socket connection

Socket connection

Hi everyone!!
I am a student in Viet Nam and codding project about J2me, using Netbean 6.8 simulator mobile cilent. I have file.xml in server (PC), I want to send to client by socket conection, everyone please help me!!
If not use socket, can I use other conection??
View Answers

January 16, 2010 at 3:36 PM

Hi Friend,

Please visit the following links:

http://www.roseindia.net/j2me/kxml/index.shtml
http://www.roseindia.net/j2me/kxml/connection-address-xml.shtml

Hope that it will be helpful for you.
Thanks

January 16, 2010 at 9:30 PM

I am thank Deepak123 very much!!! you have given me that I need, thank a lot!!
PS: If i use Tomcat 6.2,where can I put AddressBook.xml in directory??









Related Tutorials/Questions & Answers:
Socket connection - MobileApplications
Socket connection  Hi everyone!! I am a student in Viet Nam... file.xml in server (PC), I want to send to client by socket conection, everyone please help me!! If not use socket, can I use other conection??  Hi Friend
socket connection: how to parse data from server?
socket connection: how to parse data from server?  hi, I am a j2me programmer,i want to retrieve some data from server using socket connection,I h'v established the connection through the port and getting the data from the server
Advertisements
connection
the connection with the available port on the host machine: import java.net....{ DatagramSocket socket = new DatagramSocket(); if(socket.isBound()) System.out.println("Socket is bound"); if(socket.isConnected()) System.out.println("Socket
Connection
Connection  What is Connection
Java Socket
component called a socket. The socket opens the network connection...Java Socket  What is a socket?  Sockets are communication channels, which facilitate inter-process communication. A socket is one end
connection
connection   how to make multiple database connection using jdbc
What is Java Client Socket?
that handles one connection at a time, and a socket server that can handle mulitple socket connections. To get connection in client socket in java used the class...What is Java Client Socket?  Hi, What is client socket in Java
Socket and ports
with a socket. Socket classes are used to establish a connection between client... connection and second is server socket, which implement the server side connection... is to listen an incoming connection request and ordinary socket is used to ask
socket programming
socket programming  how to create server socket in web service...it will read parameter from file
socket programing
socket programing  how can u pass data from 1-another system by socket class
Socket Programming
Socket Programming  How to connect a computer through IP only and check whether it is up and running? I can't see any method in Socket programming where I can pass only IP address as argument. I need the pass port number also
regarding socket - Development process
regarding socket  sir I have a project of socket. which takes input from user(client) and checks in database(server) and sends the responses to client but I am facing problem this connection maintains for only single thread
Socket and ports
with a socket. Socket classes are used to establish a connection between client... connection and second is server socket, which implement the server side connection... is to listen an incoming connection request and ordinary socket is used to ask
socket programing in servlet
socket programing in servlet  give me a example to write socket programing in servlet
Failed Client-Socket Communication
Failed Client-Socket Communication  I hve written a server program... connection with the client. I am at my wits end!Can someone run the code for me &...{ ServerSocket s = new ServerSocket(9001); for (;;){ Socket
Java Socket Programming
Java Socket Programming  Hi, What is Java Socket Programming? Can anyone give the examples of Java Socket Programming? Thanks   Hi, Please see the tutorial:Overview of Networking through JAVA Thanks
Java Socket Programming
Java Socket Programming  Q.server get terminated after sleep time... ServerSocket(8189); Socket mys=s1.accept..."); //Defining connection URL String conurl="jdbc:odbc
Java socket programming
Java socket programming  Hey i want to transfer a file from Server to Client or vice-versa using JAVA socket programming. Can you please guide me
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
Connection pooling
Connection pooling  What is Connection pooling
what is rmi n socket - Java Interview Questions
just waits, listening to the socket for a client to make a connection request...: 1.what is rmi? 2.what is socket? 3.which one is superb? 4.what are the difference... on different machines Socket information. Normally, a server runs on a specific
Setting source port on a Java Socket?
Setting source port on a Java Socket?  Is it possible to explicitly set the the source port on a Java Socket
connection closing
connection closing  hello, what happens if connection is not closed
JAVA Socket Programming
JAVA Socket Programming  i m working on a java project which has multiple client and one server instance how can i make server respond to multiple client simultaneously
socket programming in java - WebSevices
socket programming in java  hello i hv made a socket program using which a server and a client can communicate.can both the server side and client side program run on the same machine or 2 different computers (connected by LAN
Socket and Servert -Jsp
Socket and Servert -Jsp  I have two servers,one server we have one servlet and another sever we have one jsp when a client send the request to first server first servelt executes and inside that servlet we need to use the socket
Socket Programming in Servlets - JSP-Servlet
Socket Programming in Servlets  How to write a TCP/IP socket program inside a servlet...Is it possible....Please give your suggestions......Thanks in advance
Version of com.espertech>esperio-socket dependency
List of Version of com.espertech>esperio-socket dependency
Version of com.payneteasy>socket-nio dependency
List of Version of com.payneteasy>socket-nio dependency
socket - Java Beginners
client program. i have created only one server socket for all the sockets.. is there any exception will occur if i use only one socket for both sign out and sign
ModuleNotFoundError: No module named 'cothermo-socket'
ModuleNotFoundError: No module named 'cothermo-socket'  Hi, My... named 'cothermo-socket' How to remove the ModuleNotFoundError: No module named 'cothermo-socket' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'micropython-socket'
ModuleNotFoundError: No module named 'micropython-socket'  Hi, My... named 'micropython-socket' How to remove the ModuleNotFoundError: No module named 'micropython-socket' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'peer-socket'
ModuleNotFoundError: No module named 'peer-socket'  Hi, My Python... 'peer-socket' How to remove the ModuleNotFoundError: No module named 'peer-socket' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'pycopy-socket'
ModuleNotFoundError: No module named 'pycopy-socket'  Hi, My... 'pycopy-socket' How to remove the ModuleNotFoundError: No module named 'pycopy-socket' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'pycopy-socket'
ModuleNotFoundError: No module named 'pycopy-socket'  Hi, My... 'pycopy-socket' How to remove the ModuleNotFoundError: No module named 'pycopy-socket' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'pytest-socket'
ModuleNotFoundError: No module named 'pytest-socket'  Hi, My... 'pytest-socket' How to remove the ModuleNotFoundError: No module named 'pytest-socket' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'socket-chatroom'
ModuleNotFoundError: No module named 'socket-chatroom'  Hi, My... named 'socket-chatroom' How to remove the ModuleNotFoundError: No module named 'socket-chatroom' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'socket-cli'
ModuleNotFoundError: No module named 'socket-cli'  Hi, My Python... 'socket-cli' How to remove the ModuleNotFoundError: No module named 'socket-cli' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'socket_executor'
ModuleNotFoundError: No module named 'socket_executor'  Hi, My... named 'socket_executor' How to remove the ModuleNotFoundError: No module named 'socket_executor' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'socket-gatekeeper'
ModuleNotFoundError: No module named 'socket-gatekeeper'  Hi, My... named 'socket-gatekeeper' How to remove the ModuleNotFoundError: No module named 'socket-gatekeeper' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'socket-tentacles'
ModuleNotFoundError: No module named 'socket-tentacles'  Hi, My... named 'socket-tentacles' How to remove the ModuleNotFoundError: No module named 'socket-tentacles' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'socket-wait'
ModuleNotFoundError: No module named 'socket-wait'  Hi, My Python... 'socket-wait' How to remove the ModuleNotFoundError: No module named 'socket-wait' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'socket-chatroom'
ModuleNotFoundError: No module named 'socket-chatroom'  Hi, My... named 'socket-chatroom' How to remove the ModuleNotFoundError: No module named 'socket-chatroom' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'socket-cli'
ModuleNotFoundError: No module named 'socket-cli'  Hi, My Python... 'socket-cli' How to remove the ModuleNotFoundError: No module named 'socket-cli' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'socket_executor'
ModuleNotFoundError: No module named 'socket_executor'  Hi, My... named 'socket_executor' How to remove the ModuleNotFoundError: No module named 'socket_executor' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'socket-gatekeeper'
ModuleNotFoundError: No module named 'socket-gatekeeper'  Hi, My... named 'socket-gatekeeper' How to remove the ModuleNotFoundError: No module named 'socket-gatekeeper' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'socket-tentacles'
ModuleNotFoundError: No module named 'socket-tentacles'  Hi, My... named 'socket-tentacles' How to remove the ModuleNotFoundError: No module named 'socket-tentacles' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'socket-wait'
ModuleNotFoundError: No module named 'socket-wait'  Hi, My Python... 'socket-wait' How to remove the ModuleNotFoundError: No module named 'socket-wait' error? Thanks   Hi, In your python environment

Ads