Submitted by heartin on Tue, 10/13/2015 - 06:46
WebServices can be roughly divided into two types based on the architecture they follow:
-
SOAP-based web services
-
Restful web services
SOAP Based web services
-
SOAP-based web services were the original kind of web services
-
They follow RPC-style
Submitted by heartin on Tue, 10/13/2015 - 06:44
Web services are services exposed over a network and is designed to be used automatically by other applications without human interaction.
A practical example for web services is a news web site which also shows cricket score. The cricket score service can be provided as a web service on a different server and our news web site can automatically invoke that service without any human intervention, get the result and update it along with the news. Note that this can also be done using Ajax.
Submitted by sneha on Tue, 10/13/2015 - 00:20
CRUD operations are Create(save), Read(select), Update(update) and Delete(delete).
Examples discussed here need to be tried out on top of the lab done @ http://javajee.com/lab-your-first-hibernate-43-program.
Session
Select, Save, update and delete operations in hibernate should be called within a session:
SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
Submitted by sneha on Mon, 10/12/2015 - 02:41
We will write a simple hibernate application to get started with hibernate.
Before starting, you should:
Submitted by sneha on Mon, 10/12/2015 - 02:35