March 26, 2017

#ParthSamthaan affirms that the molestation case is completely baseless..

Parth Samthaan, who became a household name after the success of 'Kaisi Yeh Yaariyan' is not new to controversy. The actor, who was last accused of molesting model Gauri Arora is back in the news for molesting a model named Sushmita Chokraborty. Last Month, Sushmita filed an FIR against him for Molestation (354-A) in Bangur Nagar Mumbai. Today, the actor has been summoned by the police

March 24, 2017

Meet Bros. collaborate with Neeraj Pandey once again!

One of India’s most popular music composer duo, Meet Bros. are back with a new song called ‘Dil Hua Besharam’ from Neeraj Pandey’s upcoming film Naam Shabana. The duo has worked with Neeraj in the past when they composed the title track of Baby.

Begum Jaan's first song Prem Me Tohre OUT Now!

From the legendary Amitabh Bachchan lending his voice to the mind-blowing trailer to roping in the legendary Asha Bhosle to lend her voice to the first track Prem Me Tohre, Begum Jaan as a film has brought onboard powerhouse performers!

March 23, 2017

Phillauri’s 3D Hologram Projection is a huge hit!

For the first time ever, Bollywood is using 3D Hologram projection to promote a film! The makers of Phillauri, Fox Star Studios, is using 3D projection, making cine-goers interact with the bride in spirit, Shashi!

Shikha Kapur, Chief Marketing Officer, Fox Star Studios stated, “With Phillauri, our endeavor has been to create immersive ideas that transcend conventional norms of fan-star engagement. The unique storyline of the film where the lead actor plays a friendly ghost gives us the opportunity for experiential marketing that communicates both the theme of the film as well as gives us the chance for virality.”

BARC Ratings (Impressions)- Week 11, 2017

March 17, 2017

I Declare..

I 'K Himaanshu Shuklaa', declare that I must master my life in every area. I will no longer settle for a life that is less than what I know I deserve. I have had enough experience to know one side of life, and now it’s My Time to Shine.

March 13, 2017

Popular television actors recall their childhood Holi memories

It is said that, the innocence of celebrating the festival as kids can never really be forgotten. As Holi is just around the corner, we got in touch with a few popular actors to know what they are planning to do on Holi and share fond childhood memories associated with the festival.

March 12, 2017

#Spring part 7: Event Handling in Spring

Sometimes in our spring application, we may want to add capability of listening specific events so that we can process these events as per application logic.

We can do this by writing the event processing code as another method within existing application code, but then it will be tightly coupled with our existing code and we will not have much handle to change it later (we might need to disable it for certain duration or permanently remove it).

March 11, 2017

#Spring part 6: Using MessageSource to get text from property files

For an application to support internationalization, it requires the capability of resolving text messages for different locales.

Spring’s application context is able to resolve text messages for a target locale by their keys. Typically, the messages for one locale should be stored in one separate properties file, which is called a resource bundle.

#Spring Part 5 : Annotations

What do you mean by  Annotation-based container configuration?
Instead of using XML to describe a bean wiring, we can do the configuration in the component class itself by using annotations on the relevant class, method, or field declaration. The annotation based container configuration acts as an alternative to XML setups.e.g:

@Configuration
public class MyConfig
{
   @Bean
   public MyUserDemo myUserDemo(){
      return new MyUserDemoImpl();
   }
}

March 10, 2017

#Spring part 4 : BeanFactoryPostProcessor and BeanPostProcessor..

BeanPostProcessor tells Spring to do some processing after initialization beans.

BeanPostProcessor is interface which defines callback methods, with these methods we can tell Spring to do some processing after initialization of beans. This allows you to add some custom logic before and after spring bean creation.

#Spring part 3 : Lifecycle Callbacks

What is Spring Bean life cycle?
Spring Beans are initialized by Spring IOC Container and all the dependencies are also injected. When context is destroyed, it also destroys all the initialized beans. This works well in most of the cases but sometimes we want to initialize other resources or do some validation before making our beans ready to use. To do this, Spring framework provides support for post-initialization and pre-destroy methods in spring beans.

We can do this by two ways:
  • By implementing InitializingBean and DisposableBean interfaces 
  • By using init-method and destroy-method attribute in spring bean configurations.
registerShutdownHook(): To close the application context, we need to use AbstractApplicationContext which registers the registerShutdownHook() for the Java programme. This will ensure a graceful shutdown and call the relevant destroy methods. It is used for desktop applications, not for the web applications.

#Spring Part 2 : Bean Definition Inheritance..

ApplicationContextAware : Beans can get the access to the ApplicationContext object by implementing the ApplicationContextAware interface.

#Spring Part 1 : Spring Framework, Bean Factory, Property Initilization, Constructor Injection, Injecting Objects, Inner Beans, Aliases, Initializing Collections and Bean Autowiring

What is Spring Framework?
Spring is one of the most widely used Java EE framework. Dependency Injection and Aspect Oriented Programming are the core concepts of Spring framework.

It can be used in normal java applications also to achieve loose coupling between different components by implementing dependency injection and we can perform cross cutting tasks such as logging and authentication using spring support for aspect oriented programming.

March 08, 2017

Why Swabhimaan actress Shalini Arora is elated these days?

Shalini Arora, who is currently seen in RajShri Productions's Ek Shringaar-Swabhimaan on Colors' is quite elated these days. The reason is not just the show, but her on-screen name.

International Women's Day: Is celebrating just one day enough?

On the occasion of International Women's Day, we spoke to a few popular actors to know there views on whether we should celebrate the day or not?

Java Program to Traverse a Graph using BFS and DFS..

What is the difference between BFS and DFS?
  • BFS Stands for “Breadth First Search”, where as DFS stands for “Depth First Search”.
  • BFS starts traversal from the root node and then explore the search in the level by level manner i.e. as close as possible from the root node. DFS starts the traversal from the root node and explore the search as far as possible from the root node i.e. depth wise.

March 01, 2017

Data Structures and Algorithm Interview Questions for Java Developers

How to find middle element of linked list in one pass?
In order to find middle element of linked list we need to find length first, but since we can only traverse linked list one time, we will use two pointers one which we will increment on each iteration while other which will be incremented every second iteration. so when first pointer (currect_pointer) will point to the end of linked list, second (middle_pointer) will be pointing to the middle element of linked list.

If the list the length is odd or even, if its odd then middle_pointer=middle_pointer+1;
e.g: suppose, if length =6, then after traversing, current=6 and middle_pointer=3.
if length =5, then after traversing, current=5 and middle_pointer=2. As the length is odd, we need to increment the middle_pointer, hence the 3rd element is the middle one.

I got to learn a lot of things from Ravindra Gautam: Vishal Bhardwaj

Vishal Bhardwaj, who was last seen in SAB TV's 'Khidhki', recently entered in Star Plus' Meri Durga. Here the dashing actor talks about his role in the show and shares his experience in working with Paperback films..

What are the shows you have done?
My first show was Itti Si Khushi on Sony TV, after that I did Krishnadasi, Silsila Pyar Ka and Sasural Simar Ka. Apart from this, I also did some episodic shows like Savdhaan India, Bhakton Ki Bhakti Mein Shakti, Devlok With Devdutt Pattanaik and Maha episode of Sab TV's Khidhki.