Java Cloud
501 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Scooped by Karthick Selvaratnam
Scoop.it!

Top 16 Java Utility Classes

In Java, a utility class is a class that defines a set of methods that perform common functions. The following shows the most frequently used Java utility
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

5 minutes with - Spring Cache

5 minutes with - Spring Cache | Java Cloud | Scoop.it
Many times happens that we read information that we've already read just few time ago. These could be database, fileSystem or rss feed independently. For the very static contexts (as weather foreca...
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Hibernate query cache considered harmful? : Pure Danger Tech

Hibernate query cache considered harmful? : Pure Danger Tech | Java Cloud | Scoop.it
Karthick Selvaratnam's insight:

The one case that seems to be a sweet spot for using the query cache is when you frequently need to look up an entity based on a natural key. A natural key is a field or fields that form a unique way to identify an entity in a table but is not the primary key. For example, you might have a Person table with an auto-generated primary key in the database. But several identifiers for a Person might form a natural key, such as social security number or email address.

more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Kim Saabye Pedersen: Spring annotation on interface or class implementing the interface??

more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Apache Commons : Tips and Tricks: Examples of Functors, Transformers, Predicates, and Closures in Java

more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

15 technologies changing how developers work

15 technologies changing how developers work | Java Cloud | Scoop.it
The work of telling computers what to do is markedly different than it was even five years ago, so don't get caught asleep at the console. Peter Wayner profiles 15 technologies transforming how developers work today.
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Use Spring and Hibernate with MongoDB

Use Spring and Hibernate with MongoDB | Java Cloud | Scoop.it
One of the requirements we have for one of our Mule ESB implementations is to log the messages that went through the ESB (especially handy during development and testing). There has been written a ...
Karthick Selvaratnam's insight:

Worth a try...

 

more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

UseCase for factory-bean factory-method

UseCase for factory-bean factory-method | Java Cloud | Scoop.it
For my first post I'll cover a client's request on one of my projects, and how I was able to implement it. First I'll explain some background information as to how I got to the subject, and I'll th...
Karthick Selvaratnam's insight:

Using this we can control how the object needs to be created when a bean is requested from the Spring Container

more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Loading multiple entities by id efficiently in HIbernate 4

Loading multiple entities by id efficiently in HIbernate 4 | Java Cloud | Scoop.it
So Im getting a number of instances of a particular entity by id

for(Integer songId:songGroup.getSongIds())
{
session = HibernateUtil.getSession();
Song song = (Song) session.get(Song.class,...
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

The Sleek EnumMap and EnumSet

The Sleek EnumMap and EnumSet | Java Cloud | Scoop.it
After having spent several years developing primarily in C++ , I missed having an enum in Java until it was finally introduced with J2SE 5 .  The long wait was worth it because the Java enum is much more useful and powerful than its C++ counterpart.
Karthick Selvaratnam's insight:

If you want to keep the key in map controlled!

more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Microservices

Microservices | Java Cloud | Scoop.it
An in-depth description of the microservice style of architecture. Applications designed as suites of independently deployable services, governed in a decentralized manner.
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Natural Ids in Hibernate

Natural Ids in Hibernate | Java Cloud | Scoop.it
by Prasanth Gullapalli A natural id is a property or a set of properties that would identify an entity uniquely. We can have at-most one natural id defined for an entity. When Hibernate sees natura...
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

When does your Spring @Transactional attribute apply on CgLib proxies

When does your Spring @Transactional attribute apply on CgLib proxies | Java Cloud | Scoop.it
Testing transactional aspect of your application is not easy as we usually use Springs' transaction rollback on tear down testing approach. Though there are solutions to test aspect oriented logic ...
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Spring @Transactional explained

Spring @Transactional explained | Java Cloud | Scoop.it
Spring is a widely used framework today, bringing many powerfull features and extensions to the Java core stack. However most of people tend to use these features without understanding their underl...
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Java Classpath

Java Classpath | Java Cloud | Scoop.it
This article is about understanding java classpath and how classpath works in java, how to set classpath in windows and Linux, how to set classpath in JAR file, how to use classpath behavior for debugging
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

MongoDB : on Windows

MongoDB : on Windows | Java Cloud | Scoop.it
This post will provide the full path from downloading required binary archive/package for particular Windows version to starting up MongoDB in various ways
more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Spring 3.1 Environment Profiles

Spring 3.1 Environment Profiles | Java Cloud | Scoop.it
Spring 3.1 Environment Profiles Profiles Spring 3.1 now includes support for the long awaited environment aware feature called profiles. Now we can activate profiles in our application, which allow...
Karthick Selvaratnam's insight:

Spring - Profiles

 

<beansprofile="dev,qa">

 

-Dspring.profiles.active

more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

JMS and AMQP - RabbitMQ

JMS and AMQP - RabbitMQ | Java Cloud | Scoop.it
I am trying to understand what JMS and how it is connected to AMQP terminology.
I know JMS is an API and AMQP is a protocol.

Here are my assumptions (and questions as well)


RabbitMQ uses AMQP
Karthick Selvaratnam's insight:

JMS  Vs  AMQP

more...
No comment yet.
Scooped by Karthick Selvaratnam
Scoop.it!

Spring Injection with @Resource, @Autowired and @Inject » Source Allies Blog

Spring Injection with @Resource, @Autowired and @Inject » Source Allies Blog | Java Cloud | Scoop.it
more...
No comment yet.