Skip to content

Java Vogue

Java Tutorials

  • All Tutorials
  • Java
  • Java8
  • Spring Boot
  • Microservices
  • Spring
  • Hibernate
  • Reactjs
  • Interview Question
  • Contact

Category: IM

April 4, 2015 javavogue

Login to XMPP IM with Smack for Java applications

Maven dependency <dependency> <groupId>jivesoftware</groupId> <artifactId>smack</artifactId> <version>3.1.0</version> </dependency> <dependency> <groupId>jivesoftware</groupId> <artifactId>smackx</artifactId> <version>3.1.0</version> </dependency> package com.javaproficiency.demo; import org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.smack.XMPPConnection; import org.jivesoftware.smack.XMPPException;

Continue reading
April 4, 2015 javavogue

Connecting to XMPP IM with Smack for Java applications

We will connect to openfire server using smack api package com.javaproficiency.demo; import org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.smack.XMPPConnection; import org.jivesoftware.smack.XMPPException; public class SmackDemo

Continue reading

Recent Posts

  • TypeScript Tutorial
  • Spring Boot – RESTful Web Service with POST Request in XML Example
  • Spring Boot – Example of RESTful Web Service with XML
  • Spring Boot @ConfigurationProperties Property Validation
  • How to Read value From application.properties in spring boot

Popular Posts

  • How to Read value From application.properties in spring boot
  • ‘Field required a bean of type that could not be found.’ error spring restful API
  • How to Reload Changes Without Restarting the Server – Spring Boot
  • No converter found for return value of type: org.springframework.http.converter.HttpMessageNotWritableException: No converter found
  • Java TreeSet Examples
hi

Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/javaprof/public_html/wp-includes/functions.php on line 4755