Quantcast
Channel: Tech Tutorials
Browsing all 862 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Distributed Cache in Hadoop MapReduce

Sometimes when you are running a MapReduce job your Map task and (or) reduce task may require some extra data in terms of a file, a jar or a zipped file in order to do their processing. In such...

View Article


OutputCommitter in Hadoop

In a distributed environment like Hadoop framework it is important to track the success or failure of all the tasks running on different nodes. The whole job should be marked as successfully finished...

View Article


Tips for improving MapReduce performance

In this post some of the tips for improving MapReduce job performance are given. Three areas where you can look for improving the MapReduce performance are.The Map taskThe Reduce task. Configuration of...

View Article

How to Sort a HashMap in Java

In this post we’ll see how to sort a HashMap in Java which is by design an unordered collection. You can sort a HashMap on either the keys or the values. So, let’s see example code to sort HashMap on...

View Article

How to Loop Through HashSet in Java

In this post we’ll see how you can iterate any Set implementation like HashSet in Java. To loop through a HashSet you have following options, you can choose based on your requirement or the Java...

View Article


HashSet in Java

HashSet in Java is the implementation of the Set interface and it is an unordered collection meaning insertion order is not maintained in a HashSet. Following are the important points about the HashSet...

View Article

Transaction Management in Spring

This post gives an overview of Spring transaction management.What is transactionIn an application transaction is a sequence of events with all or none proposition. That is either all the events...

View Article

Spring Transaction Attributes - Propagation And Isolation Level Settings

When you declare a transaction in Spring transaction management you can define certain attributes for that transaction. These attributes define how the transaction will function. Spring transaction...

View Article


Image may be NSFW.
Clik here to view.

Spring Transaction Management JDBC Example Using @Transactional Annotation

In the post Transaction Management in Spring we have already seen the details about transaction management in Spring. In this post, building on that knowledge we’ll see an example of transaction...

View Article


Spring Batch Processing Using JDBCTemplate batchUpdate() Method

If you have a large number of similar queries it is better to process them in a batch. Processing them as a batch provides better performance as you send a group of queries in a single network...

View Article

Spring Batch Processing With List of Objects in batchUpdate() Method

In the post Spring Batch Processing Using JDBCTemplate batchUpdate() Method we have already seen how you can use batchUpdate() method with BatchPreparedStatementSetter interface for processing similar...

View Article

Image may be NSFW.
Clik here to view.

Adding Tomcat Server to Eclipse

This post shows how you can add Apache Tomcat server to the Eclipse IDE and start and stop it from Eclipse IDE itself.Downloading Apache Tomcat Server If you don’t have Tomcat server yet you can...

View Article

Image may be NSFW.
Clik here to view.

Spring Web MVC Example With Annotations

In this post we’ll see a Spring web MVC example which is one step better than hello world Spring web MVC example as we’ll create two views (JSPs), that will give you a better idea about the controller...

View Article


Image may be NSFW.
Clik here to view.

Spring Web MVC Tutorial

This Spring web MVC tutorial gives an overview of Spring web MVC and what all components are there in the Spring MVC framework.Spring MVCSpring web MVC as the name suggests follows the MVC...

View Article

Image may be NSFW.
Clik here to view.

Spring Web MVC Java Configuration Example

In the post Spring Web MVC Example With Annotations we saw a Spring MVC example with XML configuration, here we’ll create the same MVC application using Spring MVC Java configuration. In this Spring...

View Article


Image may be NSFW.
Clik here to view.

Spring MVC Example With @PathVaribale - Creating Dynamic URL

In this Spring web MVC example we’ll see how request data can be passed to the controller using @PathVariable annotation along with @RequestMapping annotation.@RequestMapping with @PathVariable...

View Article

Image may be NSFW.
Clik here to view.

Spring MVC Example With @RequestParam Annotation

In this Spring web MVC example with @RequestParam annotation we’ll see how request data can be passed to the controller using @RequestParam annotation along with @RequestMapping annotation....

View Article


Connection Pooling With Apache DBCP Spring Example

This post shows how to provide JDBC connection pooling using Apache DBCP data source in Spring framework. DB used in this example is MySQL.Maven dependency for...

View Article

Connection Pooling Using C3P0 Spring Example

This post shows how to provide JDBC connection pooling using C3P0 data source in Spring framework. DB used in this example is MySQL.Maven dependency for...

View Article

Image may be NSFW.
Clik here to view.

Spring MVC Form Example With Bean Validation

In this post we’ll see a Spring MVC form processing example along with bean validation. Technologies usedFollowing is the list of tools used for the Spring web MVC example.Spring 5.0.8 Release (Spring...

View Article
Browsing all 862 articles
Browse latest View live