March 31, 2016

BARC Ratings (Impressions)- Week 12, 2016

  
Top 10 Hindi GEC Channels
  • STAR Plus : 710064
  • Colors : 657379
  • Zee TV : 613620
  • Zee Anmol : 568682
  • Sony Pal : 533954
  • STAR Utsav : 519207
  • DD National : 517653
  • Life Ok : 468788
  • Rishtey : 433109
  • SONY SAB : 387634

March 29, 2016

Madhuri Dixit to judge the Indian version of ‘So You Think You Can Dance’

Lights. Camera. Dance! The stage is set for the biggest dancing battle the nation has ever seen. After captivating the audience across the globe, the world’s BIGGEST dance platform, So You Think You Can Dance is all set to take India by storm. &TV will host the India chapter of the biggest dance competition that will be an ultimate battle to prove supremacy over the dance floor. And who better to judge the show then India’s biggest dancing diva Madhuri Dixit herself.

March 28, 2016

BARC Ratings (Impressions)- Week 11, 2016

  
In week 11 (12- 18 March, 2016) of BARC data, Star Plus retained its top spot whereas, Colors remained at No.2. Zee TV too, like the previous two weeks acquired the third spot. The fourth spot was acquired by Sony Pal replacing Zee Anmol which now stands at No.5.

March 17, 2016

BARC Ratings (Impressions)- Week 10, 2016

  
In week 10 (5- 11 March, 2016) of BARC data, Star Plus retained its top spot whereas, Colors remained at No.2. Zee TV too, like the previous week acquired the third spot. The fourth spot was acquired by Zee Anmol and at No.5 stood Sony Pal replacing DD National.

March 16, 2016

Season break for Zindagi's Bhaage Re Mann..

The show that stole our hearts with its simple yet emotional story, Bhaage Re Mann, Zindagi’s first original series is set to have the season finale of this season on Saturday, 19th March 2016. Bhaage Re Mann that premiered on 30th November 2015 has created a lasting impression in the hearts and minds of viewers across the country. A unique slice of life show that advocates following your heart, the show revolves around the life of Padmini (Karuna Pandey) an independent woman who through her innovative and quirky take on life, deals with her challenges head on.

Benaifer Kohli slams Shilpa Shinde for baseless allegations..

Lately, Shilpa Shinde who portrayed the character of Angoori Devi in &TV's show - Bhabi Ji Ghar Par Hai (which airs from Monday to Friday at 10:30pm) has refused to come on the set leaving the makers in a lurch. Furthermore, she has been making false allegations and floating baseless stories in the media defaming the channel as well as the Production House (Edit II). However now the production house has broken the silence and has issued a legal notice to the actress and also filed a complaint against her in CINTAA.

March 10, 2016

I am really excited to be a part of Bhaage Re Mann: Aamir Dalvi

The versatile and dashing Aamir Dalvi will soon make an entry in Zindagi’s ‘Bhaage Re Mann’ that airs 8:30 pm from Monday to Saturday. One of the more prominent faces of the Indian television today, Aamir Dalvi will be seen in the show as Padmini’s old friend Rudra from her travelling days. Aamir will enter the show, amidst all the tension brewing in the Awasthi family at the request of his old friend, Padmini. She reaches out to Rudra to help her solve issues that she is unable to handle alone.

Children of Heaven maker Majid Majidi to watch Akbar Khan's Taj Mahal..

Iranian award winning director Majid Majidi who is internationally acclaimed for movies like Children of Heaven, The Color of Paradise, Baran and his latest Muhammad: The Messenger of God, will attend a special screening of Akbar Khan's National Award winning film Taj Mahal - An Eternal Love Story along with Iranian, Italian and Indian dignitaries at a private theatre in Juhu, Mumbai, this week.

BARC Ratings (Impressions)- Week 9, 2016

  
Week 9 of BARC Impressions saw a fall in the ratings of Star Plus, Colors, Zee TV and Life OK. SAB TV gained marginally. DD National’s Asia Cup garnered a lot of eyeballs. The India vs Pakistan match was the most viewed programme in Week 9.

March 09, 2016

Pune Anmol Ratn’s Malhari at BCL Curtain Raiser..

Pune Anmol Ratn, a team that thrives on the confidence and strength they acquired from the last season has once again proved their force with their apt performance on ‘Malhari; the victory song From BajiRao Mastani at the curtain raiser of BCL Season 2 produced by Marinating Films and Balaji Telefilms.

Hailing from Pune, they couldn’t have had a better performance to start with as the Puneri spirits were at its peak throughout on Saturday night.

March 08, 2016

Harsh Rajput to shake a leg in 'Pyaar Tune Kya Kiya'..

Cute-yet-macho actor Harsh Rajput, who was last in Zee TV's adventurous fantasy television series 'Janbaaz Sindbad' will soon seen shaking a leg in upcoming episodic of Zing's popular show 'Pyaar Tune Kya Kiya'..

