Please help me in getting started with XMPP as i am going to start working on a Java project soon and I will be implementing this protocol. I need to get started soon but couldnt find enough resources online. Please suggest few things like : giving input to the server and then receiving the msg back, communication with the ISB and client-xmpp-xlient. Thanks!
I would use an existing Java implementation. Check out SMACK. If it fits your licensing needs, then I would use something like that before writing all the code yourself.
A simple example of using XMPP here using Smack API
raj
Related
I want to create a java server application which receives data from an Android client and also transmit notification to client. Actually i did not know much about server apps. I am quite familiar with servlets and mysql, is there any tutorials based on these??
So any suggestion how to build it or any tutorials for it?? please help me!
What you are probably looking for is Google App Engine a SaaS by Google. While there are many alternatives this is probably the best route you can take for implementing a Java based backend. Follow these tutorials* and you'll be good to go. Keep in mind the GAE is a bit complicated and will take some time to get on your feet.
https://cloud.google.com/appengine/docs/java
More tutorials on GAE can be found by a nice google search!
where can i get good example to write client-server application as I am new to WebSocket. I don't know where can i find implementation in JAVA. I want to build client server application
http://systembash.com/content/a-simple-java-tcp-server-and-tcp-client/
Check out jWebSocket, it has demos page there.
Kaazing has a great peer-to-peer WebSocket tutorial using Java Message Service (JMS). It walks through some simple code step-by-step, comes with a screencast and is fully integrated with JSFiddle code snippets.
I am looking for some kind of tutorial which will help me make an application which would connect to the server on the computer and would respond as soon as the app is launched like would print out Hello World or something. I know one of doing this is bonjour programming but I am not really sure how I would connect to a server made in Java..So I am looking for some kind tutorial which would let me achieve this or if possible you could help me give a kick start....
thanks,
TC
This is from another discussion similar to yours. It might be able to help you
How can I connect iPhone and web service and get XML data?
If your server returns XML and your iPhone app parses it and creates/populates views based on it then it should not matter what language your server is using,
i am developing a project in which the client and server should communicate asynchronously after ensuring the security.i made all the coding that is required to authenticate a client now it's the turn for communication. My mind is blank can anyone suggest me how to develop it... another thing is server is in j2se and client in j2me..
plz guys my project is based upon your responses help me
See this discussion on nokia forum and existing discussion on same in this forum. Here also discussed on same topic. It may be useful for you. :)
Find an implementation of XMPP and have most of your work done for you...
I am successfully running Bluetooth-SPP applications relying on http://bluecove.org/
That is Java to Java.
I do now want to establish Bluetooth-connectivity in an Adobe Flex-application. Anyone has experience, ideas?
I appreciate your advise.
Thank you
Bart
I don't know how you would pull this off in Flex.
For an AIR app, you should have a look at Merapi which is a AIR to java bridge. I haven't yet used it personally though.
Merapi Project link
hth
Koen
You will have to communicate via some sort of proxy. Create your proxy in java and make it listen on a port that flash/flex connects to -- you can use http requests, but it might be more fitting to use an xml socket.
Koen Weyn's suggestion of Merapi looks like a good one if you don't want to build it yourself (I've also never used it).