Submitted by heartin on Wed, 10/21/2015 - 16:02
A value type is a type which doesn't have existence of its own, but belongs to an entity, like an user and his address. Value types are always completely owned by their containing entity.
We will embed an Address class inside a User class. The simplest way to embed a value type in an entity class is to treat the member variables of the embedded class (e.g. Address), the same way as we treat the member variables of the embedding class (e.g. User) by adding more columns to the entity table one column each for the value type class members
Submitted by sneha on Wed, 10/21/2015 - 10:34
When you load an embeding class, it may load its embedded collections either lazily or eagerly.
Important points about eager and lazy fetch types in Hibernate
-
By default, when you load an embedding class (E.g. User or Company) using session.get,
Submitted by heartin on Mon, 10/19/2015 - 22:13
Submitted by heartin on Mon, 10/19/2015 - 21:38
Knowledge of HTTP, Servlets and Servers
We will be focussing on learning about web services with HTTP as the transport protocol and will be deploying web services on web containers as well as application servers . So a decent knowledge about these are good to have.
You can learn more about these @ http://javajee.com/java-ee-web-components-part1-http-and-servlets.
Submitted by heartin on Mon, 10/19/2015 - 19:48
While creating a web service bottom up, we can configure the SEI and SIB to act as a web service using annotations. In case of bottom up web service, the binding properties in a WSDL can be specified using these annotations.
Summary of common annotations used to create web services
@WebService annotation
Pages