Download for FREE in 4 easy steps...
This is a Premium eBook - get it free for 30 days
You can also read this in Bookboon.com Premium
This book leads you through a journey of developing your first web service application to more complex multitier enterprise application.
300+ Business books exclusively in our Premium eReader
- No adverts
- Advanced features
- Personal library
Users who viewed this item also viewed
Java: Classes in Java Applications - An Introduction to Java Programming
Java: Graphical User Interfaces - An Introduction to Java Programming
Java: The Fundamentals of Objects and Classes - An Introduction to Java Programming
Object Oriented Programming using Java
SQL: A Comparative Survey
Structured Programming with C++
Mathematics for Computer Scientists
An Introduction to Relational Database Theory
About the book
The concept of a web service is rather simple; however, the implementation often faces many challenges from the technical aspects to the overall strategy of a business. This book places the emphasis on the technical implementation and technical challenges of a web service from the field. The book leads you through a journey of developing your first web service application to more complex multitier enterprise application. The examples include the use of commercially available software product such as Oracle Fusion Middleware and open source from the Apache Foundation. Through this journey, you will be able to understand and master a process that enable you to incorporate sound techniques to your web service application.
This book, which is based on lectures I provided at Trident University International, focuses more on the details of a hands-on approach to Web Service programming than its specifications; however, in order to help readers grasp the concept more easily, we provide a brief introduction to Web Service, SOAP, and WSDL in the first three chapters. Many details of the specifications are intentionally glossed over, however, so that the content remains manageable.
Web Service (WS) is a technology, process, and software paradigm that provides support for business integrations mainly over an Internet-based environment. This book presents basic concepts of WS, protocol stack, and applications. In addition to studying the three supporting standards SOAP, WSDL, and UDDI, students will learn how to implement WS using Java-centric technologies such as JAXP, JAXRPC, SAAJ, and JAXB. Students will also study how business processes can be implemented using WS via BPEL.
WS is a software application identified by a URI whose interfaces and binding are capable of being defined, described, and discovered by XML artifacts, and it supports direct interactions with other software applications using XML-based messages via Internet-based protocols (W3C: http:// www.w3.org/TR/ws-desc-reqs). WS is mainly for machine-to-machine communication. The WS standard relies on other standards – namely, SOAP, WSDL, and UDDI – to function efficiently. SOAP is an application protocol that is used to transmit messages between a WS client and a WS server. HTTP is the transport protocol of choice for SOAP; however, JMS and SMTP protocols have also been used. WSDL is used to describe the service that an external application can call. UDDI is used to publish and advertise services so that they can found and used by others. UDDI also uses SOAP as its application protocol.
The book focuses on the working mechanism of WS with a hands-on programming exercise using a basic Java WS framework. This framework works on a standalone Java application, an Oracle WebLogic Server (WLS), and an Apache Tomcat server. Thus, readers are expected to have sufficient knowledge of Java and XML.
List of Figures
Table of Listings
Table of Tables
- Browsing the Internet
- Web Service architecture
- Benefits of Web Services
- Program a HelloWorld Web Service
- Host a Web Service
- Verify a Web Service
- Test a Web Service with SOAPUI
- Create a Web Service Client
- Run a Web Service Client
- Examples of SOAP messages
- Mapping SOAP to HTTP
- SAAJ Client
- Web Service Description Language (WSDL)
- WSDL structure
- WSDL Interface
- WSDL Implementation
- A Sample Web Service Application
- A Sample application
- Develop a Web Service
- Deploy Web Services
- Check WSDL and XSD
- Test Web Services with SOAPUI
- Develope a Web Service Consumer
- Apache CXF and Tomcat Server
- Configuration Parameters
- Apache Tomcat Server
- Develop CXF Web Service
- Deploy the Service
- Testing services with SOAPUI
- Develop a Web Service Consumer
- Apache CXF and Oracle WebLogic Server
- Oracle WebLogic Server 12
- Deployment Diagram
- Creating a WebLogic Domain
- Deploy the Web Service
- Test CXF Web Service with WebLogic Test Tools
- Run the Client Application
- Appendix A – Development Environment
- Install Java Development Kit (JDK) 6
- Install Eclipse Interactive Development Environment (IDE)
- Install MySQL Community Server Database
- Install Oracle Fusion Middleware Software
- Install Apache Tomcat server
- Apache CXF
- Install SOAPUI software
- Source Code
About the Author
Dr. Tran has over 30 years of experience in IT. His expertise includes IT software development, enterprise architect, service-oriented architecture, agile methodology and cyber security. He graduated from San Diego State University with a Bachelor of Science degree in Computer Sciences. He completed his graduate studies at George Washington University, Washington DC, in Computer Sciences. He earned his MBA degree in Management from the University of Baltimore, Maryland and a Ph.D. in Business Administration with a focus on IT Management from Trident University, California. Dr. Tran has been working on the field of IT for nearly three decades. He is a Certified ScrumMaster (CSM) and a SUN Certified Enterprise Architect (SCEA). Dr. Tran’s dissertation was about IT Governance, IT Strategies and Software Reuse Success.
The embed frame is free to use for private persons, universities and schools. It is not allowed to be used by any company for commercial purposes unless it is for media coverage. You may not modify, build upon, or block any portion or functionality of the embed frame, including but not limited to links back to the bookboon.com website.
The Embed frame may not be used as part of a commercial business offering. The embed frame is intended for private people who want to share eBooks on their website or blog, professors or teaching professionals who want to make an eBook available directly on their page, and media, journalists or bloggers who wants to discuss a given eBook
If you are in doubt about whether you can implement the embed frame, you are welcome to contact Thomas Buus Madsen on firstname.lastname@example.org and seek permission.