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 26, 2017
March 24, 2017
Begum Jaan's first song Prem Me Tohre OUT Now!
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.”
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.”
March 17, 2017
March 16, 2017
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).
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’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();
}
}
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.
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:
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.
#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.
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 09, 2017
March 08, 2017
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 02, 2017
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.
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
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.
Subscribe to:
Posts (Atom)