SlideShare a Scribd company logo
Developing a Web Service Using JAX-RPC API


Pre-assessment Questions
    1.   Identify the false statement regarding   the JAX-RPC.
         a)   Web services created in JAX-RPC     are interoperable.
         b) Web services created in JAX-RPC       are portable.
         c)   Web services created in JAX-RPC     uses SOAP protocol.
         d) Web services created in JAX-RPC       can only be called by the clients
              created in J2EE platform.




 ©NIIT                   XML and Web Services                  Lesson 2B / Slide 1 of 16
Developing a Web Service Using JAX-RPC API


Pre-assessment Questions (Contd.)
    2. Which   option specifies the data types supported by JAX-RPC?
        a)      int, float, boolean
        b)      float, char, boolean
        c)      char, int, float
        d)      long, double, char




 ©NIIT                     XML and Web Services              Lesson 2B / Slide 2 of 16
Developing a Web Service Using JAX-RPC API


Pre-assessment Questions (Contd.)
    3. Consider the following statements
             Statement A: To create a WSDL file, the Web service configuration file
               specifies the Web service endpoint interface.
             Statement B: To create a WSDL file the Web service configuration file
               specifies the name of the Web service implementation class.
        Identify the correct option.
          a)   Both, statements A and B are true
          b) Both, statements A and B are false
          c)   Statement A is true while B is false
          d) Statement A is false while B is true




 ©NIIT                    XML and Web Services               Lesson 2B / Slide 3 of 16
Developing a Web Service Using JAX-RPC API


Pre-assessment Questions (Contd.)
    4. The ___________defines a Web service and is published in a Web service
         registry.
         a)   Endpoint interface of Web service
         b) WSDL file of Web service
         c)   Implementation class of Web service
         d) Configuration file of Web service




 ©NIIT                  XML and Web Services              Lesson 2B / Slide 4 of 16
Developing a Web Service Using JAX-RPC API


Pre-assessment Questions (Contd.)
    5. Identify the correct option regarding the packaging of a Web service for
         deployment in the J2EE application server.
         a)    A Web service is packaged in a WAR file.
         b) A Web service is packaged in a JAR file.
         c)    A Web service is packaged in a EAR file.
         d) A Web service is directly deployed, therefore no packaging is required.




 ©NIIT                   XML and Web Services              Lesson 2B / Slide 5 of 16
Developing a Web Service Using JAX-RPC API


Solutions to Pre-assessment
Questions
    •    d. Web services created in JAX-RPC can only be called by the clients created
         in J2EE platform.
    •    a. int, float, boolean
    •    c. Statement A is true while B is false
    •    b. WSDL file of Web service
    •    a. A Web service is packaged in a WAR file.




 ©NIIT                   XML and Web Services               Lesson 2B / Slide 6 of 16
Developing a Web Service Using JAX-RPC API


Objectives

    In this lesson, you will learn about:


    •    Implementing the JAX RPC Web Service and Web Clients




 ©NIIT                    XML and Web Services            Lesson 2B / Slide 7 of 16
Developing a Web Service Using JAX-RPC API


Demonstration-Implementing a JAX-
RPC Web Service

    •    Problem Statement


          •   John, an employee of ABC Inc., wants to inform his colleagues
              about the personality traits of their zodiac sign. However, the
              employees of ABC Inc work on different types of operating
              systems. To achieve platform independency, John will create a
              Web service horoscope application, which can be accessed by
              different types of clients to display sun sign traits.




 ©NIIT                    XML and Web Services            Lesson 2B / Slide 8 of 16
Developing a Web Service Using JAX-RPC API


Demonstration-Implementing a JAX-
  RPC Web Service (Contd.)

    •    Solution


         •   To solve the given problem, perform the following tasks:
             1. Create a horoscope Web service.
             2. Create a standalone client that uses static stub to access
                 the Web service.
             3. Create a J2EE Web client to access the Web service.




 ©NIIT                 XML and Web Services           Lesson 2B / Slide 9 of 16
Developing a Web Service Using JAX-RPC API


Demonstration-Implementing a JAX-
  RPC Web Service (Contd.)
    •    Solution (Contd.)

         1.   Create a horoscope Web service.
              •   Create a horoscope Web service endpoint interface.
              •   Create an implementation class for the horoscope Web
                  service endpoint interface.
              •   Compile the horoscope Web service end point interface and
                  the implementation class.
              •   Create a configuration file.
              •   Generate the WSDL and mapping files.
              •   Package the horoscope Web service.
              •   Configure the horoscope Web service.
              •   Deploy the horoscope Web service.
 ©NIIT                  XML and Web Services         Lesson 2B / Slide 10 of 16
