Goals
- To be able to easily access the databases with Java
- To create a maintainable and efficient persistence structure
- To be able to use existing private or public web services
- To know how to create, set up and declare Web services in java
Program
History and versions
Installation and handling of the environment
Reminders: JEE (J2EE), servlets, SQL, JDBC
Principle of data access (ORM)
Correspondences between base and Java; site configuration and
Hibernate tools for web applications and heavy applications
Adding and reading any data
The relational structure: configuration and use
Practical workshop: a CMS with MySQL, Hibernate, servlets and JSP
Configuration or SQL generation tools
Handling of DataSources
Use in the case study
Full use of the Hibernate Query Language
Increase of the case study with free searches and filtering
Advanced configuration: performance and functionalities
Transactions, balance sheet of concurrency
Inheritance of tables and objects
Practical workshop: example of inheritance – a management mini-application
Presentation of web services Web
services and SOA
Advantages
Standards
Web service platforms
List of Java APIs
Reminders of fundamental concepts: Prolog, elements and attributes, namespaces
Schemas (XSD)
XML parsers: SAX, DOM
Push parsing and pull parsing (StAX)
Java API’s for parsing and XML
Mapping xml-object transformation
SOAP (SIMPLE OBJECT ACCESS PROTOCOL)
– Operating principle
– SOAP RPC
– SOAP messages: structure and scope
– Encoding / Serialization of data (document / literal or RPC / encoded)
– SOAP via HTTP
– Error returns (faults)
WSDL (WEB SERVICE DESCRIPTION LANGUAGE)
– Operating principle
– Structure of a WSDL file
Development platforms
Choice of implementation: Axis, CXF, JBossWS, Metro …
JAX-RPC (JAVA API FOR XML RPC)
– Presentation
– Creation and deployment of web services
– Invocation of a web service (static and dynamic)
JAX-WS 2
– Presentation
– Service implementation (use of annotations)
– Deployment (on a SOAP engine or in standalone)
– Client creation
SAAJ (SOAP WITH ATTACHMENT API FOR JAVA)
– Presentation
– Building SOAP messages
– Attaching parts to a SOAP message
– Managing attachments on the server side
– SOAP
handlers – Implementing handlers on the client side and on the server side
JAXM (Java API for XML Messaging)
– Presentation
– Sample application
Presentation – Available directories
JAXR API (Java API for Xml Registries)
– Connection to a directory service
– Finding a web service
– Registering a web service
Other alternatives: ebXML
Frameworks available for the implementation of a web service ‘phone book
Threats and concerns
Interaction levels (transport, messages, application)
JEE security mechanisms: mapping, authentication
Message security (Standards):
– WS-Security
– WS-Trust
– WS-Policy
– WS-Secure Conversation
– WS-Security Policy
– XML Digital Signatures
– XML Encryption
– SAML
Duration
5 days
Price
£ 2785
Audience
Java / JEE Developers – Project Managers
Prerequisites
Knowledge of Java and Servlets – Basic web programming
Reference
JAV566-F
Sessions
Contact us for more informations about session date