Monday, 24 May 2021

Lambda Expression in Java 8

Lambda ExpressionLambda calculus was the big change in Mathematical world which came in 1930s. Because of this programmers also started using it. LISP is the 1st lang where lambda expressions came first. Apart form LISP, C, CPP, PYTHON, SCALA, RUBBY, Objective CAdvantages To enable functional programming in java To write more readable, maintainable and concise code To use APIs very easily and effectively. To...
Read More »

Monday, 17 May 2021

10.0 Collection Framework in Java

Collection FrameworkWhy there is need of collection framework ? Limitation of Array : 1. Fixed in Size - If we give less size then we can't expand it at run time, If we give more space then unused space will be of no use.2. They are Homogeneous in type, we can only store similar type of data into an Array.3. There is underlying data structure behind this as a result of there is no additional...
Read More »

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 »

Wednesday, 7 March 2018

1.0 WEB SEVICES

Web service is a technology to communicate with different programming languages (Interchangeability) Web service is a client server application for communication between applications. There are two types of web services  SOAP RESTful Web Service Components SOAP (Simple Object Access Protocol) - XML based WSDL (Web Service Description Language) - WSDL is a xml document containing...
Read More »

Tuesday, 6 March 2018

24.0 Hibernate One-to-One Mapping

One-to-One mapping Concept of Primary key and Foreign Key Create the tables in you database ONE TO ONE UNI-DIRECTIONAL Cascade Save Example -------------------------------------------------------------------------------------------- Instructor.java -------------------------------------------------------------------------------------------- package...
Read More »
Page 1 of 23123...23Next »Last