March 07, 2016

Zindagi presents Main Abdul Qadir Hoon- An Extraordinary Story of an Ordinary Boy..

We are all a sum of our experiences, the people around us, our circumstances in life and society in general all influence us on our voyage to self-realisation and finding our true self’s . ‘Main Abdul Qadir Hoon’ that premiers in India on 7th March, 2016 at 10.20 pm every Monday – Saturday on Zindagi is just such a story. The show reflects on the life experiences of a young boy; his journey through life and his transformation from a young bubbling innocent to a grown mature man who finds spirituality.

I discovered myself on Khatron Ke Khiladi : Tinaa Datta

The new twist of ‘No we,only Me’ game in the weekend proved to be fatal for one of the female contestant of Khatron Ke Khiladi – Kabhi Peeda Kabhi Keeda. After back to back elimination of male contestants for five consecutive weeks, sixth week witnessed the elimination of first female contestant – Tinaa Dattaa!

March 03, 2016

BARC Ratings (Impressions)- Week 8, 2016

  
Channel wise GRPs (Urban)
  • Colors 227 (221)
  • Star Plus 234 (206)
  • Zee TV 169 (172)
  • Life OK 123 (130)
  • Sab TV 114 (109)
  • Sony TV 97 (102)
  • &TV 67 (64)
  • Zee Anmol 65 (68)
  • DD1 54 (58)
  • Sony Pal 50 (48)
  • Star Utsav 45 (41)
  • Zee Rishtey 41 (42)
  • Big Magic 17 (15)
  • Sony Max 115 (98)
  • ZCN 96 (85)
  • Star Gold 94 (153)
  • Movies OK 60 (58)
  • &Pictures 51 (49)
  • UTV Movies 49 (41)
  • Star Sports3 47 (37)
  • Star Sports1 19 (14)
  • Star Plus HD 4.2 (3.1)
  • Colors HD 3.7 (3.1)
  • Zee TV HD 2.4 (2.2)
  • Life Ok HD 2.0 (2.0)
  • Sony HD 1.8 (1.6)

Priya Malik assumes "non-celebrity" status after Bigg Boss..

The Bigg Boss Wikipedia page listing the housemates of India's No. 1 reality show, displays Big Brother Australia and Bigg Boss Season 9 Wild Card contestant Priya Malik as a "Non-celebrity".

March 02, 2016

IN PICS: Launch party of 'Kuch Rang Pyar Ke Aise Bhi'..


Experience the magic of beyond one ‘lifetime-wala’ love with Kasam…Tere Pyaar Ki

Love is the purest of all bonds – one which transcends all boundaries; one which has no limits or restrictions. Many even believe that death is not the end of love – in its truest form, love continues…in another life, in another form. But what if love continues in the same life?

Is that the ultimate form of love – the everlasting kind? Celebrating eternal love going beyond lifetimes while bringing fate to its knees, COLORS presents Kasam…Tere Pyaar Ki. A tale of star-crossed lovers Rishi (Ssharad Malhotra) and Tanushree (Kratika Sengar), highlights the connection between their souls since childhood; but the vagaries of destiny pulls them apart. With the focus on lovers who pine for one another even after fate rips them apart, Kasam…Tere Pyaar Ki, produced by Balaji Telefilms, will take viewers on a whirlwind journey into the altruistic love story of Rishi and Tanushree starting 7th March, 2016 and air every Monday to Friday at 10:00 PM on COLORS.

March 01, 2016

Java SOAP Web Service Example..

Here we will learn how we can create a SOAP web service and it’s client program using using Apache Axis that is integrated in the Eclipse and provide quick and easy way to transform a application into Java Web Service and create client stubs with test JSP page for testing purpose.

First of all we will create a simple Dynamic Web Project in Eclipse that will contain the business logic for our application.

Click on Next button above and you will get next page to provide your web project name and Target Runtime. Here I am using Apache Tomcat 8.0, if you can use any other standard servlet container too.
Click on Next and you will be asked to provide “Context Root” and Content Directory location. You can leave them as default.

Click on Finish and Eclipse will create the project skeleton for you.

Now we will publish a web service that can be used to add/delete/get an object. For that first step is to create a model bean.

package com.soap.bean;
import java.io.Serializable;
public class Person implements Serializable{
    private static final long serialVersionUID = -7577579081118070434L;
    
    private String name;
    private int age;
    private int id;
   
    @Override
    public String toString(){
        return id+"|"+name+"|"+age;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }  
}


Person bean is implementing Serializable interface because we will be transporting it over the network. Also, toString method is implemented that will be used when we will print this object at client side.

Now we will create service classes, so we will have an interface as PersonService and class PersonServiceImpl which implements it.

package com.soap.service;
import com.soap.bean.Person;

public interface PersonService {
    public boolean addPerson(Person p);   
    public boolean deletePerson(int id);    
    public Person getPerson(int id);    
    public Person[] getAllPersons();
}


