Submitted by heartin on Fri, 10/23/2015 - 22:51
EJBs can serve as endpoints for SOAP based web services if hosted in a container with runtime and service support. New client applications can then be built using the published WSDL to access existing business logic. New remote clients can also continue to access business logic using RMI. Thus clients will have now a choice to use RMI or web services to access the business logic.
There are primarily four types of EJBs:
Submitted by heartin on Thu, 10/22/2015 - 23:44
SOAP message handlers enable Web Services and clients to perform additional processing on the SOAP message request or response, by intercepting the SOAP message in both the request and response of the Web Service.
SOAP handlers and logical handlers
Submitted by heartin on Wed, 10/21/2015 - 20:55
The Spring MVC framework provides model-view-controller architecture and also provides many components that can be used to develop web applications.
Submitted by heartin on Wed, 10/21/2015 - 16:23
We will see a simple example to illustrate the LAZY and EAGER Fetch in Hibernate.
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 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
Submitted by heartin on Mon, 10/19/2015 - 10:00
Installing and configuring Glassfish application server
Deploying web services in Glassfish application server.
Top down web service development example.
Examples for other Message Exchange Patterns.
Examples for different ways to import or link XSD to WSDL.
Notes on simple types and complex types in XSDs
Notes in content type headers.
Examples for DOM, SAX and StaX parsing
More about webservices.xml
Submitted by heartin on Sun, 10/18/2015 - 04:57
A web container like tomcat can deploy servlets, jsps and web services.
Important points about deploying bottum up web services in Tomcat