Developing a Web Service Using JAX-RPC API


Demonstration-Implementing a JAX-
  RPC Web Service (Contd.)
    •    Solution (Contd.)

         1.   Create a standalone client that uses static stub to access the
              Web service.
              a.  Create a static stub client.
              b.  Create a configuration file.
              c.  Generate the necessary runtime class files.
              d.  Compile the static stub client.
              e.  Run the static stub client.




 ©NIIT                  XML and Web Services            Lesson 2B / Slide 11 of 16
Developing a Web Service Using JAX-RPC API


Demonstration-Implementing a JAX-
  RPC Web Service (Contd.)
    •    Solution (Contd.)

         1.   Create a J2EE Web client to access the Web service.
              a.  Create an HTML page.
              b.  Create a J2EE Web client.
              c.  Create a configuration file.
              d.  Generate the necessary runtime class files.
              e.  Compile the J2EE Web client.
              f.  Package the J2EE Web client.
              g.  Deploy the J2EE Web client.
              h. Access the horoscope Web service using J2EE Web client.



 ©NIIT                 XML and Web Services         Lesson 2B / Slide 12 of 16
Developing a Web Service Using JAX-RPC API


Practice-Implementing a JAX-RPC
  Web Service using Static Stub
    •    Problem Statement


         •   Create a temperature converter Java Web service application
             that converts temperature from Celsius to Fahrenheit. You also
             need to create a standalone client that uses static stub to access
             the Web service. The client accepts the temperature value from
             a user that needs to be converted through the command prompt.




 ©NIIT                 XML and Web Services           Lesson 2B / Slide 13 of 16
Developing a Web Service Using JAX-RPC API


Summary

    In this lesson, you learned:


    •    While developing a Web Service, the following tasks are performed:
         • Create a horoscope Web service endpoint interface.
         • Create an implementation class for the horoscope Web service endpoint
              interface.
         • Compile the horoscope Web service end point interface and the
              implementation class.
         • Create a configuration file.
         • Generate the WSDL and mapping files.
         • Package the horoscope Web service.



 ©NIIT                    XML and Web Services         Lesson 2B / Slide 14 of 16
Developing a Web Service Using JAX-RPC API


Summary (Contd.)

    •    To create a standalone client that uses static stub to access the Web service,
         the following tasks are performed:
         • Create a static stub client.
         • Create a configuration file.
         • Generate the necessary runtime class files.
         • Compile the static stub client.




 ©NIIT                    XML and Web Services              Lesson 2B / Slide 15 of 16
Developing a Web Service Using JAX-RPC API


Summary (Contd.)
         •   To create a J2EE Web client to access the Web service, the following
             tasks are performed:
             • Create an HTML page.
             • Create a J2EE Web client.
             • Create a configuration file.
             • Generate the necessary run-time class files.
             • Compile the J2EE Web client.
             • Package the J2EE Web client.




 ©NIIT                  XML and Web Services              Lesson 2B / Slide 16 of 16

More Related Content

Viewers also liked

Aae oop xp_13
Aae oop xp_13Aae oop xp_13
Aae oop xp_13
Niit Care
 
Vb.net session 05
Vb.net session 05Vb.net session 05
Vb.net session 05
Niit Care
 
09 asp.net session13
09 asp.net session1309 asp.net session13
09 asp.net session13
Niit Care
 
Deawsj 7 ppt-1_a
Deawsj 7 ppt-1_aDeawsj 7 ppt-1_a
Deawsj 7 ppt-1_a
Niit Care
 
Comp tia a+_session_05
Comp tia a+_session_05Comp tia a+_session_05
Comp tia a+_session_05
Niit Care
 
Vb.net session 09
Vb.net session 09Vb.net session 09
Vb.net session 09
Niit Care
 
15 ooad uml-20
15 ooad uml-2015 ooad uml-20
15 ooad uml-20
Niit Care
 
Vb.net session 16
Vb.net session 16Vb.net session 16
Vb.net session 16
Niit Care
 
Vb.net session 06
Vb.net session 06Vb.net session 06
Vb.net session 06
Niit Care
 
