BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 04-04-2007, 04:55 AM   #1 (permalink)
Thumbs Must Hurt
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Client Server application

Please Login to Remove!


I am new to BB development and i want to develop a simple client server application. could anyone suggest how should i go about it.can i get any sample code to have a look at.I am very much confused and dont know where to start.I have a few Q in mind
1)what would be the difference between normal j2me client server application and that for BB client server app.
2)how BES/MDS come to picture?
3)which BB specific API's come into picture?


Last edited by Meenal : 04-04-2007 at 07:14 AM.
Old 04-04-2007, 09:30 AM   #2 (permalink)
Knows Where the Search Button Is
Join Date: Feb 2007
Model: 9000
Carrier: SFR
Posts: 48
Post Thanks: 0
Thanked 0 Times in 0 Posts


What you want to do is to code a standard http client in order to avoid handling TCP connection "issues" (data plan or not/direct connection ...).

TCP connection have three use case.
First you have an adequat data plan which allows a direct tcp connection. Problem with that (in us) is that this data plan could be expensive.
Second solution (whithout the data plan) your server is on the same network than your bes/mds so that goes straight.
Third solution (whithout the data plan) your server is in another network so you need to ask your admins to open connections.
please notice the particularity of socket connection where you wants to add "deviceside" parameter.

Just code is as a "standard" java connection except some api are a little bit differents. I believe you can find easily such programs on google.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.