JMS Client using JBoss 7 – Point-To-Point Messaging

This example will take you through step by step on practical implementation how you can configure a JMS Client using JBoss Application Server 7.1.1. I won’t discuss theoretical part here but if you need to know JMS related various keywords then you can go through the tutorial at http://www.roytuts.com/configure-jms-client-using-glassfish-3/ In Continue Reading…

Unidirectional One-To-One Relationship on Primary Key in Hibernate

In unidirectional association, we will have navigation only in one direction, i.e, only one side of the association will have the reference to the other side. In one to one relationship, one source object can have relationship with only one target object. Let’s consider CD and Artist. So one CD Continue Reading…

Unidirectional One-To-One Relashionship on Foreign Key in Hibernate

In unidirectional association, we will have navigation only in one direction, i.e, only one side of the association will have the reference to the other side. In one to one relationship, one source object can have relationship with only one target object. Let’s consider CD and Artist. So one CD Continue Reading…

Bidirectional Many-To-One/One-To-Many Relationship in Hibernate

In bidirectional association, we will have navigations in both direction, i.e, both side of the association will have the reference to the other side. The both side of the association will implement one of the collection interfaces, if it has the reference to the other entity. In many-to-one/one-to-many relationship, multiple Continue Reading…