2

I am using the XMPP to build the Chat Application. For building chat client I am using the Applet to communicate with the XMPP Server using their APIs in Applet.

So my question is: Is there anything other than Applet that I can use to communicate with Server and also with use of the XMPP Client API (i.e. options other than applet)?

I looking into GWT and JavaFX, will those two be helpful in this context?

3
  • you can use any thing including servelets
    – Shahzeb
    Jul 20, 2011 at 6:14
  • But those are on server side things , i want something to on client side
    – ajduke
    Jul 20, 2011 at 6:18
  • +1 for choosing to avoid applets, they can add extra deployment & maintenance problems that do not affect an app. launched outside the browser. Jul 20, 2011 at 7:00

4 Answers 4

0

You can use Java-WebStart or Flex or just write a small webpage using servlets.

0

Definitely check out Java Web Start. It can launch a JFrame from a link, and offers many deployment advantages.

1
  • Yes to Swing/AWT. JWS can launch SWT as well. JWS can launch any 'rich client' desktop app. Jul 20, 2011 at 7:35
0

If you want a browser-based client then use Flash. There are several XMPP browser clients and libraries available.

0

There are a couple of JavaScript libraries listed on the XMPP website. So no need to rely on browser plug-ins, just do a native web application.

You can easily use GWT for your web application. A quick search on Google revealed some GWT specific third party libraries or XMPP (Emite, gwt-strophe) and even a samples app (Emite Chat).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.