Do not limit your challenges.. Challenge your limits

BTemplates.com

Search This Blog

Powered by Blogger.

About Me

My photo
kathmandu, Bagmati, Nepal
I am Software developer based on Nepal.I have started coding since mid of 1995 with QBasic.My interest in software development covers a broad range of technologies from assembly to the Microsoft .NET platform to Java, Linux to Windows, Windows Mobile to Android, desktop to web to mobile, and many others. But from 2007 I am just working on Java mainly working on Java EE platform and decided just to go with it. I really like to learn new stuff and share things with others which is my main objective in creating this blog.

ArchUnit : Java architecture test library

Finally I have found the required library which will enforce architecture patterns . ArchUnit  . Currently I am exploring it and will upd...

Friday, July 26, 2013

Wednesday, July 10, 2013

Saturday, July 6, 2013

maven spring JPA configuration on google app engine


From few days I was trying to configure my first app on google app engine(gae) with maven but due to some incompatible version of  datanucleus  and gae , I was not able to run the application.After spending few couple of days I have finally configured spring ( DI,mvc and Security ) and JPA with maven.I am sharing my configuration so that it will be beneficial for someone.

Monday, July 1, 2013

Object Oriented Software Development with Java


Object Oriented technologies are a popular paradigm for developing applications. This approach models an application around a series of real world objects, such as an employee or a ship. In order to solve a problem, it is useful to think of the real world objects that make up the problem domain.

The OO approach is based on three distinct activities:
  1. Object Oriented Analysis (OOA): This is concerned with determining the functionality of the system, that is, what should the application do
  2.  Object Oriented Design (OOD): This is concerned with how the architecture supports the functionality of the application
  3. Object Oriented Programming (OOP): This is concerned with the actual implementation of the application

Sunday, June 9, 2013

Communicating with serial port



These days I am working on embedded ARM linux devices. I am writing an application for it. I was using Hyper terminal( windows machine ) to transfer image file,even though I am using linux for development( coding ).This suggestion was given from the vendor and since it is my first project in embedded , I am doing whatever they are suggesting. Just for file transfer I have to use windows machine which was giving me bad feeling .So this morning I decided to setup serial port with linux and will try to transfer file by linux.I have tried a lot of tools like minicom,cutecome,gtkterm and c-kermit . After trying around 2 hours I am able to transfer file from linux to POS machine using serial port with the help of kermit. So , I decide to write the procedure of it for future reference.

Installing Oracle java in linux



Open JDK comes with linux as default Java provider.In order to install Oracle java here are some step
  1. Download oracle java from here
  2. Select Java Platform (JDK)
  3. Accept License Agreement
  4. Download by Clicking on *-linux-x64.tar.gz( for 64 bit OS ) or *-linux-i586.tar.gz( for 32 bit OS )
  5. make a folder anywhere you want to keep java ( recommended on /opt) by using
    sudo mkdir /opt/java
  6. give full permission to this folder by
    sudo chmod 777 -R /opt/java
  7. unzip downloaded file on /opt/java
  8. open .bashrc for editing
  9. append following lines at the end of file and save it
                export JAVA_HOME=/opt/java
               PATH=$JAVA_HOME/bin:$PATH
   10. Open terminal and type 
                source .bashrc
   11. Open terminal and perform below command to make sure java is installed properly

                 java -version
          
         if above command successfully executed ,congratulation java is installed.Otherwise please check above step properly.