Vegard Aasen @ vegaasen.com
A wide and wild universe of a young javapadawan
  • Contact me..?
Primary Security Key Certificate

Generate RSA self signed certificate

By veggis On May 14, 2013 · Leave a Comment

Generate a self signed certificate based on RSA

Recently we had some issues where we had to create our own private and public key. This is quite easy, but I tend to not to remember this from each time to time when I do this. So, in regard to that – I thought:

Let’s create [...]

Continue Reading →
terminal

Searching for class-files withing JARs

By veggis On April 4, 2013 · Leave a Comment

Finding class-files within these pesky JARs

So, ever been doing reverse engineering or decompiling for some specific classes? That happens to me once in a while, and it usually turns out I have to search for a specific class within some jar-file, without actually knowing WHICH jar-file its contained in? Well, I have – and [...]

Continue Reading →
java-logo

Generate AES-key with keytool

By veggis On March 28, 2013 · Leave a Comment

Generate an AES-key with java-keytool

Recently a project that we’re working with @ work needed a generated security key with the AES-algorithm. This was not straight forward as I hoped (as anything else ). Anyway – here’s a quick reminder how this is possible to do with the keytool-program. Hope someone else struggeling with this [...]

Continue Reading →
jaxrs-tutorials

JSON Serialization with Jersey

By veggis On March 14, 2013 · Leave a Comment

JSON Serialization with Jersey

Serialization from POJOs has never been so easy. You can easily convert from a JSON-representation to and from objects with extreme ease. To make this example work, you’ll need a few components:

IDE Maven3 Jetty/AppContainer Dependencies

In your pom.xml, add the following dependencies:

<!–JAX-RS–> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-core</artifactId> <version>1.17.1</version> </dependency> <dependency> <groupId>com.sun.jersey</groupId> [...]

Continue Reading →
NFC-Logo

Android Emulator with NFC

By veggis On March 4, 2013 · Leave a Comment

Android Emulator with NFC support Introduction

I was recently toying around with a NFC enabled application for android. This stuff is easy as long as you got a device that supports NFC nativly by using USB, but if you are not one of the lucky few that got a NFC-enabled device, you have to think [...]

Continue Reading →

Popular design patterns

By veggis On February 26, 2013 · Leave a Comment

Popular Design Patterns

Coming soon..!

Continue Reading →
git-logo

GIT: Converting from a Subversion repo

By veggis On February 11, 2013 · Leave a Comment

Converting from Subversion to GIT

Recently at work I got this task; We have a lot of Subversion repositories that needs to be added to GIT. Can you please fix this, Vegard? I ofc said:

Why ofcourse!!!

(..as I tend to favorize the GIT over Svn any day)

This is just a simple overview of [...]

Continue Reading →
placeholder_me

Site bumped to version4

By veggis On January 27, 2013 · Leave a Comment

Version 4.0.1 released

So, the Version 3 was not live long. It lived from 27th of December untill, well 27th of January. One month! lol.

Reason for this? Well, I felt that version 3 was not what I wanted it to be. It was slow, big, strange, un-UX etc. So, I decided to revert back [...]

Continue Reading →
java-logo

Default annotations in Java

By veggis On January 22, 2013 · Leave a Comment

Default annotations in Java

Oh my god, what a useless post this is

..is what many may think. And hey, I cant blame you – I do totally agree! Anyway, here it is – just a quick summary of which annotations that is avail in the JDK without any additional import-statements:

@Deprecated

Continue Reading →
logo-nexus

Deploying to Nexus with Maven3

By veggis On January 22, 2013 · Leave a Comment

Configuring Maven3 to deploy to a Nexus repository

The goal of this short article is being able to publish to a Nexus installation from Maven using mvn deploy command. To do so, you’ve to do some changes to your project pom.xml

First you’ve to add a distributionManagement section, to tell Maven where releases and snapshots will be [...]

Continue Reading →
← Previous Entries
"Nice small introduction to some of the bits and pieces to expect from Java8!:-) #like #goodstuff http://t.co/DcLIK1tEq6" — vegaasen

Vegard Aasen @ vegaasen.com

Pages

  • Contact me..?

The Latest

  • Generate RSA self signed certificate
    Generate a self signed certificate based on RSA Recently we had some […]

More

I hope that you found something useful here! Feel free to post a thought, or just stay updated by subscribing to the RSS feed. You can also visit my actual site here.
© 2012 [Blog] Vegard Aasen - @vegaasen