Sunday, 21 February 2021

1.4 Java Web Services

 JAX-RS Annotation@PathThe @Path annotation is used to specify the URI through which a resource and an API can be accessed. Resource in this case is the REST Web service itself. @Path("/").@Path("/message") public class MessageReceiveService {@Path("/birthday")    public Response printBdayMessage(){@GET - If service method is returning data based on client request.@POST - If you want...
Read More »

Wednesday, 17 February 2021

1.3 Web Services - JAX-WS

 JAX-WS - It is a specification (API - contain set of interfaces)It is having some AnnotationsNOTE : Recommended approach is create interface and then implementation service classIn interfaces and implementation all three annotations are mandatory1. @WebService    This is mandatory annotation in I+C    ExampleThree optional properties are thereserviceName - default value will...
Read More »

Tuesday, 16 February 2021

1.2 Web Services - JAX RPC API - AXIS1 Implementation

NOTE : It doesn't support collection type methods STEPS TO CREATE WEB SERVICE IN ECLIPSESTEPS TO CREATE CLI...
Read More »

Monday, 15 February 2021

1.1 WEB SEVICES - SUMMARY

 What is Web Services - Sharing information between two application on internet is know as web services.There are other options to share information1. Socket Programming (Both App should be in java)2. RMI - Remote Method Invocation (Both App should be in java)3. EJB - Session beans and entity beans (Both App should be in java)4. RPC - Remote Procedure Call (Both App should be in CPP)5. CORBA...
Read More »
Page 1 of 23123...23Next »Last