Articles Tagged ‘Snippet’
Sunday, March 13th, 2016
OAuth2 is a frequently used standard for authorization and with Spring Boot it is easy to set up authorization and resource server in no time.
In the following short tutorial I’d like to demonstrate how to set up an OAuth2 authorization server as well as a connected and secured resource server within a few minutes using Java, Maven and Spring Boot.
(more…)
Tags: authentication, boot, identity, oauth, oauth2, postman, protocol, security, Snippet, spring, standard
Posted in Java | 32 Comments »
Sunday, September 28th, 2014
Because a lot of my current projects are using JAX-RS in different versions I’d like to write down and share some frequently used snippets for implementing RESTful web-services with the JAX-RS specification here.
(more…)
Tags: jackson, javaee, jax-rs, jaxrs, jersey, json, rest, Snippet, xml
Posted in Java, Web Services, XML | No Comments »
Friday, March 23rd, 2012
Having just returned from the Atlassian Camp 2012 I just toyed around with Java and Scala and wanted to share the following snippet that demonstrates how to mix code from both languages in a Maven project using the maven-scala-plugin.
(more…)
Tags: functional, Java, maven, scala, Snippet, tutorial
Posted in Java, Scala | No Comments »
Wednesday, August 4th, 2010
Today we’re going to take a look at Google’s App Inventor feature that offers programming-novices a nice possibility to enter the fabulous world of Android App programming without deeper knowledge of the API or complex SDK installations.
So lets build some stuff ..
(more…)
Tags: accelerometer, Android, app, app inventor, example, google, gui, sensor, Snippet, tutorial
Posted in Android | 3 Comments »
Friday, May 14th, 2010
The integration of gestures into your android app adds some nice functionality and is made very easy using Google’s GestureBuilder application and the integrated GestureLibrary and Gesture Overlay API – so let’s build a sample app.
If you need some basic information regarding gestures on android first – take a look at this article.
(more…)
Tags: adt, Android, capturing, emulator, example, gesture, gesture overlay, gesturebuilder, Snippet, tutorial
Posted in Android | 14 Comments »
Tuesday, May 11th, 2010
Sometimes QR codes are a nice way to distribute information like calendar events, contact information, e-mail, geo-locations or internet addresses.
In the following article we’re going to encode information to QR code images using the ZXing library and afterwards decode information from a given QR code.
Finally we’re taking a look on online QR code generators and how to integrate the ZXing library in a Maven project.
(more…)
Tags: 2d, Android, barcode, generator, qr code, scanner, Snippet, tutorial, zxing
Posted in Android, Java | 5 Comments »
Thursday, May 6th, 2010
Sometimes one needs to look up license details of a running Confluence system .. perhaps for creating a commercial plugin or to display recommendations dependant from the license used. For this reason there are a few possibilities for receiving some license information from the Confluence API or the velocity context.
(more…)
Tags: Api, Atlassian, Confluence, example, license, plugin, Snippet, velocity, wiki
Posted in Confluence, Snippet | No Comments »