How to make local server in j2me
hi can i anyone help me out to establish a local server. i am using netbeans and dont know how to make loca server and how can i make the connection. i know about socket connection, http connection and datagram connection but dnt know about server connection where i can register my midlet and recieve data from it and post it aswell.
Best Regards
Naseem Sarwar
hi
write a servlet on ur server side for handling clients data and also it response back once data to another..
and simply on clients write HttpConnection code for sending/receiving data ..
always think abt optimiztaion of data send/recieve for speed.
regards
Akash Kumar & Nagendra
[email protected]
[email protected]
Indiagames Ltd
Similar Messages
-
How to make the server threadsafe (Please Help)
Hi to all,
I have urgent question, and any
reply will be welcome.
How i make my server that use rmi threadsafe,
i want that each request from clients,the
server will make a separate thread.
the ejb use jndi to do this, how can i do this in rmi
i want that a client will get a reference to a factory
object in the server, the factory object will create a
thread and will return the reference to the client.
Thanks,
danHi Bill,
Thanks for your reply.
at the rmi specification it said that :
3.2 Thread Usage in Remote Method Invocations
A method dispatched by the RMI runtime to a remote object implementation may or may not execute in a separate thread. The RMI runtime makes no guarantees with respect to mapping remote object invocations to threads. Since remote method invocation on the same remote object may execute concurrently, a remote object implementation needs to make sure its implementation is thread-safe.
this is all what sun has to say about using
threads with rmi.
do you have any example for using rmi server
that handle concurrent access?
again,
lots of thanks for your help.
dan -
How to Make exchange server 2010 an IMAP server
hi
how do I Make exchange server 2010 an IMAP server?
Any step by step guide?
tnxHi,
To configure IMAP for Exchange 2010, you can refer to the above suggestions and try the articles.
Moreover, here is reference about how to configure Exchange account with IMAP mode:
http://support.sherweb.com/Faqs/Show/how-to-configure-a-imap-account-in-outlook-2010-exchange-2010
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
If you have any question, please feel free to let me know.
Thanks,
Angela Shi
TechNet Community Support -
How to make a call in J2ME MIDLET
How to activate a call in J2ME ?
Eg. On click of an icon a call should be made to a predifined number in the app.To make a call using javax.microedition.midlet.MIDlet.platformRequest().
for eg:
String telNo = "tel:+9682651761543";
platformRequest(telNo ); -
How to make a server for field "Server name"[ON HOLD]
<p>How do you create a server to connect to. i circled the part that i need</p><p>i need to make the server but i dont know how to make it this is what is say
server name
i want to know how to make the serverPlease try to clarify the question again :-(
I am sorry, but it is not clear to me, what you are asking.
what is "make the server"?
The server is an application created by Microsoft, you do not need to make it. did you mean install the SQL Server? or maybe how to connect the SQL Server after you installed it?
Ronen Ariely
[Personal Site] [Blog] [Facebook] -
How to make the server respond with a popup?
I want to make the server respond with a popup?my code is like this,but it does not work,why?
<code>
public class Welcome2
public static void main(String[] args)throws IOException
ServerSocket server = new ServerSocket(2222);
while(true)
Socket s = server.accept();
BufferedReader in = new BufferedReader(new InputStreamReader(s.getInputStream()));
String msg = in.readLine();
if(msg.equals("visitor"))
System.out.println("recv...");
JOptionPane.showMessageDialog(null,"Visitor coming!\n");
System.exit(0);
server.close();
</code>
it can properly print out "recv...",but no popup,why?Define "does not work". What happens?
Does your program compile? Do you get an exception? Does the program receive a line? Is the line equal to whatever you expect? Is showMessageDialog() called? Put in some debugging println's to see what happens. -
How to make a call in j2me using bluetooth?
Hi All,
I wanted to make a call to another device which is in my bluetooth range i wanted to know how to make such a call?And i have heard that using bluetooth for making calls we can only do half duplex communication that is at a time only one person can speak while the other hears ?I wanted to know that can we do a full duplex communication also so that both of them can speak as well as listen at a time.
ThanksTo make a call using javax.microedition.midlet.MIDlet.platformRequest().
for eg:
String telNo = "tel:+9682651761543";
platformRequest(telNo ); -
How to make a call in j2me using bluetooth technology?
Hi All,
I wanted to make a call to another device which is in my bluetooth range i wanted to know how to make such a call?And i have heard that using bluetooth for making calls we can only do half duplex communication that is at a time only one person can speak while the other hears ?I wanted to know that can we do a full duplex communication also so that both of them can speak as well as listen at a time.
ThanksTo make a call using javax.microedition.midlet.MIDlet.platformRequest().
for eg:
String telNo = "tel:+9682651761543";
platformRequest(telNo ); -
How to make appliction server and how to make database server
Hi all
Release 12.1.1 software bundle are labeled as follows:
• Start Here - Disk 1
• APPL_TOP - Disk n
• RDBMS - Disk n
• Tools - Disk n
• Databases - Disk n
i want to make database server and other one is application server
which one software is install in database server and which one software is install in appliction severHello,
Please, find enclosed a link about Oracle Application Concept:
[http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120oacg.pdf]
[http://download.oracle.com/docs/cd/B40089_10/current/html/homeset.html]
You'll get many answers and the best practices.
Hope it can help.
Best regards,
Jean-Valentin -
How to make local Object Request as Transportable Request
Hi,
I have saved as local Object , Now i need to make has transportable request.
Can any body tell how to do?
Regds,
C.V.
Message was edited by:
P.C.V.Hi Chakri,
Drag and drop that object into right screen of Transport connector tool and then click on Click on Truck button to create the Transport request.
With rgds,
Anil Kumar Sharma .P -
How to make SAS Server or datasets entry in tnsnames.ora
Hi,
I want to make an entry in tnsnames.ora for SAS Server or SAS datasets.
Can anybody tell me what all attributes is requried?
Regards,
Vikas[email protected] wrote:
Hi all,
Thanks for your replays. As you said we can comment out lines with '#'. But, I am looking for commenting whole entry at a time. Can any one tell me how to comment out whole entry/paragraph. Is there any oracle utility by which we can deactivate the data source. Please suggest. Thank you.
Regards,
Kumar.As others have said, either comment out each line of the entry, or have two tnsnames files that you rename as needed. But really, how often do you make the swap that commenting/uncommenting about five lines of code is such a burden? -
How to make iCal Server events viewable on the web calendar?
Hi,
I can create, edit and view events on the web calendar.
I can create, edit and view my own events via iCal.
How can I set it up so we can see all the calendars from our group on the web calendar? It's empty now other than what's entered via the web calendar.
Is there really no integration between the two?I too thought web group calendar was subscribe only in iCal until I ran across the procedure at
http://www.macosxhints.com/article.php?story=20080410162942908
in the 4th comment down by protean. With a couple of additions I was able to post an event to the web group calendar and have an update on the web post back to the iCal calendar. My additions were needed to get the results as posted in the comment:
1) make sure Enable Calendaring is selected for all group members,
2) refresh iCal to ensure all group members are visible in the Personal Server Calendar Address Pane before adding the group calendar account,
3) add all members in step 3 of the procedure including yourself, however, if the owner of the group (e.g. diradmin) is not a member then don't add it,
4) prior to step 6 of the procedure you can verify the group is visible as in step 8 in the Personal Server Calendar delegation before deleting the group account; if not visible then you don't have to start from scratch, just work with the group account from step 1,
5) the group calendar shows up in the left column list of calendars under Delegates calendars.
So I got this to work.
Then I setup a location in Directory.app with Delegates as the group. It shows up in iCal under Delegates calendar with the error notice
'Error While Refreshing Access to account "location title" is not permitted.'
So there is no calendar available for the location in iCal. The personal iCal account shows the Delegation of location and the Show checkbox is selected. The group is allowed to select the location on the web calendar and in the server iCal calendar. But the location doesn't indicate conflicts in the availability pane. Can someone tell me what might be missing?
Harry -
How to make iCal Server work both behind a firewall and externally
I've got iCal server running with a DNS record pointing to the external IP of our server and the appropriate ports open in the firewall. This is working fine. However, I can't seem to figure out how to get it recognized on the internal LAN. I tried activating DNS on the server using example.com and the actual domain name that is being used externally, but neither seemed to help get the iCal server to be recognized internally. I know there is some (probably simple) step I am missing somewhere, but I have not been able to figure it out. I've been reading the server docs and haven't been able to pinpoint what I am missing so I'm hoping someone here might be able to explain to me what the necessary steps might be.
Please try to explain this as if you're speaking to someone who is really dumb, because that's how I feel right now.
Thanks!So you have an external static public IP, a firewall NAT, and an internal static private IP, right?
This sounds like an IP routing issue, or a DNS issue, depending on how you want to deal with it.
Either tweak your local DNS to point to your local private IP for the iCal server directly and not to the external IP address, or configure your local IP network default gateway and IP routing to allow IP to route the external IP address request out and back in through the NAT again (which is where you're probably running off the rails here), or see if iCal will allow you go go after an internal network host name in your internal DNS with your internal private IP address, or (as a test) directly after the local iCal server by its private IP address.
A whole lot of Mac OS X Server really only works "right" if you have IP and DNS configured appropriately. (I was going to write "correctly" there, but there's usually no one "correct" configuration when dealing with IP networking.) -
How to make Mobilink server disregard error -10280
Hello, all
I have the following situation.
I have a table on the remote and consolidated side, which have slightly different structures.
The remote side has more columns than the consolidated side. The extra column is a transfer flag. When the user wishes to transfer data to the server, he updates this field then mobilink client scans the logs and send the data to the server. The table is only for upload.
I need the mobilink to transfer rows even when ony this field changes. If I do not add it to the publication, then the mobilink client does nto transfer anything.
If I add it to the publication, I get this error.
E. 2015-01-28 09:28:09. Error code from MobiLink server: -10280
E. 2015-01-28 09:28:09. Server error: Message: The number of columns in client table 't507_external_clients_customer_list' does not agree with the number defined in ml_column. Table Name: t507_external_clients_customer_list
Question: If I do not need this field updated in the consolidated DB, how can I make the Moblink server to disregard it, without having to edit the consolidated DB?Hi Arcady,
If the column is defined on the remote in the publication, you will need to define the column on the consolidated using ml_add_column. To ignore the value, you can just not reference it in your synchronization scripts.
Also note that SQL Anywhere 16 has set the SQL Anywhere 12 SendColumnNames (SCN) extended option to 'ON' permanently, which removes the need to use the ml_add_column() stored procedure for version 16 remotes.
Regards,
Jeff Albion
SAP Active Global Support -
How to make Lion Server alert a user of new calendar event on his iPhone?
Hi!
I'm trying to make the Lion Server alert / notify a user of new events that are added to his shared calendar... Using my own iPhone, I can add and edit events on his calendar and he can see them in iCal on his iPhone, but only if he manually launch the app. What I'd like to achieve is to have the app send out an alert--like it would with reminders and apps like that--every time I add or edit an event on his calendar.
ps. Push notifications are turned on in the Server App.
Any help appreciated!
Thanks!I solved my issue thansk to this post:
http://support.apple.com/kb/TS2481?viewlocale=en_US&locale=en_US
Maybe you are looking for
-
Came home from class to find several prblems with my Macbook Pro
I want to start off by saying that over the weekend, I noticed that my light on my charger did not work any more, and it seems that the actual charger does not work any more either. It has been plugged in for a while but remains at 95%. Then today, I
-
Multiple times payment for one subscription
Hi, i am holding one subscription and tried to get new subscription to same country and same subscription before the 1st subscription completed.when i tried to do payment through skrill i got an error msg "payment was unsucessful please retry" so
-
I use current version of Firefox on a Windows XP desktop machine. I normally use Yahoo as my home page and Firefox as my browser. Starting a few weeks ago, when I clicked on a link on the main Yahoo page, I would get about one second of whatever it w
-
Hi Guys, I have a problem. I delete the Purchase order in ME22n,for the line item & then saved it. it is showing Pop up window, that Purchase order is still containing Faulty items.when i click help, it is going for dump. Can you please help me how
-
is there an app or a way to sync my iphone 3g with my 360 so I can stream music to my xbox to use in-game?