Search This Blog

Friday, September 5, 2014

Trigger Example on Oracle



Question:
Calculate fine in a library management system using following condition.
For the first 3 days of delay 10 RS per day; for following 3 days 20 RS per day and after 6
days fine of 30 RS per day.
Click Here to Download 

Saturday, July 26, 2014

Software Architecture and Project Management

Module I - Slides

Component-and-Connector Viewtype, Styles of Component-and-Connector Viewtype, Allocation Viewtype and Styles, Documenting Software Interfaces, Documenting Behavior, Building the Documentation Package, IS2000 The Advanced Imaging Solution, Global Analysis

Module II - Slides

Archetypes and Archetype Patterns, Model Driven Architecture with Archetype Patterns, Literate Modeling, Customer Relationship Management Archetype Pattern, Product Archetype Pattern, Quantity Archetype Pattern, Rule Archetype Pattern

Module IV - Slides

Module IV - Part 1.

Defining EAI, Data-Level EAI, Application Interface-Level EAI, Method- Level EAI, User Interface-Level EAI, The EAI Process, An Introduction to EAI and Middleware, Transactional Middleware and EAI, RPCs Messaging and EAI, Distributed Objects and EAI, Database Oriented Middleware and EAI, Java Middleware and EAI, Message Brokers—The Preferred EAI Engine, Process Automation and EAI, Implementing and Integrating Packaged Applications—The General Idea, XML and EAI

Module IV - Part 2.

Layering, Organizing Domain Logic & Domain Logic Patterns, Data Source Architectural Patterns, Object-Relational Behavioral Patterns, Object-Relational Behavioral Patterns, Mapping to Relational Databases, Object-Relational Metadata Mapping Patterns, Offline Concurrency Patterns

Tuesday, June 4, 2013

Set Operations in Java

Set Operations in Java: What is a Set Mathematically, a set is just a collection of objects, for example let set=["apple","orange","banan...

Wednesday, May 22, 2013

To Enable Append operations on Hadoop

    Open the file on the path  ${HADOOP_HOME}/conf/hdfs-site.xml
    copy the following code into the file between the <configuration> tag

  <property>
       <name>dfs.support.append</name>
       <value>true</value>
       <description>Does HDFS allow appends to files?
          This is currently set to false because there are bugs in the
          "append code" and is not supported in any prodction cluster.
       </description>
  </property>

[Ref: http://hadoop4mapreduce.blogspot.in/2012/08/two-methods-to-append-content-to-file.html ]

Tuesday, February 19, 2013

Linux Commands I Used

  • cat /proc/cpuinfo
  • cat /proc/meminfo
  • du -b $(find -type f) // To list all files (including all sub directories) along with its size in bytes. Enter into the directory on which you need to run this and then type the command.


Sunday, February 17, 2013

Google Password Update on android phones after password change through web.

Click on Play Store icon - this will bring up a prompt that says your password has changed.  When you change it on the market, it will change it for gmail as well...

Ref: http://productforums.google.com/forum/#!topic/gmail/jtnMOvWSOtY

Saturday, January 19, 2013

Commands used after installing Ubuntu

 

To install Drivers and VLC

  • sudo apt-get update
  • sudo apt-get install ubuntu-restricted-extras
  • sudo apt-get install vlc  
  

To Install JAVA from bin file jdk-6u39-linux-i586.bin

 Remove open JDK

  • sudo apt-get purge openjdk*
Copy .bin java file to dir /usr/lib/jvm (I Created jvm folder) using sudo
i.e 
  • cd /usr/lib
  • sudo mkdir jvm
  • cp sourceFilePath/jdk-6u39-linux-i586.bin /usr/lib/jvm/
  • sudo chmod +x /usr/lib/jvm/jdk-6u39-linux-i586.bin
  • gedit ~/.bashrc 
  • export JAVA_HOME='/usr/lib/jvm/jdk1.6.0_39'
    PATH=.:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH 
  • which java 
    • Above command will return /usr/lib/jvm/jdk1.6.0_39     

Install Softwares

  • sudo apt-get install wireshark
  • sudo apt-get install tshark
  • sudo apt-get install ns2

To Enable Root Account

  • sudo passwd root
  • sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
         [Ref:] http://www.techlw.com/2012/05/enable-login-as-root-in-ubuntu-12041110.html


Move Minimize,Maximize & Close Button to Right 

  • sudo apt-get install gconf-editor 
  • gconf-editor
  • Go to the following: 'apps' -> 'metacity' -> 'general' Find the "button_layout" parameter,
  • Right mouse click, and select Edit Key.
  • Change the value to the following: menu:minimize,maximize,close then Press Enter
        [Ref:] http://www.noobslab.com/2012/04/important-things-to-do-after-install_26.html

Adobe Reader invisble Menus

  • //from terminal
    • cd /etc/X11/Xsession.d
    • sudo gedit 98menuproxy
  • //open gedit & paste
    • export UBUNTU_MENUPROXY="acroread":$UBUNTU_MENUPROXY
  • //save file; log off and log on