Deawsj 7 ppt-1_b
Deawsj 7 ppt-1_bDeawsj 7 ppt-1_b
Deawsj 7 ppt-1_b
Niit Care
 
Dacj 1-1 c
Dacj 1-1 cDacj 1-1 c
Dacj 1-1 c
Niit Care
 
Deawsj 7 ppt-2_a
Deawsj 7 ppt-2_aDeawsj 7 ppt-2_a
Deawsj 7 ppt-2_a
Niit Care
 
Jaxrpc 1 1 Fr Spec
Jaxrpc 1 1 Fr SpecJaxrpc 1 1 Fr Spec
Jaxrpc 1 1 Fr Spec
guest021f78
 
Vb net xp_09
Vb net xp_09Vb net xp_09
Vb net xp_09
Niit Care
 
Vb.net session 01
Vb.net session 01Vb.net session 01
Vb.net session 01
Niit Care
 
Vb.net session 02
Vb.net session 02Vb.net session 02
Vb.net session 02
Niit Care
 
Vb.net session 03
Vb.net session 03Vb.net session 03
Vb.net session 03
Niit Care
 
Vb.net session 04
Vb.net session 04Vb.net session 04
Vb.net session 04
Niit Care
 
Comp tia n+_session_11
Comp tia n+_session_11Comp tia n+_session_11
Comp tia n+_session_11
Niit Care
 
Java API for XML Web Services (JAX-WS)
Java API for XML Web Services (JAX-WS)Java API for XML Web Services (JAX-WS)
Java API for XML Web Services (JAX-WS)
Peter R. Egli
 

Viewers also liked (20)

Aae oop xp_13
Aae oop xp_13Aae oop xp_13
Aae oop xp_13
 
Vb.net session 05
Vb.net session 05Vb.net session 05
Vb.net session 05
 
09 asp.net session13
09 asp.net session1309 asp.net session13
09 asp.net session13
 
Deawsj 7 ppt-1_a
Deawsj 7 ppt-1_aDeawsj 7 ppt-1_a
Deawsj 7 ppt-1_a
 
Comp tia a+_session_05
Comp tia a+_session_05Comp tia a+_session_05
Comp tia a+_session_05
 
Vb.net session 09
Vb.net session 09Vb.net session 09
Vb.net session 09
 
15 ooad uml-20
15 ooad uml-2015 ooad uml-20
15 ooad uml-20
 
Vb.net session 16
Vb.net session 16Vb.net session 16
Vb.net session 16
 
Vb.net session 06
Vb.net session 06Vb.net session 06
Vb.net session 06
 
Deawsj 7 ppt-1_b
Deawsj 7 ppt-1_bDeawsj 7 ppt-1_b
Deawsj 7 ppt-1_b
 
Dacj 1-1 c
Dacj 1-1 cDacj 1-1 c
Dacj 1-1 c
 
Deawsj 7 ppt-2_a
Deawsj 7 ppt-2_aDeawsj 7 ppt-2_a
Deawsj 7 ppt-2_a
 
Jaxrpc 1 1 Fr Spec
Jaxrpc 1 1 Fr SpecJaxrpc 1 1 Fr Spec
Jaxrpc 1 1 Fr Spec
 
Vb net xp_09
Vb net xp_09Vb net xp_09
Vb net xp_09
 
Vb.net session 01
Vb.net session 01Vb.net session 01
Vb.net session 01
 
Vb.net session 02
Vb.net session 02Vb.net session 02
Vb.net session 02
 
Vb.net session 03
Vb.net session 03Vb.net session 03
Vb.net session 03
 
Vb.net session 04
Vb.net session 04Vb.net session 04
Vb.net session 04
 
Comp tia n+_session_11
Comp tia n+_session_11Comp tia n+_session_11
Comp tia n+_session_11
 
Java API for XML Web Services (JAX-WS)
Java API for XML Web Services (JAX-WS)Java API for XML Web Services (JAX-WS)
Java API for XML Web Services (JAX-WS)
 

Similar to Deawsj 7 ppt-2_b

Mini-Training Owin Katana
Mini-Training Owin KatanaMini-Training Owin Katana
Mini-Training Owin Katana
Betclic Everest Group Tech Team
 
Vaadin - Rich Web Applications in Server-side Java without Plug-ins or JavaSc...
Vaadin - Rich Web Applications in Server-side Java without Plug-ins or JavaSc...Vaadin - Rich Web Applications in Server-side Java without Plug-ins or JavaSc...
Vaadin - Rich Web Applications in Server-side Java without Plug-ins or JavaSc...
Joonas Lehtinen
 
