Posts

Visualizing Code in Eclipse (Using Architexa)

Image
I am here sharing a nice tool I recently found to draw the diagrams for my final year project at university. When the project is concerned, managing it is challenging with,  code base of the project is pretty large a team is working on the project we need to maintain the quality and performance of the project  proper documentation is also evaluated So we were searching for an easy to use and nice looking tool to achieve the purposes without making it annoying that, we can focus more on the logic and optimization than decorating a diagram. :) That is were I found this plugin for eclipse  called Architexa client, which is free for use. Following is a sequence diagram I generated using the plugin, which didn't take more than 30s to draw than dragging the relevant classes and setting the relevant calls. Following is a class diagram generated, that you can clearly observe the clear and smart look of the diagrams. Pros: From several t...

Generating Key Pairs and Importing Public Key Certificates to a Trusted Keystore

Image
Through this I am sharing the most simple scenario to follow in using Java keytool for the requirements of Apache Wookie projects digital signature implementation. Anyway if you are looking to know how to generate a key pair or import a certificate to a Keystore using keytool, still this may be helpful. Refer this segment of Java SE documentation to know in-depth details. You needs a configuration of Java in your computer to use keytool and that is enough :). Generating Key Pairs Use following command in command prompt to generate a keypair with a self-signed certificate keytool -genkey -alias wookie -keyalg RSA -keystore wookieKeystore.jks -keysize 4096 After  -alias give the alias to be used for keys           -keylag give the algorithm to be used in key generation          -keystore give the name of the keystore with type .jks (You can give a path here to store the keystore in a desired place)   ...

Apache Wookie W3C Widget Digital Signature Implementation - GSoC2012

Image
I am here sharing my GSoC 2012 project details which I enjoyed a lot while learning. This includes a brief introduction on the project with it's design, implementation and guidance on using. The implementation has been done using Apache Santuario 1.5.2 release to generate digital signatures. The project is mentored by Scott Wilson who was so helpful and supported by the community. This is Scott Wilson's post on the project. What is Apache Wookie? Apache Wookie is a Java server application that allows widget uploading and deployment as useful for variety of applications. This may include gadgets to quizzes and games. Wookie has been based on W3C widget specification while providing flexibility on Google Wave gadgets etc. At the moment of writing, it is in the Apache incubator getting ready to graduate as an Apache Project.  Objective of the project The objective this project is to implement the ' W3C XML Digital Signatures for Widgets ' specification i...

FYP-Kanthaka - Big Data CDR Analyzer

This is the presentation we at team 'Kanthaka', did on the major progress evaluation after a thorough literature review on the technologies to be used in developing the big data CDR analyzer. This will be beneficial for anyone who is looking for technologies to deal with big volumes of data with near real time execution speed requirements.   Kanthaka - High Volume CDR Analyzer View more presentations from Pushpalanka Jayawardhana

Bulk-Loading Data to Cassandra with sstable or JMX

Image
The 'sstableloader' introduced from Apache Cassandra 0.8.1 onwards, provides a powerful way to load huge volumes of data into a Cassandra cluster. If you are moving from a cloud cluster to a dedicated cluster or vice-versa or  from a different database to Cassandra you will be interested in this tool. As shown below in whatever case if you can generate the 'sstable' from the data to be loaded into Cassandra, you can load it in bulk to the cluster using 'sstableloader'. I have tried it in version 1.1.2 here. With this post I ll share my experience where I created sstables from a .csv file and loaded to a Cassandra instance running on same machine, which acts as the cluster here. sstable generation Bulk loading Cassandra using sstableloader Using JMX 'sstable' generation To generate 'SSTableSimpleUnsortedWriter' the 'cassandra.yaml' file should be present in the class path. In Intellij Idea you can d...

Running Cassandra in a Multi-node Cluster

Image
This post gathers the steps I followed in setting up an Apache Cassandra cluster in multi-node. I have referred Cassandra wiki and Datastax documentation in setting up my cluster. The following procedure is expressed in details, sharing my experience in setting up the cluster. Setting up first node Adding other nodes Monitoring the cluster - nodetool , jConsole , Cassandra GUI I used Cassandra 1.1.0 and Cassandra GUI - cassandra-gui-0.8.0-beta1 version(As older release had problems in showing data) in Ubuntu OS. Setting up first node Open cassandra.yaml which is in 'apache-cassandra-1.1.0/conf'. Change listen_address: localhost -->  listen_address: <node IP address>          rpc_address: localhost -->  rpc_address: <node IP address> - seeds: "127.0.0.1" --> - seeds: "node IP address" The listen address defines where the other nodes in the cluster should connect. So in a multi-node cluster it should to...

Configuration for Using Intellij IDEA to Develop Apache Wookie

Image
Here I am sharing the steps I followed in configuring Intellij IDEA to develop Apache Wookie. As guidelines are only given in the site to start with Eclipse IDE , before starting coding I needed to configure Intellij IDEA to be aligned with the practices and conventions of Wookie, before starting coding for GSoC2012. For the project we have to use SVN as version control system and Intellij by default facilitate it. We need to do the following set ups in addition. Dependency management Code style and template Debugging Let’s look at how to deal with these. Dependency management with Apache Ivy Wookie use Ivy as the dependency manager. To easily compile the Wookie project inside Intellij, we need to have the plugging IvyIDEA installed. In order to do so, go to File>Settings>IDE Settings and select IvyIDEA from available pluggings as follows and install. Now once you open Wookie in Intellij, it will auto detect the ivy.xml file a...