Hibernate One-to-Many Relationship
In this article we illustrate how to configure hibernate application to model one-to-many relationship between entities. One-to-many relationship means one entity is related with more than one some other entity. For our example, we will use one team-many players relationship.
Share and Enjoy
Marshalling and Unmarshalling XML using Spring
Introduction – Marshalling and Unmarshalling XML using Spring This article illustrates Spring’s support for Object/XML mapping. Mapping XML to Object is called unmarshalling and mapping an object to XML is called Marshalling. Marshalling and Unmarshalling XML using Spring is supported by Spring’s OXM module. Spring provides an extensible , easy and simple way to use [...]
Share and Enjoy
Command Design Pattern in Java
Command Design Pattern In this article we will see the application of command design pattern and problem domain it tries to solve. Definition : Command design pattern is a behavioral design pattern which encapsulates a request as an object. In command design pattern all the information required to invoke a method is encapsulated.
Share and Enjoy
Unix FAQs
UNIX FAQs The following faqs has list some commonly asked questions related to unix operating system. These also highlight some important concepts related to unix and which can come handy in day to day task of a software engineer.
Share and Enjoy
Java FAQs
Java FAQs This java faqs is a list of commonly asked questions around java technology. The answers are brief and in simple language so that it can be picked up a programmer at any level.
Share and Enjoy
Unmarshalling and Marshalling XML – Using JAXB
Unmarshalling and Marshalling XML In this article we will see how JAXB APIs and tools can be used for unmarshalling and marshalling XML document. Unmarshalling means converting an XML document to a Java object or set of java objects. Marshalling on the other hand means converting a java object to XML representation.
Share and Enjoy
Proxy Design Pattern
Proxy Design Pattern : This article explains the usage, purpose and implementation details of a very popular design pattern, the Proxy Design Pattern. In general term, a Proxy means any thing which represents something and is similar. In Java as well, the meaning is no different. A proxy object represents some object , is similar [...]
Share and Enjoy
Ethernet Technology – IEEE 802.3
Ethernet – IEEE 802.3 Ethernet and IEEE 802.3 is a family of computer networking technologies for Local Area Networks (LAN) and was invented by Robert Metcalfe. Initially Xerox Systems had built 2.94 Mbps network system to connect over 100 PCs on a 1 mile cable. This was called Ethernet. After its success, DEC and Intel [...]
Share and Enjoy
Template Design Pattern in Java
Template Design Pattern. This article explains template design pattern and its usage using Java programming language. Template Design is used to define a skeleton or template of algorithm and gives flexibility to subclasses to implement few steps of the algorithms. To implement Template Design pattern, the base class defines the abstract methods which it wants [...]
Share and Enjoy
Network Types – By Span Of Geographical area
Network Types : Computer networks can be classified based on various parameters . One such classification parameter is geographical area the networks are spread out. Based on the span and scope the network types can be : LAN – Local Area Network WLAN – Wireless Local Area Network WAN – Wide Area Network MAN – [...]