Windows Server 2008 R2 Dev Session 03
Windows Server 2008 R2 Dev Session 03Windows Server 2008 R2 Dev Session 03
Windows Server 2008 R2 Dev Session 03
Clint Edmonson
 
Welcome to Web Services
Welcome to Web ServicesWelcome to Web Services
Welcome to Web Services
Shivinder Kaur
 
Android chapter18 c-internet-web-services
Android chapter18 c-internet-web-servicesAndroid chapter18 c-internet-web-services
Android chapter18 c-internet-web-services
Aravindharamanan S
 
Performance and Scalability Art of Isomorphic React Applications
Performance and Scalability Art of Isomorphic React ApplicationsPerformance and Scalability Art of Isomorphic React Applications
Performance and Scalability Art of Isomorphic React Applications
Denis Izmaylov
 
Philly Tech Fest Iis
Philly Tech Fest IisPhilly Tech Fest Iis
Web-Socket
Web-SocketWeb-Socket
Building Web Services
Building Web ServicesBuilding Web Services
Building Web Services
Jussi Pohjolainen
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015
Bluegrass Digital
 
Overview of SignalR
Overview of SignalROverview of SignalR
Overview of SignalR
Amit Naik
 
MichaelReilly_Resume
MichaelReilly_ResumeMichaelReilly_Resume
MichaelReilly_Resume
Michael Reilly
 
The next step from Microsoft - Vnext (Srdjan Poznic)
The next step from Microsoft - Vnext (Srdjan Poznic)The next step from Microsoft - Vnext (Srdjan Poznic)
The next step from Microsoft - Vnext (Srdjan Poznic)
Geekstone
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
Anup72
 
Building dynamic applications with the share point client object model
Building dynamic applications with the share point client object modelBuilding dynamic applications with the share point client object model
Building dynamic applications with the share point client object model
Eric Shupps
 
Moving to the Client - JavaFX and HTML5
Moving to the Client - JavaFX and HTML5Moving to the Client - JavaFX and HTML5
Moving to the Client - JavaFX and HTML5
Stephen Chin
 
Bkresume
BkresumeBkresume
Bkresume
briank4
 
Project Presentation on Advance Java
Project Presentation on Advance JavaProject Presentation on Advance Java
Project Presentation on Advance Java
Vikas Goyal
 
Guides To Analyzing WebKit Performance
Guides To Analyzing WebKit PerformanceGuides To Analyzing WebKit Performance
Guides To Analyzing WebKit Performance
National Cheng Kung University
 
SoapUI Training in Bangalore
SoapUI Training in BangaloreSoapUI Training in Bangalore
SoapUI Training in Bangalore
TIB Academy
 

Similar to Deawsj 7 ppt-2_b (20)

Mini-Training Owin Katana
Mini-Training Owin KatanaMini-Training Owin Katana
Mini-Training Owin Katana
 
Vaadin - Rich Web Applications in Server-side Java without Plug-ins or JavaSc...
Vaadin - Rich Web Applications in Server-side Java without Plug-ins or JavaSc...Vaadin - Rich Web Applications in Server-side Java without Plug-ins or JavaSc...
Vaadin - Rich Web Applications in Server-side Java without Plug-ins or JavaSc...
 
Windows Server 2008 R2 Dev Session 03
Windows Server 2008 R2 Dev Session 03Windows Server 2008 R2 Dev Session 03
Windows Server 2008 R2 Dev Session 03
 
Welcome to Web Services
Welcome to Web ServicesWelcome to Web Services
Welcome to Web Services
 
Android chapter18 c-internet-web-services
Android chapter18 c-internet-web-servicesAndroid chapter18 c-internet-web-services
Android chapter18 c-internet-web-services
 
Performance and Scalability Art of Isomorphic React Applications
Performance and Scalability Art of Isomorphic React ApplicationsPerformance and Scalability Art of Isomorphic React Applications
Performance and Scalability Art of Isomorphic React Applications
 
Philly Tech Fest Iis
Philly Tech Fest IisPhilly Tech Fest Iis
Philly Tech Fest Iis
 
Web-Socket
Web-SocketWeb-Socket
Web-Socket
 
Building Web Services
Building Web ServicesBuilding Web Services
Building Web Services
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015
 