package com.soap.service;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import com.soap.bean.Person;

public class PersonServiceImpl implements PersonService {

    private static Map persons = new HashMap();
    
    @Override
    public boolean addPerson(Person p) {
        if(persons.get(p.getId()) != null) return false;
        persons.put(p.getId(), p);
        return true;
    }
    @Override
    public boolean deletePerson(int id) {
        if(persons.get(id) == null) return false;
        persons.remove(id);
        return true;
    }
    @Override
    public Person getPerson(int id) {
        return persons.get(id);
    }
    @Override
    public Person[] getAllPersons() {
        Set ids = persons.keySet();
        Person[] p = new Person[ids.size()];
        int i=0;
        for(Integer id : ids){
            p[i] = persons.get(id);
            i++;
        }
        return p;
    }
}


Our business logic is ready, next step is to use Eclipse to create a web service application from this. Create a new project and select Web Service wizard.
Click Next button and you will get a page where web service and it’s client details have to be provided. This is the most important page in creating web service. Make sure you select “Web Service type” as “Bottom up Java bean Web Service” because we are implementing with bottom up approach.

There are two ways to create web service:
1. Contract last or Bottom up approach: In this approach we first create the implementation and then generate the WSDL file from it. Our implementation fits in this category.
2. Contract first or Top Down Approach: In this approach, we first create the web service contract i.e. WSDL file and then create the implementation for it.
In the service implementation, select 'PersonServiceImpl'. Make sure you move the slider in service and client type so that it can generate client program and also UI to test our web service. Check for the configurations in web service implementation, you should provide correct details for Server runtime, Web service runtime and service project. Usually they are auto populated and you don’t need to make any changes here.

For client configurations, you can provide the client project name as you like. I have left it to default as SoapTestClient.

Click on Next button and then you will be able to choose the methods that you want to expose as web service. You will also be able to choose the web service style as either document or literal. You can change the WSDL document name but it’s good to have it with implementation class name to avoid confusion later on.
Click on Next button and you will get server startup page, click on the “Start server” button and then next button will enable.
Click on Next button and you will get a page to launch the “Web Services Explorer”.
Click on Launch button and it will open a new window in the browser where you can test your web service before moving ahead with the client application part.
We can do some sanity testing here.

Click on the Next button in the Eclipse web services popup window and you will get a page for source folder for client application.
Click on Next button and you will get different options to choose as test facility. Here we will go ahead with JAX-RPC JSPs so that client application will generate a JSP page that we can use.

The methods getEndpoint() and setEndpoint(String) are added so that we can use to get the web service endpoint URL and we can set it to some other URL in case we move our server to some other URL endpoint.

Click on Finish button and Eclipse will create the client project in your workspace.

Add Person:
Get Person:
Get All Person: If you invoke this, you will get a result as:
                          [com.soap.bean.Person@88f1a2b4]

The Person details are not printed in the results section, this is because it’s auto generated code and we need to refactor it a little to get the desired output.

Open Result.jsp in the client project and you will see it’s using switch case to generate the result output. search 'getAllPersons() method, it was case 31 in my case.

Change the code like this:

case 31:
        gotMethod = true;
        com.soap.bean.Person[] getAllPersons31mtemp = samplePersonServiceImplProxyid.getAllPersons();
if(getAllPersons31mtemp == null){
%>
<%=getAllPersons31mtemp %>
<%
}else{
        String tempreturnp32 = null;
        if(getAllPersons31mtemp != null){
             java.util.List listreturnp43= java.util.Arrays.asList(getAllPersons31mtemp);
             //tempreturnp43 = listreturnp43.toString();
             for(com.soap.bean.Person p : listreturnp43){
                 int id = p.getId();
                 int age = p.getAge();
                 String name=p.getName();
                 %>
                 <%=id%>::<%=name %>::<%=age %>
                 <%
                 }

             }
}

Save the jsp and from browser invoke getAllPersons service, it will show below result:

SOAP Web Service WSDL and Configs

If you have noticed, PersonServiceImpl.wsdl is generated under 'wsdl' folder of 'WebContent'. And web.xml is modified to use Apache Axis as front controller for web service.

Most of the code is automatically generated by Eclipse, all we have to do is to write business logic for our web service.

ALSO READ: Web Services..

-K Himaanshu Shuklaa..

Difference between Stored Procedure and Function in Sql Server

Stored Procedure
  • It is a precompiled set of one or more SQL statements that is stored on Sql Server.
  • As Stored Procedures are executed on the server side and perform a set of actions, before returning the results to the client side, which allows a set of actions to be executed with minimum time and also reduce the network traffic. Hence stored procedure improve performance to execute sql statements.
  • Stored procedure can accepts input and output parameters.
  • Stored procedure can returns multiple values using output parameters.
  • Using stored procedure, we can Select,Insert,Update,Delete data in database.

RSSChomp Blog Directory