Wednesday, November 4, 2015

Polymorpism OOP

Polymorpism means many forms that is able to define in many forms. There are two ways to implement polymorphism principle in our programming code.

  • Method OverLoading
  • Method Overriding
  • Method Over Loading

    Methods having same name and different parameters within same class

    Method Overriding

    Derived class implement a similar function as in base class.

    Sunday, June 9, 2013

    Spring Tutorials

    Spring

    Spring is a most popular application framework for enterprise Java.Millions of developers around the world use Spring Framework to create high performing, easily testable, and reusable code

    Core features of Spring Framework can be used to create any kind Java applications, but there are extensions for building web applications on top Java EE platform.Spring Framework targets to make J2EE development easier to use and promote good programming practice by enabling POJO-based programming model.

    Benefits of Spring Framework

    • Spring make easty for developers to create enterprise-class application using POJOs.
    • Environment-dependent code is included with Spring so it is easy to test the application which is written using Spring
    • No new technologies are included in Spring but it is developed to make use of existing technologies like several ORM frameworks,logging frameworks,JEE , Quartz and JDK Timers, other view technologies.
    • Spring web framework is well designed web MVC framework.Which provides greater alternative to web frameworks like Struts and other over engineered or less popular web frameworks
    • By using JavaBean-style POJOs, it is easier to use dependency injections to inject test data
    • Spring provides a convenient API to translate technology-specific exceptions (thrown by JDBC, Hibernate or JDO)into consistent, unchecked exceptions.
    • Lightweight containers tend tob light weight.especially compared to EJB containers.This is beneficial for developing and deploying in low memory and CPU computers
    • Spring provides a consistent transaction management which can scale down to local transaction(using one database) or scale up to global transaction(using JTA for example)
    • Dependency Injection (DI)

    Friday, July 13, 2012

    Problem in package reference in Eclipse android project

    The Error is "The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files". 1.Go to properties of project that having error. 2.In the "Libraries" tab of Build Path select JRE System library and hit remove. 3.Click button Add Library.Add Jre System Library and Keep default workspace. 4.Click finish 5.Click ok.

    Sunday, April 22, 2012

    How to connect Facebook with your android app

    You should register your android app with facebook

    1. First create a facebook app and enter basic information.
    • Note App ID.You need later.
    • .

  • Download and Install Android  SDK
  • And install Eclipse plugin
  • Final Year Project

    I am designing an android app  integrating with facebook.My app is going to suggest a gift for your facebook friend by anlayzing your friend's facebook history.You can order online itself to buy that gift.