Overview of SignalR
Overview of SignalROverview of SignalR
Overview of SignalR
 
MichaelReilly_Resume
MichaelReilly_ResumeMichaelReilly_Resume
MichaelReilly_Resume
 
The next step from Microsoft - Vnext (Srdjan Poznic)
The next step from Microsoft - Vnext (Srdjan Poznic)The next step from Microsoft - Vnext (Srdjan Poznic)
The next step from Microsoft - Vnext (Srdjan Poznic)
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 
Building dynamic applications with the share point client object model
Building dynamic applications with the share point client object modelBuilding dynamic applications with the share point client object model
Building dynamic applications with the share point client object model
 
Moving to the Client - JavaFX and HTML5
Moving to the Client - JavaFX and HTML5Moving to the Client - JavaFX and HTML5
Moving to the Client - JavaFX and HTML5
 
Bkresume
BkresumeBkresume
Bkresume
 
Project Presentation on Advance Java
Project Presentation on Advance JavaProject Presentation on Advance Java
Project Presentation on Advance Java
 
Guides To Analyzing WebKit Performance
Guides To Analyzing WebKit PerformanceGuides To Analyzing WebKit Performance
Guides To Analyzing WebKit Performance
 
SoapUI Training in Bangalore
SoapUI Training in BangaloreSoapUI Training in Bangalore
SoapUI Training in Bangalore
 

More from Niit Care

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
Niit Care
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
Niit Care
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
Niit Care
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
Niit Care
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
Niit Care
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
Niit Care
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
Niit Care
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
Niit Care
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
Niit Care
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
Niit Care
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
Niit Care
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
Niit Care
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
Niit Care
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
Niit Care
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
Niit Care
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
Niit Care
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
Niit Care
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
Niit Care
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
Niit Care
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
Niit Care
 

More from Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 

Recently uploaded

Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
christinelarrosa
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
LizaNolte
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
Fwdays
 

Recently uploaded (20)

Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
 

