SLIDE 29 Java Web Services, Software Park Thailand, 2004
- Dr. Kanda Runapongsa, Khon Kaen University
29
57
Java and Web Services Java and Web Services
- Web Services are built on industry specifications with
Web Services are built on industry specifications with the following goals: the following goals:
- language and vendor independent
language and vendor independent
- facilitate collaboration between applications as well as
facilitate collaboration between applications as well as information exchange information exchange
- The Java platform is also built on industry
The Java platform is also built on industry specifications and has similar goals: specifications and has similar goals:
platform independency (“ “Write Once Run Anywhere Write Once Run Anywhere” ”? ? ) )
vendor neutrality
- extensibility, integration, and simplified connectivity
extensibility, integration, and simplified connectivity
As a vendor-
neutral, platform-
independent language, Java is perfect for implementing web service Java is perfect for implementing web service applications applications
58
.NET or J2EE? .NET or J2EE?
.NET
NET
✁ ✁
Allows the use of multiple Allows the use of multiple programming languages programming languages
✁ ✁
Delivers a lot of easy to assemble Delivers a lot of easy to assemble “ “out
the-
box” ” functionality functionality
✁ ✁
Provides a familiar GUI Provides a familiar GUI environment environment
✁ ✁
Provides a familiar GUI Provides a familiar GUI environment environment
✁ ✁
Restricted to MS Windows Restricted to MS Windows platform for the foreseeable future platform for the foreseeable future
✁ ✁
Developers are limited in terms of Developers are limited in terms of system design and data exchange system design and data exchange models models
J2EE
✁ ✁
Cross Cross-
platform and cross-
vendor
✁ ✁
Provides a wealth of choices for Provides a wealth of choices for IDE IDE’ ’s, application servers, XML s, application servers, XML parsers, SOAP engines, messaging parsers, SOAP engines, messaging platforms, etc. platforms, etc.
✁ ✁
Allows developer flexibility in Allows developer flexibility in terms of design and data exchange terms of design and data exchange models models
✁ ✁
Development of Web Services is Development of Web Services is
- ften complex
- ften complex
✁ ✁
Development is restricted to Java Development is restricted to Java language or CORBA language or CORBA
✁ ✁
Flexibility can be overwhelming Flexibility can be overwhelming