Deawsj 7 ppt-2_b

  • 1. Developing a Web Service Using JAX-RPC API Pre-assessment Questions 1. Identify the false statement regarding the JAX-RPC. a) Web services created in JAX-RPC are interoperable. b) Web services created in JAX-RPC are portable. c) Web services created in JAX-RPC uses SOAP protocol. d) Web services created in JAX-RPC can only be called by the clients created in J2EE platform. ©NIIT XML and Web Services Lesson 2B / Slide 1 of 16
  • 2. Developing a Web Service Using JAX-RPC API Pre-assessment Questions (Contd.) 2. Which option specifies the data types supported by JAX-RPC? a) int, float, boolean b) float, char, boolean c) char, int, float d) long, double, char ©NIIT XML and Web Services Lesson 2B / Slide 2 of 16
  • 3. Developing a Web Service Using JAX-RPC API Pre-assessment Questions (Contd.) 3. Consider the following statements Statement A: To create a WSDL file, the Web service configuration file specifies the Web service endpoint interface. Statement B: To create a WSDL file the Web service configuration file specifies the name of the Web service implementation class. Identify the correct option. a) Both, statements A and B are true b) Both, statements A and B are false c) Statement A is true while B is false d) Statement A is false while B is true ©NIIT XML and Web Services Lesson 2B / Slide 3 of 16
  • 4. Developing a Web Service Using JAX-RPC API Pre-assessment Questions (Contd.) 4. The ___________defines a Web service and is published in a Web service registry. a) Endpoint interface of Web service b) WSDL file of Web service c) Implementation class of Web service d) Configuration file of Web service ©NIIT XML and Web Services Lesson 2B / Slide 4 of 16
  • 5. Developing a Web Service Using JAX-RPC API Pre-assessment Questions (Contd.) 5. Identify the correct option regarding the packaging of a Web service for deployment in the J2EE application server. a) A Web service is packaged in a WAR file. b) A Web service is packaged in a JAR file. c) A Web service is packaged in a EAR file. d) A Web service is directly deployed, therefore no packaging is required. ©NIIT XML and Web Services Lesson 2B / Slide 5 of 16
  • 6. Developing a Web Service Using JAX-RPC API Solutions to Pre-assessment Questions • d. Web services created in JAX-RPC can only be called by the clients created in J2EE platform. • a. int, float, boolean • c. Statement A is true while B is false • b. WSDL file of Web service • a. A Web service is packaged in a WAR file. ©NIIT XML and Web Services Lesson 2B / Slide 6 of 16
  • 7. Developing a Web Service Using JAX-RPC API Objectives In this lesson, you will learn about: • Implementing the JAX RPC Web Service and Web Clients ©NIIT XML and Web Services Lesson 2B / Slide 7 of 16
  • 8. Developing a Web Service Using JAX-RPC API Demonstration-Implementing a JAX- RPC Web Service • Problem Statement • John, an employee of ABC Inc., wants to inform his colleagues about the personality traits of their zodiac sign. However, the employees of ABC Inc work on different types of operating systems. To achieve platform independency, John will create a Web service horoscope application, which can be accessed by different types of clients to display sun sign traits. ©NIIT XML and Web Services Lesson 2B / Slide 8 of 16
  • 9. Developing a Web Service Using JAX-RPC API Demonstration-Implementing a JAX- RPC Web Service (Contd.) • Solution • To solve the given problem, perform the following tasks: 1. Create a horoscope Web service. 2. Create a standalone client that uses static stub to access the Web service. 3. Create a J2EE Web client to access the Web service. ©NIIT XML and Web Services Lesson 2B / Slide 9 of 16
  • 10. Developing a Web Service Using JAX-RPC API Demonstration-Implementing a JAX- RPC Web Service (Contd.) • Solution (Contd.) 1. Create a horoscope Web service. • Create a horoscope Web service endpoint interface. • Create an implementation class for the horoscope Web service endpoint interface. • Compile the horoscope Web service end point interface and the implementation class. • Create a configuration file. • Generate the WSDL and mapping files. • Package the horoscope Web service. • Configure the horoscope Web service. • Deploy the horoscope Web service. ©NIIT XML and Web Services Lesson 2B / Slide 10 of 16
  • 11. Developing a Web Service Using JAX-RPC API Demonstration-Implementing a JAX- RPC Web Service (Contd.) • Solution (Contd.) 1. Create a standalone client that uses static stub to access the Web service. a. Create a static stub client. b. Create a configuration file. c. Generate the necessary runtime class files. d. Compile the static stub client. e. Run the static stub client. ©NIIT XML and Web Services Lesson 2B / Slide 11 of 16
  • 12. Developing a Web Service Using JAX-RPC API Demonstration-Implementing a JAX- RPC Web Service (Contd.) • Solution (Contd.) 1. Create a J2EE Web client to access the Web service. a. Create an HTML page. b. Create a J2EE Web client. c. Create a configuration file. d. Generate the necessary runtime class files. e. Compile the J2EE Web client. f. Package the J2EE Web client. g. Deploy the J2EE Web client. h. Access the horoscope Web service using J2EE Web client. ©NIIT XML and Web Services Lesson 2B / Slide 12 of 16
  • 13. Developing a Web Service Using JAX-RPC API Practice-Implementing a JAX-RPC Web Service using Static Stub • Problem Statement • Create a temperature converter Java Web service application that converts temperature from Celsius to Fahrenheit. You also need to create a standalone client that uses static stub to access the Web service. The client accepts the temperature value from a user that needs to be converted through the command prompt. ©NIIT XML and Web Services Lesson 2B / Slide 13 of 16
  • 14. Developing a Web Service Using JAX-RPC API Summary In this lesson, you learned: • While developing a Web Service, the following tasks are performed: • Create a horoscope Web service endpoint interface. • Create an implementation class for the horoscope Web service endpoint interface. • Compile the horoscope Web service end point interface and the implementation class. • Create a configuration file. • Generate the WSDL and mapping files. • Package the horoscope Web service. ©NIIT XML and Web Services Lesson 2B / Slide 14 of 16
  • 15. Developing a Web Service Using JAX-RPC API Summary (Contd.) • To create a standalone client that uses static stub to access the Web service, the following tasks are performed: • Create a static stub client. • Create a configuration file. • Generate the necessary runtime class files. • Compile the static stub client. ©NIIT XML and Web Services Lesson 2B / Slide 15 of 16
  • 16. Developing a Web Service Using JAX-RPC API Summary (Contd.) • To create a J2EE Web client to access the Web service, the following tasks are performed: • Create an HTML page. • Create a J2EE Web client. • Create a configuration file. • Generate the necessary run-time class files. • Compile the J2EE Web client. • Package the J2EE Web client. ©NIIT XML and Web Services Lesson 2B / Slide 16 of 16